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

GenC

Cognizant
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: DSA, Object Oriented Programming System, OS, CN, DBMS
Tip
Tip

Tip 1 : Prepare DSA with practicing questions
Tip 2 : Improvise communication skills

Application process
Where: Campus
Eligibility: 6 CGPA
Resume Tip
Resume tip

Tip 1 : Mention good projects
Tip 2 : Mention internships as much as you have done

Interview rounds

01
Round
Medium
Online Coding Interview
Duration105 minutes
Interview date12 Sep 2021
Coding problem2

Round1 is an Aptitude round that is on the Amcat platform. This round consists of four sections .

1. Count Even Or Odd

Hard
30m average time
60% success
0/120
Asked in companies
UberOlaCognizant

Tanmay and Rohit are best buddies. One day Tanmay gives Rohit a problem to test his intelligence and skills. He gives him an array of N natural numbers and asks him to solve the following queries:-

Query 0 :

0 x y

This operation modifies the element present at index x to y.

Query 1 :

1 x y 

This operation counts the number of even numbers in range x to y inclusive.

Query 2 :

2 x y 

This operation counts the number of odd numbers in range x to y inclusive.

Problem approach

First input the number then check by taking its modulus by 2.

Try solving now

2. N-th Fibonacci Number

Moderate
40m average time
70% success
0/80
Asked in companies
HCL TechnologiesCiscoNatwest Group

You are given an integer ‘N’, your task is to find and return the N’th Fibonacci number using matrix exponentiation.

Since the answer can be very large, return the answer modulo 10^9 +7.

Fibonacci number is calculated using the following formula:
F(n) = F(n-1) + F(n-2), 
Where, F(1) = F(2) = 1.
For Example:
For ‘N’ = 5, the output will be 5.
Try solving now
02
Round
Easy
Video Call
Duration30 minutes
Interview date10 Oct 2021
Coding problem1

The second round was the Technical Interview. It was conducted on Superset platform and the duration was 30 minutes.
This whole round, the interviewer focused mostly on Communication and Technical Skills.

1. Puzzle

  • What is the average of first five multiples of 12?
  • What is the difference in the place value of 5 in the numeral 754853?

Here's your problem of the day

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

Skill covered: Programming

To make an AI less repetitive in a long paragraph, you should increase:

Choose another skill to practice
Similar interview experiences
company logo
GenC
2 rounds | 5 problems
Interviewed by Cognizant
878 views
0 comments
0 upvotes
company logo
GenC
2 rounds | 5 problems
Interviewed by Cognizant
877 views
0 comments
0 upvotes
company logo
Program Analyst
2 rounds | 6 problems
Interviewed by Cognizant
605 views
0 comments
0 upvotes
company logo
Programmer Analyst Trainee
3 rounds | 8 problems
Interviewed by Cognizant
773 views
0 comments
0 upvotes