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

Associate Professional

Cognizant
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: OOPS, Data Structures, Algorithm, Dynamic Programming, Pointers
Tip
Tip

Tip 1 : Before you begin, clear your basic concepts and visualize what you want to do, and make a list of the things you need to learn. 
Tip 2 : Solve one leetcode question every day. It will improve your programming skills, which is helpful in clearing your interview. 
Tip 3 : Set a time limit for answering aptitude questions. It will also be helpful in preparing for your interview.

Application process
Where: Campus
Eligibility: Above 60%
Resume Tip
Resume tip

Tip 1 : Write about your project work and volunteer experience. Showcase how you used the required skills to achieve results.
Tip 2 : Don’t misrepresent your education and experience.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date28 Oct 2021
Coding problem1

The first round is the online test. The online test was comprised of aptitude, verbal ability, logical reasoning, and 2 coding questions. But i only remember 1.

1. Gas Tank

Moderate
20m average time
90% success
0/80
Asked in companies
CognizantGoldman SachsRIVIGO

You have a car with a gas tank of infinite capacity. There are ‘N’ gas stations along a circular route. Gas stations are numbered from 0 to N - 1. You begin the journey with an empty tank at one of the gas stations. You want to travel around the circular route once in the clockwise direction. I.e if you start to travel from station ‘i’, then you will go to i + 1, i + 2, …, n - 1, 0, 1, 2, i - 1 and then return back to ‘i’.

You are given two integer arrays ‘gas’ and ‘cost’. ‘gas[i]’ gives the amount of gas available at station ‘i’ and cost[i] gives the amount of gas required to travel from station ‘i’ to next station i.e station ‘i’+1 (or 0 if the station is N - 1).

Return the starting gas station's index if it is possible to complete cycle of given circular route once in the clockwise direction. If there are multiple possible starting gas station’s indexes, then return the minimum of those gas station indexes. If there is no such gas station then return -1.

Try solving now
02
Round
Easy
Face to Face
Duration45 Minutes
Interview date5 Nov 2021
Coding problem3

In the technical interview, they asked me about OOPS and MySQL and gave me some easy coding questions.

1. SQL Question

Find the second maximum salary.

2. Check Palindrome

Easy
0/40
Asked in companies
EXL ServiceThalesOptum

You're given an alphabetical string ‘S’.


Determine whether it is palindrome or not. A palindrome is a string that is equal to itself upon reversing it.


For example:
‘S’ = racecar
The reverse of ‘S’ is: racecar
Since ‘S’ is equal to its reverse. So ‘S’ is a palindrome.
Hence output will be 1.
Try solving now

3. Star Pattern

Easy
10m average time
85% success
0/40
Asked in companies
Tata Consultancy Services (TCS)CognizantPayPal
Pattern for N = 4

picture

The dots represent spaces.
Try solving now
03
Round
Easy
HR Round
Duration15 Minutes
Interview date8 Nov 2021
Coding problem1

The HR round was just a formality. In the HR round, they verify my documents.

1. Basic HR Questions

Would you like to work night shifts.

Can you handle pressure?
 

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
Associate Professional
3 rounds | 3 problems
Interviewed by Cognizant
792 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Cognizant
1063 views
0 comments
0 upvotes
company logo
Program Analyst
2 rounds | 6 problems
Interviewed by Cognizant
604 views
0 comments
0 upvotes
company logo
Programmer Analyst Trainee
3 rounds | 8 problems
Interviewed by Cognizant
773 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Associate Professional
3 rounds | 3 problems
Interviewed by CIS - Cyber Infrastructure
512 views
0 comments
0 upvotes
company logo
Associate Professional
4 rounds | 6 problems
Interviewed by CIS - Cyber Infrastructure
0 views
0 comments
0 upvotes
company logo
Associate Professional
3 rounds | 9 problems
Interviewed by CIS - Cyber Infrastructure
488 views
0 comments
0 upvotes