cognizant logo

Cognizant Interviews

2 experiences60 reads24 questions50% success rate
💻 Cognizant GenC Next – 2nd Technical Interview Experience (5 Nov 2025) 🚀
cognizant logo
Cognizant
Ongoing
November 5, 202526 reads

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)

Q1
Reverse a String
Data Structures & AlgorithmsEasy

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.

Q2
Remove Special Characters from a String
Data Structures & AlgorithmsEasy

Write a program to remove special characters from a string, where the input string is taken from the user.

Q3
Explain OOPs Concepts
Other

Explain the core concepts of Object-Oriented Programming (OOPs) with real-world examples.

Q4
Constructors and Overloading
Other

Discuss constructors in Java and explain if they can be overloaded.

Q5
Java Collections Framework Overview
Other

Provide an overview of the Java Collections Framework and discuss its common use cases.

Q6
HashMap Working and Use Cases
Other

Explain the basic working mechanism of a HashMap and provide scenarios for when to use it.

Q7
ArrayList vs LinkedList Performance
Other

Describe the performance differences between ArrayList and LinkedList in Java.

Q8
Wrapper Classes in Java
Other

Define what Wrapper Classes are in Java and explain their usefulness.

Q9
Java Exception Handling
Other

Explain Java's exception handling mechanisms, including try, catch, finally blocks, and the distinction between checked and unchecked exceptions.

Q10
Difference between let and var in JavaScript
Other

Explain the key differences between let and var keywords in JavaScript.

Q11
What is NaN and When it Occurs
Other

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.

🧑‍💻 Cognizant GenC / GenC Pro/ GenC Next Interview Experience (Nov 2025)
cognizant logo
Cognizant
GenC / GenC Pro / GenC NextOffer
November 3, 202534 reads

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, finalize keywords
    • 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)

Q1
Find Max Consecutive Ones
Data Structures & AlgorithmsEasy

I was asked to solve the problem to find the maximum number of consecutive 1s in a binary array.

Q2
Find Sum of Same Consecutive Numbers that occur k times
Data Structures & AlgorithmsMedium

I was given a coding question to find the sum of numbers that appear consecutively 'k' times in a sequence.

Q3
Longest Word in a String with Specific Characters
Data Structures & AlgorithmsEasy

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.

Q4
SQL Query for 2nd Highest Salary
Data Structures & AlgorithmsEasy

I was asked to write an SQL query to find the 2nd highest salary from an employee table.

Q5
OOPs Pillars Explanation
Other

I was asked to explain all the pillars of Object-Oriented Programming (OOPs).

Q6
Polymorphism Detailed Explanation
Other

The interviewer asked me to explain Polymorphism in detail, particularly in the context of Java.

Q7
final, finally, finalize keywords in Java
Other

I was asked to explain the differences between final, finally, and finalize keywords in Java.

Q8
Abstract Classes and Interfaces in Java
Other

I was questioned about Abstract Classes and Interfaces in Java, likely about their differences, use cases, or implementation.

Q9
Exception Handling with Try-Catch in Java
Other

I was asked about try-catch blocks and general Exception Handling mechanisms in Java.

Q10
Time Complexity of Sorting Algorithms
Other

I was asked about the time complexity of various standard sorting algorithms.

Q11
SQL Database Normalization
Other

I was asked to explain database Normalization in SQL.

Q12
Types of SQL Joins
Other

The interviewer asked me to explain all types of Joins available in SQL.

Q13
Difference between Left and Left Outer Join
Other

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.

Have a Cognizant Interview Experience to Share?

Help other candidates by sharing your interview experience. Your insights could make the difference for someone preparing for their dream job at Cognizant.