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

Software Engineer

Cognizant
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Java , DBMS, Operating System, aptitude, Computer Network, OOPS
Tip
Tip

Tip 1 : Strong grip on one programming language like Java/C++
Tip 2 : Study subject like DBMS , CN, OS
Tip 3 : Do atleast 2 projects and intermediate level of DSA question with all basic clear of DSA

Application process
Where: Campus
Eligibility: 60% with no backlogs
Resume Tip
Resume tip

Tip 1: Always make 1-2 page resume and don't fill irrelevant skills put only that required for that job
Tip 2: Put the project you have done and skills you have don't put any false information.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration180 mins
Interview date28 Aug 2021
Coding problem1

It was around 5 pm and we are facing sub issue in platform but after sometime it got fixed

1. Lyft Taxi Scheduling

Moderate
0/80
Asked in companies
Wells FargoCognizant

Ninja works in a travel agency. During summers, he got a total of ‘X’ clients for a trip to a nearby waterpark. Ninja has a total of ‘N’ taxis where each taxi takes different routes to reach the destination.

Ninja has an array ‘taxiTravelTime’ representing how long it takes for each taxi (at that index of the array) to make a trip. Ninja wants to know the minimum time required to make ‘X’ trips.

Ninja wants to schedule a certain number of trips with a collection of several taxis.

You have to return the minimum time required to make ‘X’ trips.

Note :

Assume that taxis can run simultaneously and there is no waiting period between trips. There may be multiple taxis with the same time cost.

Example:

If ‘X=3’, ‘N=2’ and ‘taxiTravelTime=[1,2]’, 
Then the answer is 2. This is because the first taxi (index 0, cost 1) can make two trips costing 2 minutes, and the second taxi can make a single trip costing 2 minutes simultaneously.
Problem approach

Step 1: i first analyze which type of question it is.
Step 2: after that with with best way and optimization i solve it

Try solving now
02
Round
Medium
Face to Face
Duration30 min
Interview date6 Oct 2021
Coding problem1

It was around 11 am on superset platform

1. Merge Sort

Easy
15m average time
85% success
0/40
Asked in companies
Wells FargoThought WorksAccenture

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm -

Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

subsequence

The above illustrates shows how merge sort works.
Note :
It is compulsory to use the ‘Merge Sort’ algorithm.
Problem approach

step 1: start

step 2: declare array and left, right, mid variable

step 3: perform merge function.
if left > right
return
mid= (left+right)/2
mergesort(array, left, mid)
mergesort(array, mid+1, right)
merge(array, left, mid, right)

step 4: Stop

Try solving now
03
Round
Easy
HR Round
Duration20 mins
Interview date23 Oct 2021
Coding problem1

It was around 3pm

1. Basic HR Questions

Do u relocate as required by company?

Problem approach

Tip 1:Always say yes
Tip 2:be polite
Tip 3:be confident

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
Software Engineer
2 rounds | 4 problems
Interviewed by Cognizant
1200 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by Cognizant
1043 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 3 problems
Interviewed by Cognizant
974 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by Cognizant
889 views
2 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
4 rounds | 1 problems
Interviewed by Newgen Software
3195 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by HashedIn
2574 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Ernst & Young (EY)
0 views
0 comments
0 upvotes