Genpact
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Clear (1)
I applied via Naukri.com and was interviewed in Jun 2024. There were 3 interview rounds.
List comprehension is a concise way to create lists in programming languages like Python.
List comprehension is a compact way to generate lists by applying an expression to each item in a sequence.
It is commonly used in Python and allows for more readable and efficient code.
Example: squares = [x**2 for x in range(10)] will create a list of squares of numbers from 0 to 9.
List is mutable, tuple is immutable in Python.
List can be modified after creation, tuple cannot.
List uses square brackets [], tuple uses parentheses ().
List is used for collections of items that may change, tuple for fixed collections.
Coding related to list comprehension and searching an item.
I applied via Walk-in and was interviewed before Oct 2019. There was 0 interview round.
I applied via Campus Placement and was interviewed before Jan 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed in Jul 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There was 1 interview round.
I was interviewed before Jun 2020.
To find the middle of an odd-length array, divide the length by 2 and round down.
Get the length of the array
Divide the length by 2 and round down
Return the element at the resulting index
The new operator is used to dynamically allocate memory for an object at runtime.
It returns a pointer to the newly allocated memory.
It can be used to allocate memory for built-in types, user-defined types, and arrays.
The syntax is: new type;
Example: int *ptr = new int;
Example: MyClass *obj = new MyClass();
I applied via Campus Placement and was interviewed before Sep 2020. There were 3 interview rounds.
based on 1 interview
Interview experience
Process Developer
36.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Process Associate
27.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
20k
salaries
| ₹0 L/yr - ₹0 L/yr |
Management Trainee
19.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Manager
7.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Accenture
Capgemini
TCS
Cognizant