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

Programmer Analyst

Cognizant
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
Cognizant being a mass recruiting company, the process have been quite smooth, easy and healthy. From start till end they kept us in loop about our progress and all rounds of interviews were conducted on time
Application story
Cognizant did their selection during our ongoing campus placements. By the time we were used to giving company exams on a regular basis. Being a mass recruiter they were quite lenient about their questions and many of us got the final offer.
Why selected/rejected for the role?
I suppose my resume was quite strong enough to impress the interviewers and I was able to response correctly to all the questions they asked regarding that. So that mademy process easy, I suppose.
Preparation
Duration: 3 months
Topics: OOPs, DBMS, Data Structures, Operating Systems, Python
Tip
Tip

Tip 1 : Know your coding language very clearly
Tip 2 : Be clear in forming the pseudo code.
Tip 3 : Practice coding regularly

Application process
Where: Campus
Eligibility: 7 CGPA, Knows C++ and another coding language, No backlogs
Resume Tip
Resume tip

Tip 1 : Keep it precise, they don't question anything outside your resume
Tip 2 : Mention only those things in resume that you have really done and really know about.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 minutes
Interview date15 Nov 2021
Coding problem2

Was held in the afternoon
Same as a typical exam centre with our professors on guard
The exam occured peacefully in the university desktops.

1. MCQ Questions

8 - Mathematical Aptitude
5 - Logical Reasoning 
5 - English
2 - Programming

 

Number Of MCQs - 20

2. Two and Four Wheeler Roads

Hard
48m average time
0/120
Asked in companies
CognizantGoldman SachsGartner

There is a country with 'N' cities and 'M' bidirectional roads of 3 types.

Type 1: Two Wheeler Road, It means only vehicles having two wheels can use this road.
Type 2: Four Wheeler Road, It means only vehicles having four wheels can use this road.
Type 3: Both two and four Wheeler Road, It means this road can be used by both type of vehicles.

The problem is to find the maximum number of roads that can be removed such that a path exists for every pair of cities for each two-wheeler and four-wheeler vehicle.

Note:
1. Roads may form a cycle.

2. The cities do not have multiple same roads i.e all the roads are unique.

3. If every city cannot be reached, then return -1.
Try solving now
02
Round
Easy
Video Call
Duration30 minutes
Interview date15 Dec 2021
Coding problem1

It was in the evening 
The interviewer was warm and welcoming
He made me comfortable and asked questions only from my resume.

1. Puzzle Question

There are 3 ants sitting on 3 corners of a triangle. All ants randomly pick a direction and start moving along the edge of the triangle. What is the probability that any two ants collide?

Problem approach

Tip 1 : Its a simple question of probability 
Tip 2 : Eliminate the story and focus on the numeric information
Tip 3 : Have a writing material handy to solve

03
Round
Easy
HR Round
Duration15 minutes
Interview date4 Jan 2022
Coding problem1

Morning
It was easy and quick

1. Basic HR Questions

How is the day in my city?
Am i comfortable in joining?
Will i be switching soon after joining the company?

Problem approach

Tip 1 : Be relaxed
Tip 2 : Be truthful
Tip 3 : Be polite

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
Programmer Analyst
2 rounds | 3 problems
Interviewed by Cognizant
859 views
0 comments
0 upvotes
company logo
Programmer Analyst
3 rounds | 4 problems
Interviewed by Cognizant
842 views
0 comments
0 upvotes
company logo
Programmer Analyst
2 rounds | 4 problems
Interviewed by Cognizant
868 views
1 comments
0 upvotes
company logo
Programmer Analyst
3 rounds | 8 problems
Interviewed by Cognizant
951 views
0 comments
0 upvotes