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

Genc Next

Cognizant
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
It was good. Cognizant is a service-based company, The Average salary is also higher than TCS Ninja. The interview process was pretty simple first a general test with the aptitude, followed by a technical round then a managerial round, and then you get the final offer.
Application story
We got a mail from our TNP Cell BVCOE and our profiles were shared then we have our first round of tests in Amcat and I cleared first round then we had our technical round ,all topics are covered and then we had HR round for basic questions. And then we got the offer as Cognizant keeps on changing processes every year depending on requirements.
Why selected/rejected for the role?
I was selected because my Technical Interview was good, I cleared the aptitude test and I almost got feedback that was good, and my managerial round was good asking some basic questions & basic HR questions as well. Actually, all the students who cleared the aptitude test got the offer, it is like a mass hire
Preparation
Duration: 3 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Aptitude
Tip
Tip

Tip 1 : Data Structure should be clear till hashmaps, graphs & DP are not asked frequently
Tip 2 : Aptitude is important
Tip 3 : Must have 1 Project
Tip 4: Question are asked from project

Application process
Where: Campus
Eligibility: 6.5 CGPA, 1 development project.
Resume Tip
Resume tip

Tip 1: 1 Project is necessary
Tip 2: and should be 1 Pager resume

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 mins
Interview date22 Oct 2020
Coding problem1

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

Think of it as a recursive algorithm continuously splits the array in half until it cannot be further divided. This means that if the array becomes empty or has only one element left, the dividing will stop, i.e. it is the base case to stop the recursion. If the array has multiple elements, split the array into halves and recursively invoke the merge sort on each of the halves. Finally, when both halves are sorted, the merge operation is applied. Merge operation is the process of taking two smaller sorted arrays and combining them to eventually make a larger one.

Try solving now
02
Round
Medium
Video Call
Duration30 mins
Interview date18 Nov 2021
Coding problem4

Firstly They told me to introduce myself and then asked some DBMS questions and follows by Java questions, & OOPs, and 1 basic data structure question. then some casual talks about my life.

1. Find All Anagrams in a String

Easy
15m average time
85% success
0/40
Asked in companies
IntuitPaytm (One97 Communications Limited)Accenture

You have been given a string STR and a non-empty string PTR. Your task is to find all the starting indices of PTR’s anagram in STR.

An anagram of a string is another string which contains the same characters and is obtained by rearranging the characters.

For example: ‘SILENT’ and ‘LISTEN’ are anagrams of each other. ‘ABA’ and ‘ABB’ are not anagram because we can’t convert ‘ABA’ to ‘ABB’ by rearranging the characters of particular strings.

Note:

1. Both STR and PTR consist of English uppercase letters.
2. Length of string 'STR' will always be greater than or equal to the length of string ‘PTR’.
3. In case, there is no anagram substring, then return an empty sequence.
4. In case of more than one anagrams, return the indices in increasing order.
Problem approach

A simple method is to create a Hash Table. Calculate the hash value of each word in such a way that all anagrams have the same hash value. Populate the Hash Table with these hash values. Finally, print those words together with the same hash values. A simple hashing mechanism can be a modulo the sum of all characters. With modulo sum, two non-anagram words may have the same hash value. This can be handled by matching individual characters.

Try solving now

2. OOPs Questions

What is the difference between OOP and SOP?
What is Object Oriented Programming?

Problem approach

Tip 1:give the proper answer with an example of real life 
 

3. OOPs Questions

What are the different types of inheritance?
What are the limitations of inheritance?

4. OOPs Question

What are the main features of OOPs?

03
Round
Easy
HR Round
Duration30 mins
Interview date10 Dec 2020
Coding problem1

General Discussion and Knowledge are asked as some basic questions about my life

1. Basic HR Questions

Why are you interested in this job? 

Would you like to work overtime or odd hours?

Why do you want to start your career in It only ?

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 Next
2 rounds | 5 problems
Interviewed by Cognizant
1249 views
0 comments
0 upvotes
company logo
Genc Next
2 rounds | 6 problems
Interviewed by Cognizant
905 views
0 comments
0 upvotes
company logo
Genc Next
2 rounds | 7 problems
Interviewed by Cognizant
1733 views
0 comments
0 upvotes
company logo
Genc Next
3 rounds | 9 problems
Interviewed by Cognizant
1064 views
0 comments
0 upvotes