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

SDE - 1

Cognizant
upvote
share-icon
2 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 Months
Topics: DSA, DBMS, Puzzles, OS, System Design
Tip
Tip

Tip 1 : Never never try to cheat in online interview the interviewer will definitely get to know.
Tip 2 : Psuedo code presentation matters a lot so name Your variable properly and with proper indentation.
Tip 3 : Keep on trying even if You feel that's not the right answer so at least put that idea forward.
Tip 4 : Do Leetcode medium questions as much as possible As they are mostly asked in Interviews.

Application process
Where: Campus
Eligibility: 7 cgpa
Resume Tip
Resume tip

Tip 1 : Avoid unnecessary details on Resume
Tip 2 : Make It look clean and also keep it of one page

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date22 Oct 2021
Coding problem1

It was an aptitude + ds+ os mcq. And 1 coding question

1. Pair Sum

Easy
15m average time
90% success
0/40
Asked in companies
GenpactWalmartCognizant

You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.

Note:

Each pair should be sorted i.e the first value should be less than or equals to the second value. 

Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Problem approach

used the 2 pointer approach

Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date22 Oct 2021
Coding problem1

It was an technical round.
In the technical, they asked me to introduce myself and I gave the usual introduction of 1-2 minutes. 

Then they asked me about my preference for programming language and I said C++. 
Then they asked me to write a program for star pattern and they asked a few more questions about C++. 
They also asked about my branch and asked related to that question. They asked questions on oops, dbms and os.

1. Star Pattern

Easy
0/40
Asked in companies
CognizantIBMPaytm (One97 Communications Limited)

Pattern for N = 4


Hint
As taught in the video, you just have to modify the code so that instead of printing numbers, it should output stars ('*').

The dots represent spaces.



Try solving now

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
SDE - 1
2 rounds | 5 problems
Interviewed by Cognizant
1746 views
1 comments
0 upvotes
company logo
SDE - 1
2 rounds | 6 problems
Interviewed by Cognizant
1760 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 6 problems
Interviewed by Cognizant
1798 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Cognizant
909 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
6877 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6240 views
3 comments
0 upvotes