i
CGI Group
Filter interviews by
Clear (1)
I applied via Naukri.com and was interviewed before Nov 2023. There were 3 interview rounds.
To reverse a linked list, iterate through the list and change the direction of pointers.
Start with three pointers: current, previous, and next
Iterate through the list, updating the pointers to reverse the direction
Update the head of the list to be the previous node after reaching the end
A constant pointer is a pointer that cannot be reassigned to point to a different memory location.
A constant pointer is declared using the 'const' keyword before the pointer type.
Once a constant pointer is assigned a memory address, it cannot be changed to point to a different address.
Example: const int *ptr; // ptr is a constant pointer to an integer
Producer-consumer problem involves synchronization between two processes sharing a common buffer.
Use a shared buffer to store data produced by the producer and consumed by the consumer
Implement synchronization mechanisms like mutex or semaphore to control access to the shared buffer
Producer adds data to the buffer and notifies the consumer, while consumer removes data and notifies the producer
List and Tuple bases, split string, remove spaces and special characters.
Use list comprehension to split string into individual characters
Use join() method to remove spaces and special characters
Convert the result back into a list or tuple
I know multiple programming and scripting languages.
Programming languages: Java, C++, Python, JavaScript
Scripting languages: Bash, PowerShell, Ruby
Examples: Java - used for building enterprise-level applications, Python - used for data analysis and machine learning
I am familiar with both object-oriented and functional programming paradigms
CGI Group interview questions for designations
Get interview-ready with Top CGI Group Interview Questions
I applied via Company Website and was interviewed before Jul 2023. There were 4 interview rounds.
SQL and Python Basic to Advance
I applied via Recruitment Consulltant and was interviewed before Aug 2022. There were 4 interview rounds.
Count the number of vowels in a given string using a hash map.
Create a hash map to store the count of each vowel (a, e, i, o, u) in the string.
Iterate through the string and update the count in the hash map for each vowel encountered.
Finally, sum up the counts of all vowels in the hash map to get the total number of vowels in the string.
I applied via Referral and was interviewed in Oct 2022. There were 3 interview rounds.
I applied via Referral and was interviewed before Jun 2023. There was 1 interview round.
Use SQL queries with ORDER BY and LIMIT to find nth and 3rd highest record.
Use ORDER BY column_name DESC to sort records in descending order
Use LIMIT 1 OFFSET n-1 to get the nth highest record
For 3rd highest record, use LIMIT 1 OFFSET 2
Top trending discussions
Some of the top questions asked at the CGI Group Senior Software Engineer interview -
The duration of CGI Group Senior Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 45 interviews
4 Interview rounds
based on 710 reviews
Rating in categories
4-6 Yrs
₹ 3.8-28 LPA
5-8 Yrs
₹ 3.5-30 LPA
Software Engineer
8.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
7.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Analyst
3.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Software Engineer
1.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Test Engineer
1.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech