i
Capgemini
Filter interviews by
Use bitwise AND operation to determine if a number is odd or even.
Use bitwise AND operation with 1 to check if the least significant bit is 1 or 0.
If the result is 1, the number is odd. If the result is 0, the number is even.
Example: num & 1 will return 1 for odd numbers and 0 for even numbers.
Binary search is a search algorithm that finds the position of a target value within a sorted array.
It works by repeatedly dividing in half the portion of the array that could contain the target value.
It has a time complexity of O(log n).
It can be implemented recursively or iteratively.
Example: Searching for the number 7 in the sorted array [1, 3, 5, 7, 9] would return index 3.
Data structures in C++ are used to organize and store data efficiently.
C++ provides various built-in data structures like arrays, linked lists, stacks, queues, trees, and graphs.
These data structures can be used to store and manipulate data in an efficient manner.
C++ also allows for the creation of user-defined data structures using classes and structures.
The choice of data structure depends on the type of data an...
Program to find the sum of two numbers
Take input from user for two numbers
Add the two numbers using the '+' operator
Print the sum of the two numbers
What people are saying about Capgemini
ConcurrentHashMap is a thread-safe implementation of HashMap in Java.
It allows multiple threads to read and write to the map concurrently without any external synchronization.
It uses a technique called lock striping to divide the map into segments, allowing multiple threads to access different segments simultaneously.
It provides better performance than Hashtable as it does not lock the entire map during write oper...
Abstract classes can have implementation while interfaces cannot.
Abstract classes can have constructors while interfaces cannot.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes can have non-abstract methods while interfaces can only have abstract methods.
Interfaces are used for full abstraction while abstract classes are used for partial abstraction.
Example of...
I solved the coding questions by analyzing the problem, breaking it down into smaller parts, and implementing the solution using appropriate data structures and algorithms.
I read the problem statement carefully and identified the input and output requirements.
I broke down the problem into smaller sub-problems and identified the appropriate data structures and algorithms to solve each sub-problem.
I implemented the ...
Find duplicate elements in list
Iterate through the list and add each element to a set
If the element is already in the set, it is a duplicate
Alternatively, sort the list and compare adjacent elements
Use collections.Counter to count occurrences of each element
Lists and tuples are both sequence types in Python, but lists are mutable while tuples are immutable.
Lists are enclosed in square brackets [], while tuples are enclosed in parentheses ().
Lists can be modified by adding, removing, or changing elements, while tuples cannot be modified once created.
Lists are typically used for collections of similar items, while tuples are used for heterogeneous data.
Lists have more ...
Tuple is immutable and ordered while list is mutable and ordered.
Tuple uses parentheses while list uses square brackets.
Tuple is faster than list for accessing elements.
Tuple can be used as keys in dictionaries while list cannot.
Tuple is used for heterogeneous data while list is used for homogeneous data.
Tuple is used for returning multiple values from a function.
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
The microservices in our current project are designed using a combination of RESTful APIs and event-driven architecture.
Microservices are designed to be loosely coupled and independently deployable.
Each microservice focuses on a specific business domain or functionality.
Communication between microservices is done through RESTful APIs and message queues.
We use event-driven architecture for handling asynchronous communic...
Program to find second largest number in an array and list using streams and traditional methods.
Use streams to find second largest number in array: Arrays.stream(array).distinct().sorted().skip(array.length - 2).findFirst().orElse(null)
Use traditional method to find second largest number in list: Sort the list in descending order and get the element at index 1
Ensure to handle edge cases like empty array/list or arrays...
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
List is an ordered collection of elements, while a Dictionary is a collection of key-value pairs.
List maintains elements in a specific order, while Dictionary stores key-value pairs where keys are unique.
Accessing elements in a List is done by index, while accessing values in a Dictionary is done by key.
Example: List - [1, 2, 3], Dictionary - {'a': 1, 'b': 2, 'c': 3}
Decorators in Python are functions that modify the behavior of other functions or methods.
Decorators are denoted by the @ symbol followed by the decorator function name.
They are commonly used for adding functionality to existing functions without modifying their code.
Decorators can be used for logging, authentication, caching, and more.
Example: @staticmethod decorator in Python is used to define a method that is not bo...
List comprehension is a concise way to create lists in Python. Regression is a statistical method to model relationships between variables.
List comprehension example: squares = [x**2 for x in range(10)]
Regression example: fitting a linear regression model to predict house prices based on square footage
Docker is a platform for developing, shipping, and running applications in containers. Kubernetes is a container orchestration tool for managing containerized applications across a cluster of nodes.
Docker allows developers to package applications and dependencies into containers for easy deployment.
Kubernetes automates the deployment, scaling, and management of containerized applications.
Docker containers are lightweig...
Deploying an app in Kubernetes involves creating a deployment configuration, defining pods, services, and managing resources.
Create a deployment configuration file specifying the app's image, ports, and replicas
Define pods to run the app containers
Create services to expose the app internally or externally
Manage resources such as CPU and memory limits for optimal performance
Interfaces in Golang allow for defining behavior without specifying implementation details.
Interfaces are a collection of method signatures.
A type satisfies an interface if it implements all the methods in the interface.
Interfaces allow for polymorphism in Golang.
Example: type Writer interface { Write([]byte) (int, error) }
Example: type MyWriter struct {} func (mw MyWriter) Write(data []byte) (int, error) { return len(...
Goroutines are lightweight threads managed by Go runtime, allowing concurrent execution of functions.
Goroutines are created using the 'go' keyword followed by a function call.
They are multiplexed onto multiple OS threads by the Go runtime.
Example: go func() { fmt.Println('Hello, goroutine!') }
Goroutines are used for concurrent programming in Go, enabling parallelism.
I appeared for an interview in Nov 2024.
Request mapping is a technique used in web development to map incoming HTTP requests to specific handler methods in the application.
Request mapping is used in frameworks like Spring MVC to define how incoming requests should be handled.
It helps in routing requests to the appropriate controller methods based on the URL and HTTP method.
Request mapping annotations like @RequestMapping or @GetMapping are used to specify th...
Use Java 8 stream to find the 2nd largest number in an array of strings.
Convert the array of strings to an array of integers using stream and map function.
Sort the array in descending order using sorted() method.
Skip the first element to get the second largest number using skip() method.
Merge two sorted arrays into a single sorted array without using extra space.
Iterate through both arrays simultaneously, comparing elements and placing them in the correct position in the merged array.
Use two pointers to keep track of the current position in each array.
Modify the original array in place to achieve the merge without using extra space.
I applied via Company Website and was interviewed in Jul 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Resolved impediments related to outdated technology, lack of communication, and unclear requirements
Upgraded legacy systems to modern technology to improve performance and security
Implemented regular team meetings to enhance communication and collaboration
Worked closely with stakeholders to clarify project requirements and ensure alignment
Metrics used in the project include code coverage, bug count, sprint velocity, and customer satisfaction.
Code coverage: Measure of how much of the codebase is covered by automated tests.
Bug count: Number of open bugs in the system, tracked over time.
Sprint velocity: Measure of how much work the team can complete in a sprint.
Customer satisfaction: Feedback from customers on the usability and quality of the software.
I will listen to their concerns, empathize with their situation, and work towards finding a solution that meets their needs.
Listen actively to understand their concerns
Empathize with their situation to show understanding and build rapport
Work collaboratively to find a solution that meets their needs
Maintain professionalism and patience throughout the interaction
I would communicate with the stakeholders to understand the reasons for the changes and prioritize them accordingly.
Communicate with stakeholders to understand the reasons for the changes
Prioritize the changes based on impact and urgency
Adjust the sprint plan and tasks accordingly
Ensure clear documentation and communication with the team
Disabling the web server in a Spring Boot application can be done through configuration settings.
Use application.properties: Set 'spring.main.web-application-type=none' to disable the web server.
Use application.yml: Set 'spring: main: web-application-type: none' for YAML configuration.
Programmatically: Use 'SpringApplicationBuilder' and call 'web(false)' to disable the web server.
For testing: Use '@SpringBootTest(webEn...
Spring Boot starters are convenient dependency descriptors that simplify project setup and configuration.
Starters are a set of convenient dependency descriptors, e.g., 'spring-boot-starter-web' for web applications.
They reduce the need for manual dependency management by bundling commonly used libraries.
Using starters, developers can quickly set up a Spring application with minimal configuration.
Example: 'spring-boot-s...
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Enhanced RE Framework is a robust automation framework in UiPath that provides reusable components and efficient error handling.
Enhanced RE Framework is an advanced version of the Robotic Enterprise Framework (REFramework) in UiPath.
It includes additional features such as enhanced error handling, logging, and reusability of components.
The framework follows best practices for automation development and helps in building...
SQL Integration with UiPath allows for seamless data manipulation and automation processes.
UiPath provides activities to connect to SQL databases and execute queries
SQL queries can be used to retrieve, update, or delete data within UiPath workflows
Data can be transferred between SQL databases and UiPath variables for processing
Yes, I have used G-Suite in UiPath for automating tasks and integrating with Google services.
Used G Suite activities in UiPath to automate tasks like sending emails, creating Google Sheets, and fetching data from Google Drive
Integrated UiPath with Google Calendar API to schedule tasks and appointments
Utilized Google OAuth 2.0 authentication for secure access to G Suite services
There are 4 transitions in RE Framework: Init, Get Transaction Data, Process Transaction, and End Process.
Init - Initializes the application, opens applications, logs in, and sets up environment.
Get Transaction Data - Retrieves transaction data from queue or data source.
Process Transaction - Processes the transaction data, performs necessary actions, and updates status.
End Process - Cleans up resources, logs out, and c...
UiPath has introduced new features like AI Fabric, Document Understanding, and improved automation capabilities.
Introduction of AI Fabric for integrating AI models into automation workflows
Enhanced Document Understanding capabilities for processing unstructured data
Improved automation capabilities with features like Task Capture and Task Mining
In Spring, @ControllerAdvice is used for handling global exceptions across multiple controllers.
@ControllerAdvice allows you to define global exception handling logic.
You can use @ExceptionHandler within a class annotated with @ControllerAdvice to handle specific exceptions.
Example: @ExceptionHandler(ResourceNotFoundException.class) public ResponseEntity<String> handleResourceNotFound() {...}
You can also use @Res...
Some of the top questions asked at the Capgemini Senior Software Engineer interview -
The duration of Capgemini Senior Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 143 interview experiences
Difficulty level
Duration
based on 2.2k reviews
Rating in categories
Pune,
Bangalore / Bengaluru
+19-12 Yrs
₹ 10-20 LPA
Consultant
58.6k
salaries
| ₹8.9 L/yr - ₹16.5 L/yr |
Associate Consultant
51.2k
salaries
| ₹4.5 L/yr - ₹10 L/yr |
Senior Consultant
50k
salaries
| ₹12.4 L/yr - ₹21 L/yr |
Senior Analyst
22.1k
salaries
| ₹3.1 L/yr - ₹7.5 L/yr |
Senior Software Engineer
21.6k
salaries
| ₹4.7 L/yr - ₹12.8 L/yr |
Wipro
Accenture
Cognizant
TCS