i
Capgemini
Filter interviews by
Prime numbers are natural numbers greater than 1 that have no divisors other than 1 and themselves.
A prime number is only divisible by 1 and itself. Example: 2, 3, 5.
The first prime number is 2, which is also the only even prime number.
All other even numbers greater than 2 are not prime because they can be divided by 2.
The prime numbers between 1 and 100 are: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47,...
Method overriding allows a subclass to provide a specific implementation of a method already defined in its superclass, while overloading allows multiple methods with the same name but different parameters.
Method Overriding: Redefining a method in a subclass. Example: class Animal { void sound() { } } class Dog extends Animal { void sound() { } }
Method Overloading: Same method name with different parameters in the...
Polymorphism in C++ allows methods to do different things based on the object that it is acting upon, enhancing flexibility and reusability.
Polymorphism is a core concept in OOP, enabling methods to be overridden in derived classes.
There are two types: compile-time (static) and run-time (dynamic) polymorphism.
Compile-time polymorphism is achieved through function overloading and operator overloading.
Run-time polym...
Operation overloading allows custom behavior for operators in user-defined classes, enhancing code readability and usability.
Overloading the '+' operator to add two complex numbers: class Complex { int real, imag; Complex operator+(const Complex &c) { return Complex(real + c.real, imag + c.imag); } };
Overloading the '<<' operator for outputting a custom class: class Point { int x, y; ...
What people are saying about Capgemini
Find the length of the longest subarray with a sum of zero using efficient algorithms like hashing or prefix sums.
Use a HashMap: Store the cumulative sum and its index. If the same sum appears again, the subarray between the indices has a sum of zero.
Example: For array [1, -1, 2, -2, 3], the longest subarray with sum zero is [1, -1], length = 2.
Prefix Sum: Calculate the cumulative sum as you iterate through the ar...
I am excited to join this company for its innovative projects, collaborative culture, and opportunities for professional growth.
The company's commitment to cutting-edge technology aligns with my passion for innovation, as seen in projects like [specific project].
I admire the collaborative culture here, which fosters teamwork and creativity, similar to my experience in [previous team project].
The opportunities for ...
Encapsulation is a fundamental OOP principle that restricts access to certain components of an object.
Encapsulation combines data and methods that operate on that data within a single unit, or class.
It restricts direct access to some of an object's components, which is a means of preventing unintended interference and misuse.
For example, in a class 'Car', the properties like 'speed' can be private, while methods l...
OOP concepts in Java include encapsulation, inheritance, polymorphism, and abstraction, forming the foundation of object-oriented programming.
Encapsulation: Bundling data and methods in a class. Example: class 'Car' with attributes like 'color' and methods like 'drive()'.
Inheritance: Mechanism to create a new class from an existing class. Example: 'Sedan' class inherits from 'Car' class.
Polymorphism: Ability to pe...
Java is a versatile, object-oriented programming language used for building platform-independent applications.
Object-Oriented: Java supports concepts like inheritance, encapsulation, and polymorphism.
Platform Independence: Java applications can run on any device with a Java Virtual Machine (JVM).
Rich API: Java provides a comprehensive set of libraries for tasks like networking, I/O, and GUI development.
Strongly Ty...
Custom metadata is for configuration data, while custom settings are for application-specific data storage in Salesforce.
Custom Metadata Types are used for application configuration and can be deployed between environments.
Custom Settings are used for storing application-specific data that can be accessed without SOQL queries.
Custom Metadata can be packaged and deployed, while Custom Settings cannot be packaged.
Ex...
It included all aptitude
Contains all pseudo questions related to DSA
The login page is displayed when a user clicks on a webpage icon like Facebook by redirecting to a separate login page.
Clicking on the webpage icon triggers a redirect to the login page
The login page prompts the user to enter their credentials
After successful login, the user is redirected back to the original webpage
Object-oriented programming in Java involves creating classes, objects, inheritance, polymorphism, and encapsulation.
Classes are blueprints for objects, defining attributes and behaviors.
Objects are instances of classes, representing real-world entities.
Inheritance allows a class to inherit attributes and methods from another class.
Polymorphism enables objects to be treated as instances of their parent class.
Encapsulat...
I applied via Naukri.com and was interviewed in Dec 2024.Β There were 3 interview rounds.
I applied via Company Website and was interviewed in Sep 2024.Β There were 2 interview rounds.
N0rmal hacker rank queationss
JWT implementation methods involve encoding, decoding, and verifying tokens for secure authentication.
Use a library like jsonwebtoken to easily create and verify JWT tokens
When creating a token, include a payload with user information and a secret key for signing
To verify a token, decode it using the secret key and check the signature
Microservices are a software development technique where applications are broken down into smaller, independent services that communicate with each other.
Each microservice is responsible for a specific function or feature
Microservices can be developed, deployed, and scaled independently
Communication between microservices is typically done through APIs
Examples: Netflix, Amazon, Uber
I applied via Campus Placement and was interviewed in Nov 2024.Β There were 2 interview rounds.
It was pretty easy and quick
I applied via Naukri.com and was interviewed in Nov 2024.Β There were 2 interview rounds.
Salary negotiation is a critical skill for software developers to ensure fair compensation based on skills and market trends.
Research industry standards: Use websites like Glassdoor or Payscale to find average salaries for your role.
Know your worth: Assess your skills, experience, and unique contributions to the company.
Practice your pitch: Prepare a clear and concise explanation of why you deserve the salary you're as...
I applied via Naukri.com
To find the first non duplicate character in a string?
I appeared for an interview in Jun 2025, where I was asked the following questions.
Prime numbers are natural numbers greater than 1 that have no divisors other than 1 and themselves.
A prime number is only divisible by 1 and itself. Example: 2, 3, 5.
The first prime number is 2, which is also the only even prime number.
All other even numbers greater than 2 are not prime because they can be divided by 2.
The prime numbers between 1 and 100 are: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, ...
Palindromes are words, phrases, or sequences that read the same backward as forward, showcasing symmetry in language.
Words: 'level', 'radar', 'civic', 'deified'
Phrases: 'A man, a plan, a canal, Panama!'
Numbers: 121, 12321
Dates: 02/02/2020
I applied via Naukri.com and was interviewed in Aug 2024.Β There was 1 interview round.
Java OOPs concepts refer to the principles of Object-Oriented Programming and their implementation in Java.
Java OOPs concepts include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Polymorphism allows objects to be treated as instances o...
Some of the top questions asked at the Capgemini Software Developer interview -
The duration of Capgemini Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 149 interview experiences
Difficulty level
Duration
based on 445 reviews
Rating in categories
Hyderabad / Secunderabad,
Chennai
+13-7 Yrs
βΉ 2.5-40 LPA
Consultant
59.3k
salaries
| βΉ8.9 L/yr - βΉ15 L/yr |
Associate Consultant
51.3k
salaries
| βΉ4.5 L/yr - βΉ10 L/yr |
Senior Consultant
50.8k
salaries
| βΉ12.2 L/yr - βΉ21 L/yr |
Senior Analyst
22.5k
salaries
| βΉ3.1 L/yr - βΉ7.6 L/yr |
Senior Software Engineer
21.8k
salaries
| βΉ4.7 L/yr - βΉ13.3 L/yr |
Wipro
Accenture
Cognizant
TCS