Summary
I experienced a remarkably calm and respectful 2nd technical interview for the Cognizant GenC Next role, where the interviewer's patience and focus on logical thought process made it a positive experience.
Full Experience
Honestly, this round was one of the calmest and most respectful interviews I’ve had so far. A female interviewer conducted my round, and she was extremely polite, patient, and understanding. Midway through the interview, I actually got disconnected, and she waited for me to rejoin without a hint of frustration. When I couldn’t hear a few questions properly, she repeated them kindly every time, which really helped me stay relaxed and confident throughout.
My interview flow began with a self-introduction, followed by an explanation of my projects, where I discussed my role, the tech stack I used, and the challenges I faced. She then asked me about the programming languages I knew.
For the coding part, I was asked two straightforward questions live on a compiler. She focused on understanding my thought process more than just the final code. After the coding, we delved into core Java concepts like OOPs (with real-world examples), constructors (and if they can be overloaded), an overview and use cases of the Collections Framework, the basic working of HashMap and when to use it, performance differences between ArrayList and LinkedList, what Wrapper Classes are and their utility, and Exception Handling (try, catch, finally, checked vs unchecked). We also touched upon JavaScript basics, specifically the difference between let and var, and what NaN is and when it occurs.
Finally, we had a brief HR-type discussion involving basic yes/no questions about shifts, relocation, and tech stack flexibility, without any situational or behavioral questions. The interview lasted around 30 minutes and felt more like a conversation than an interrogation. The interviewer genuinely valued clear explanations and patience over speed or perfection.
Interview Questions (11)
Implement a function to reverse a given string. I was initially asked to use StringBuilder and then to re-implement it using a loop to demonstrate logical clarity.
Write a program to remove special characters from a string, where the input string is taken from the user.
Explain the core concepts of Object-Oriented Programming (OOPs) with real-world examples.
Discuss constructors in Java and explain if they can be overloaded.
Provide an overview of the Java Collections Framework and discuss its common use cases.
Explain the basic working mechanism of a HashMap and provide scenarios for when to use it.
Describe the performance differences between ArrayList and LinkedList in Java.
Define what Wrapper Classes are in Java and explain their usefulness.
Explain Java's exception handling mechanisms, including try, catch, finally blocks, and the distinction between checked and unchecked exceptions.
Explain the key differences between let and var keywords in JavaScript.
Define NaN (Not a Number) in JavaScript and describe common scenarios where it occurs.
Preparation Tips
Based on my experience, I recommend focusing on strong Java fundamentals, including OOPs, Collections, and Exception Handling. It's also crucial to practice string-based coding problems, as they seem to be a favorite. During the interview, speak your logic clearly, as interviewers value clarity over complexity. My advice for anyone appearing soon is not to stress; it's not a hard interview. Focus on confidence, clarity, and calmness.
Summary
I recently interviewed for the Cognizant GenC / GenC Pro / GenC Next role and had a smooth and fair experience. After successfully completing an aptitude and technical assessment, I proceeded to a technical interview. I'm pleased to share that I received an interim offer.
Full Experience
My overall interview experience with Cognizant was positive, though the technical round required a bit more focus. The interviewer was polite and guided me well, making the environment comfortable. All interview calls were arranged randomly via Superset.
Round 1 – Aptitude + Communication Assessment
This round was relatively easy. The aptitude section covered basic quantitative and logical questions, while the communication section focused on grammar, sentence correction, and listening comprehension. My advice for this round is simply to stay calm and focused.
Round 2 – Technical Assessment
This round was of moderate difficulty and included several sections:
- SQL (2 Questions): Both were easy and related to Date functions.
- Java (2 Coding Questions):
- Find Max Consecutive Ones
- Find Sum of Same Consecutive Numbers that occur k times
- HTML / CSS / JS (3 Small Questions): These were basic, mostly covering syntax or output-based concepts.
Round 3 – Technical Interview (30 mins)
This interview was conducted online via Superset. The interviewer was very polite and created a comfortable atmosphere. The round started with my self-introduction.
Coding Question:
I was asked to solve a coding question on the compiler:
- Find the length of the longest word in a string and print all the words with the same length.
- (Follow-up: Handle spaces and full stops in the string)
Theory Questions:
We then moved on to several theory questions, predominantly in Java and SQL:
- Java:
- OOPs Pillars (I had to explain all of them)
- Polymorphism (in detail)
final,finally,finalizekeywords- Abstract Classes & Interfaces
Try-Catch& Exception Handling- Time complexity of various sorting algorithms
- SQL:
- Normalization
- All types of Joins
- Difference between Left and Left Outer Join
- Query to find the 2nd Highest Salary
HR Segment
This segment involved friendly interaction and straightforward Yes/No questions regarding job location, shift flexibility, and familiarity with tech stacks. There were no tricky HR questions.
I received an interim offer shortly after completing the interview. Overall, the experience was smooth and fair. The interviewer seemed genuinely interested in understanding my logic rather than just the final answer.
Interview Questions (13)
I was asked to solve the problem to find the maximum number of consecutive 1s in a binary array.
I was given a coding question to find the sum of numbers that appear consecutively 'k' times in a sequence.
During my technical interview, I received a coding question to find the length of the longest word in a given string. As a follow-up, I also had to print all words that had this maximum length. The interviewer also asked me to consider handling spaces and full stops correctly within the string.
I was asked to write an SQL query to find the 2nd highest salary from an employee table.
I was asked to explain all the pillars of Object-Oriented Programming (OOPs).
The interviewer asked me to explain Polymorphism in detail, particularly in the context of Java.
I was asked to explain the differences between final, finally, and finalize keywords in Java.
I was questioned about Abstract Classes and Interfaces in Java, likely about their differences, use cases, or implementation.
I was asked about try-catch blocks and general Exception Handling mechanisms in Java.
I was asked about the time complexity of various standard sorting algorithms.
I was asked to explain database Normalization in SQL.
The interviewer asked me to explain all types of Joins available in SQL.
I was asked to explain the difference between a LEFT JOIN and a LEFT OUTER JOIN in SQL.
Preparation Tips
My preparation focused on staying calm and confident throughout the process. I made sure to revise core OOPs concepts, SQL joins, and practiced basic coding questions, especially those involving string and array manipulation in Java. I also paid attention to practical aspects like ensuring a stable internet connection, as the Superset order was random.