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

Genc Next

Cognizant
upvote
share-icon
2 rounds | 9 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: DBMS, SQL, Data Structures, OOPS Concepts, Top Most Software Engineering Interview Asked Questions, Technologies that i mentioned in my Resume.
Tip
Tip

Tip 1 : Learn and Revise everything you have mentioned in your resume. Top most interview questions asked in the programming languages you have mentioned in your skill set in Resume.
Tip 2 : Prepare Top most asked coding questions in Arrays, Stacks, Linked Lists, and etc.
Tip 3 : Prepare from Coding Ninjas Top most asked Coding Problems and GeeksforGeeks Interview Prep.

Application process
Where: Campus
Eligibility: 6 CGPA or 60% through out academics
Resume Tip
Resume tip

Tip 1 : Have More than one Technical Project using any Technology - [Data Science, Machine Learning, Web Application Development, Android, Blockchain, etc]
Tip 2 : One Page Resume is enough for Freshers [Watch Youtube Videos for Resumes]
Tip 3 : Do not mention anything in your resume in which you are not confident enough to answer whatever the interview may ask.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration150 minutes
Interview date20 Aug 2021
Coding problem3

MCQs: [ Total Question – 50 ]
Aptitude – Profit & Loss, Average, Time & Work, Speed & Time, Simple & Compound Interest
Reasoning – Sitting arrangement, Coding decoding, Blood relation
English – Passage Answer, Antonyms, Synonyms
Computer Science – OOPS , OS, DBMS, HTML Tags

Automata Fixing Round [6 Questions]
To fix errors and complete methods in Java to perform required operations so that code can execute without any errors

1. Move All Negative Numbers To Beginning And Positive To End

Easy
10m average time
90% success
0/40
Asked in companies
SAP LabsPaytm (One97 Communications Limited)PayU

You are given an array 'ARR' consisting of 'N' integers. You need to rearrange the array elements such that all negative numbers appear before all positive numbers.

Note:
The order of elements in the resulting array is not important.
Example:
Let the array be [1, 2, -3, 4, -4, -5]. On rearranging the array such that all negative numbers appear before all positive numbers we get the resulting array [-3, -5, -4, 2, 4, 1].
Problem approach

First we create an empty array (temp[]). 
then we store all positive element of given array and then we store all negative element of array in Temp[]. Finally we copy temp[] to original array.

Try solving now

2. Check If The String Is A Palindrome

Easy
10m average time
90% success
0/40
Asked in companies
SamsungSterlite Technologies LimitedGrab

You are given a string 'S'. Your task is to check whether the string is palindrome or not. For checking palindrome, consider alphabets and numbers only and ignore the symbols and whitespaces.

Note :

String 'S' is NOT case sensitive.

Example :

Let S = “c1 O$d@eeD o1c”.
If we ignore the special characters, whitespaces and convert all uppercase letters to lowercase, we get S = “c1odeedo1c”, which is a palindrome. Hence, the given string is also a palindrome.
Problem approach

1. Find length of str. Let length be n. 
2. Initialize low and high indexes as 0 and n-1 respectively. 
3. Do following while low index ‘l’ is smaller than high index ‘h’. 
a. If str[l] is not same as str[h], then return false. 
b. Increment l and decrement h, i.e., do l++ and h–. 
c. If we reach here, it means we didn’t find a mis

Try solving now

3. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
InformaticaUrban Company (UrbanClap)PhonePe

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Problem approach

1. Traverse linked list using two pointers.
2. Move one pointer(slow_p) by one and another pointer(fast_p) by two.
3. If these pointers meet at the same node then there is a loop. If pointers do not meet then linked list doesn’t have a loop.

Try solving now
02
Round
Easy
HR Round
Duration45 minutes
Interview date10 Sep 2021
Coding problem6

Technical and HR Interview

1. Basic HR question

Tell me about yourself.

Problem approach

Keep it Short. And Write about yourself on paper and think what question can be asked from this. If interview may be interested in something you mentioned in your about yourself introduction.

2. Basic HR Question

Explain a little bit about anyone project mentioned in the resume. [ I explained about my Movie Recommendation Web Application ]

Problem approach

Tip 1: Please mention your role in the project if it is a team project, In my case i worked on FrontEnd and Database in MySQL and SQlite. But the project also have Machine Learning part that i do not know about. So if you would not tell your role in your project then you may hear random questions regarding other technologies that you would have not worked on.
Tip 2: Speak more technical terms, like Agile, collaborated using Git VCS[ Version control System], etc.
Tip 3: Also tell about your other skills that you used in the project since here you are selling your skills in Interview as i mentioned my testing skills like we also implemented Unit Testing too in our project.

3. Data Structure based Question

Linked List and Basic Data Structure Interview Questions

Problem approach

Tip 1 : Check from GeeksForGeeks Most Asked Data Structures interview Questions

4. Technical Questions

Types of SubQueries. and Then what is Corelated SubQuery And then Type an example of Corelated Subquery

Indexing in DataBases

Tell me about different types of Search Methods and Sorting Algorithms Only Names

Tell me about Collection framework in Java [As i Told him my favourite language is Java] why Java over Python?

Different Types of Exceptions in Java?

A simple example of Lambda Expression & he asked me the output of it which I answered.

5. Basic HR Question

Any Challenges you faced till now, and how you overcame those challenges or Obstacles?

Problem approach

Tip 1: Tell about any challenge you faced while working on a project?

6. Puzzle

Two Aptitude Question he copy pasted in the chat to see if i can solve it live or not. I think This is just to check if candidate has taken any help in First round or if he or she can solve similar questions.

Problem approach

Your Quantitative aptitude should be good as these questions may prove that you took some help in First Aptitude Round.

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