Cdk global interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Cdk global
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
Your paragraph is already well-structured; only minor grammar and clarity improvements are needed. Here is the corrected and slightly refined version without changing the meaning: During my college journey, I primarily focused on building a strong academic foundation while actively exploring the practical applications of what I was learning. Alongside my coursework, I spent most of my time working on side projects that solved real-world problems, which helped me understand concepts beyond textbooks. Rather than concentrating heavily on competitive programming or extensive DSA practice, I chose to invest more effort in developing projects, experimenting with new technologies, and staying updated with the latest industry trends. This approach helped me gain hands-on experience and a clearer understanding of how technology is used in real-world scenarios. By consistently learning through projects and adapting to emerging tools and ideas, I developed strong problem-solving skills, practical knowledge, and confidence that eventually helped me prepare for and crack the interview. My journey shows that focusing on applied learning and curiosity-driven exploration can be just as impactful as traditional preparation paths. This approach helped me gain hands-on experience and a clearer understanding of how technology is used in real scenarios. By consistently learning through projects and adapting to emerging tools and ideas, I developed problem-solving skills, practical knowledge, and confidence that eventually helped me prepare for and crack the interview. My journey shows that focusing on applied learning and curiosity-driven exploration can be just as impactful as traditional preparation paths.
Application story
I applied through the on-campus placement process organized by my college. After the initial shortlisting, the interview rounds were conducted by the company, where the discussion was mainly based on my resume, projects, and academic background. The technical interview primarily focused on Machine Learning concepts and DBMS fundamentals, along with questions related to my practical experience and understanding of these subjects.
Preparation
Duration: 2 Months
Topics: ASP.NET, Artificial Intelligence (AI), Machine Learning, Microservices, React.js, Java, Spring Boot, AI, SQL, React, .NET, Entity Framework
Tip
Tip

Tip 1: Focus on understanding fundamentals first; strong basics make learning new technologies much easier later.

Tip 2: Build small real-world projects instead of only following tutorials; practical experience helps concepts stick.

Tip 3: Stay consistent with learning, even if it’s just 30–60 minutes daily.

Tip 4: Explore current industry trends and tools, but don’t try to learn everything at once.

Tip 5: Learn to debug and read documentation; these skills help you improve faster than memorizing syntax.

Tip 6: Collaborate with peers, ask questions, and learn from others’ approaches to problem-solving.

Application process
Where: Campus
Eligibility: 8.5 CGPA, (Salary: 25000 Stipend + 7.5 LPA PPO)
Resume Tip
Resume tip

Tip 1: Keep your resume simple and easy to read—don’t try to include everything; just showcase your strongest work.

Tip 2: Only mention skills and projects you truly understand, because interview questions usually come from your resume.

Tip 3: Explain your projects clearly by highlighting what you did and what you learned, not just the technologies you used.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date7 Mar 2025
Coding problem2

1. Minimum Swapping

Moderate
25m average time
75% success
0/80
Asked in companies
AdobeCdk global

You are given an array ‘arr’ of size ‘N’ containing 0 and 1. You can swap any two adjacent elements. Your task is to find the minimum number of swaps such that the 0 are shifted to one side, and 1 shifted to the other.

For example:
For the given array ‘arr’ = {1,0,1,1} we can swap the first and second elements, and all 1s will be shifted to the right side and 0s to the left side. Hence a minimum number of operations required is 1.
Try solving now

2. DBMS

You are given a relational schema R and a set of functional dependencies F.

A functional dependency is considered redundant if it can be derived from the remaining functional dependencies using Armstrong’s axioms.

Your task is to identify all redundant functional dependencies in the given set.

02
Round
Medium
Face to Face
Duration30 minutes
Interview date10 Mar 2025
Coding problem2

1. Semaphore Synchronization

Write a program that simulates the Producer–Consumer problem using semaphores. The producer should add items to a bounded buffer, and the consumer should remove them, ensuring proper synchronization so that the producer does not add items when the buffer is full and the consumer does not remove items when the buffer is empty.

2. DBMS

Given a table employees(emp_id, name, department, salary), write a PostgreSQL query to find the second-highest salary in each department. If a department has fewer than two employees, it should not appear in the result.

03
Round
Hard
Face to Face
Duration75 minutes
Interview date10 Mar 2025
Coding problem3

1. DBMS

You are given two tables:

users(
    user_id INT PRIMARY KEY,
    name TEXT
)

transactions(
    txn_id INT PRIMARY KEY,
    user_id INT,
    amount NUMERIC,
    txn_time TIMESTAMP
)

Write a PostgreSQL query to identify users whose transaction amounts are strictly increasing for at least three consecutive transactions when ordered by txn_time.

Requirements:

  • Only consider users who have at least three transactions.
  • The increase must be strictly increasing (each transaction amount must be greater than the previous one).
  • The transactions must be consecutive in time order for that user.

Return:

  • user_id
  • start_txn_id
  • end_txn_id
  • number_of_transactions_in_sequence

If a user has multiple valid sequences, return all of them.

The query should be optimized for large datasets (millions of transactions).

2. Collaborative Editing

Design a real-time collaborative document editing system similar to Google Docs, where multiple users can edit the same document simultaneously and see updates with latency under 200 ms. The system should support around 100k concurrent users, maintain version history, and store documents reliably so that previous versions can be restored. It must handle edit conflicts when multiple users modify the same section while keeping the document state consistent for everyone.

The architecture should scale horizontally and include considerations for API design, data modeling, real-time communication (e.g., WebSockets), conflict resolution strategies such as Operational Transform or CRDT, caching and storage solutions, and handling offline edits with later synchronization.

3. Genetic Optimization

Optimize a Function Using a Genetic Algorithm

You are given the mathematical function:

f(x) = x² × sin(x)

Your task is to implement a Genetic Algorithm to find the value of x in the range [-10, 10] that maximizes the function value.

Requirements

  • Represent each candidate solution (x) as a chromosome.
  • Initialize a population of random candidate values within the range [-10, 10].
  • Implement the following Genetic Algorithm components:
  • A fitness function based on the value of f(x)
  • A selection method (e.g., tournament selection or roulette wheel)
  • Crossover to generate offspring
  • Mutation to introduce small random changes

Algorithm Conditions

  • Run the algorithm for at least 100 generations.
  • The population size should be ≤ 100.
  • The mutation probability should be between 1% and 10%.
  • The crossover probability should be between 60% and 90%.

Output

  • Print the following:
  • The best value of x found
  • The maximum value of the function
  • The generation number where the best solution was discovered.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4898 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
1043 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6638 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3639 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15605 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15499 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10216 views
2 comments
0 upvotes