I applied online. The process took 4 weeks. I interviewed at Cognizant (Bengaluru) in Mar 2025
Interview
nwefdwoifwifhwfewrpfefwekf2ef2ofne0=ecbeewwcwdowevne-943vvwejb A program to check if a given number is prime or not.
Create a function to check if a number is prime by iterating from 2 to the square root of the number.
If the number is divisible by any number other than 1 and itself, it is not prime.
Handle edge cases like 0, 1, and negative numbers separate
Interview easy but cognizant take interview own platform. This is not good.
Lag to much internet. too man time connecting.
Question Bank
What is Oops.
Write a Program given string array
String[] input ={"eat", "tap", "cat", "tea", "act", "pat", "ate"};
//output = [["eat", "tea", "ate"], ["cat", "act"], ["tap", "pat"]]
Interview questions [1]
Question 1
What is Oops.
Write a Program given string array
String[] input ={"eat", "tap", "cat", "tea", "act", "pat", "ate"};
//output = [["eat", "tea", "ate"], ["cat", "act"], ["tap", "pat"]]
The interview was fairly straightforward and didn’t involve any complex problem-solving questions. It focused more on system design discussions, architectural decisions, and my experience with scalability, databases, and distributed systems. The interviewer seemed more interested in high-level design concepts rather than coding challenges. Overall, it was an easy conversation, primarily centered around my past projects and how I approach designing large-scale applications.
Interview questions [1]
Question 1
Design a Rate Limiting System to prevent API abuse.