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

Genc Next

Cognizant
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: OOPS, Data Structures, DBMS, Collection Frameworks ,Exception Handling.
Tip
Tip

Tip 1 : Just practice the question as much as you can and be in practice till you give the exam
Tip 2 : Represent your project in a way that impresses and make a project that adds value to the society and explains it well
Tip 3 : Most important feel confident, they help u in a way so be confident

Application process
Where: Campus
Eligibility: above 6 cgpa
Resume Tip
Resume tip

Tip 1 : They are interested in oops and algorithms so mentioned
Tip 2 : Make a development project and add it to the resume, just don't add too much of intro keep it short

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date1 Sep 2021
Coding problem2

The exam was in the morning,
There was 2 coding questions asked and an SQL query which is important
Just keep in mind of time and you have to pass the section too

1. Reverse Number

Easy
10m average time
90% success
0/40
Asked in companies
CognizantTata Consultancy Services (TCS)Accenture

Ninja is feeling very bored and wants to try something new. So, he decides to find the reverse of a given number. But he cannot do it on his own and needs your help.

Note:

If a number has trailing zeros, then its reverse will not include them. For e.g., the reverse of 10400 will be 401 instead of 00401.
Problem approach

Fist take out each digit of the number and then finally add the first and second last digit
example n =n%1000 (depend on the n th number)
then reverse the number

Try solving now

2. Admission in Ninja Gram

Easy
15m average time
80% success
0/40
Asked in companies
SnapdealCognizantZoho Corporation

Ninja is shifting to a new place named NinjaGram. To take admission to the new school, the teacher gives him a sentence and asks him to check whether the sentence is a pangram.

A word or a sentence is called a pangram if it contains all the English alphabet letters.

Since Ninja is new to programming, he doesn’t have much experience; he asks you to solve the problem. Can you help Ninja figure out whether the sentence is a pangram?

Problem approach

take out the panagram of the string and then use the recursive approach for the subset

Try solving now
02
Round
Medium
Video Call
Duration65 minutes
Interview date9 Sep 2021
Coding problem3

the interview was scheduled for 5 pm but the interviewer came till 7 pm I was just waiting for that long time 
it was taken by superset through video call , so be in a formal dress that I recomend

1. Frequency In A Sorted Array

Easy
15m average time
85% success
0/40
Asked in companies
OlaAdobeMcAfee

You are given a sorted array 'ARR' and a number 'X'. Your task is to count the number of occurrences of 'X' in 'ARR'.

Note :
1. If 'X' is not found in the array, return 0.
2. The given array is sorted in non-decreasing order.
Problem approach

So for my first step i follow brute force approach and I solve by integrating through the string and maintaining a count of new letter and at last comparing through min and max

then interviewer ask for better approach then I use hashmap (use google to find soln)

Try solving now

2. DBMS Questions

What are the different types of keys? 
What do you know about joins and nested joins? 
Asked a question to query where I have to use 3 joins?

Problem approach

Tip 1 : Prepare DBMS with good basic and also know the definitions
Tip 2 : Do practice for SQL queries more focus on joins
 

3. Technical Questions

He asked a lot of question from my project, he spend at least 40 mins on my project about my stack I am using whats the approach ? why you choose to go in this way ? these all are the question he asked me

Problem approach

Tip 1 : Make a development project and just really do work on it
Tip 2 : Be confident what u have made and explain the interviewer about the project well so he can get interested in project
Tip 3 : if u want to drive your interview to project just while giving your intro give a little intro to your project like what technology it uses and all

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 | 7 problems
Interviewed by Cognizant
1734 views
0 comments
0 upvotes
company logo
Genc Next
3 rounds | 6 problems
Interviewed by Cognizant
867 views
0 comments
0 upvotes
company logo
Genc Next
3 rounds | 9 problems
Interviewed by Cognizant
1064 views
0 comments
0 upvotes