Capgemini
Global leader in partnering with companies to transform and manage their business by harnessing the power of technology.
4 Rounds
~21 Days
Medium
The Interview Loop
Recruiter Screen (30 min)
Standard fit check, behavioral questions, and resume overview.
Technical Loop (3-4 Rounds)
Deep dive into domain knowledge, coding, and system design.
Interview Question Bank
Data Engineer
•
Coding
•
hard
Write a SQL query to identify users who have logged in for 3 or more consecutive days.
#Advanced SQL
#Self Joins
#LEAD/LAG
#Date Functions
Data Engineer
•
Coding
•
medium
Write a SQL MERGE statement to implement Slowly Changing Dimension (SCD) Type 2 logic for a customer dimension table.
#Data Warehousing
#SCD Type 2
#MERGE Statement
Data Engineer
•
Coding
•
medium
Write a SQL query to find the nth highest salary for each department from an Employee table.
#Window Functions
#DENSE_RANK
#CTEs
Data Engineer
•
Technical
•
medium
You have a slow-running SQL query with multiple joins on large tables. Walk me through your step-by-step approach to optimize it.
#Performance Tuning
#Execution Plans
#Indexing
Data Engineer
•
Technical
•
easy
Explain the exact differences between RANK(), DENSE_RANK(), and ROW_NUMBER() with a practical example.
#Window Functions
#Data Ranking
Data Scientist
•
Coding
•
medium
Write a SQL query using window functions to calculate the 7-day rolling average of sales for each product category.
#SQL
#Window Functions
#Data Aggregation
Data Scientist
•
Coding
•
hard
Write a SQL query to find users who have logged into an application on 3 consecutive days.
#SQL
#Advanced Window Functions
#Date Manipulation
Data Scientist
•
Coding
•
medium
Write a SQL query to find the second highest salary by department without using the LIMIT keyword.
#SQL
#Subqueries
#Window Functions
Data Scientist
•
Technical
•
easy
Explain the difference between RANK(), DENSE_RANK(), and ROW_NUMBER() with a practical example.
#SQL
#Window Functions
Full Stack Engineer
•
Technical
•
medium
Write a SQL query to find the second highest salary of an employee from an Employee table.
#SQL
#Subqueries
Machine Learning Engineer
•
Coding
•
medium
Write a SQL query to find the second highest salary within each department.
#SQL
#Window Functions
#Ranking
Machine Learning Engineer
•
Coding
•
medium
Write a SQL query to calculate the 7-day rolling average of daily sales for a retail client.
#SQL
#Window Functions
#Time Series
Product Manager
•
Coding
•
easy
Write a SQL query to find the top 5 clients by total revenue generated in the last quarter.
#SQL
#Aggregation
#Sorting
#Date Functions
Product Manager
•
Coding
•
hard
Write a SQL query to calculate the month-over-month retention rate of users on a SaaS platform.
#SQL
#Self Joins
#Cohort Analysis
#Window Functions
Product Manager
•
Coding
•
medium
Write a SQL query to identify users who have logged in more than 3 times in the past 7 days but haven't made a purchase.
#SQL
#Filtering
#Subqueries
#Joins
Software Engineer
•
Technical
•
medium
Write a SQL query to find the nth highest salary of an employee from an Employee table.
#SQL
#Window Functions
#Subqueries
Difficulty Radar
Based on recent AI-sourced data.
Meet Your Interviewers
The "Standard" Interviewer
Senior EngineerFocuses on core competencies, system constraints, and clear communication.
SimulateUnwritten Rules
Think Out Loud
Always explain your thought process before writing code or drawing architecture.