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

SDE - 1

Cognizant
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 12 months
Topics: Data Structures, Python, Networking, Operating System, Oops Concept, DBMS.
Tip
Tip

Tip 1 : Practice SQL commands thoroughly
Tip 2 : Practice atleast one programming language
Tip 3 : Practice Data Structures

Application process
Where: Campus
Eligibility: 60% overall, no active backlogs, no year gap
Resume Tip
Resume tip

Tip 1 : Have technology related to your interest on resume
Tip 2 : Do not put false things on resume and have some projects with full knowledge on resume

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date2 Sep 2019
Coding problem2

1. MCQ Questions

Aptitude - 20
English - 20
Computer Science Questions - 20
 

Number Of MCQs - 60

 

2. Most Frequent Word

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

You are given two strings 'A' and 'B' of words. Your task is to find out the most frequent and lexicographically smallest word in string 'A', which is not present in string 'B'. If no such word is present in 'A', then return -1.

Note:

1. A word is a sequence of one or more lowercase characters.

2. Words are separated by a single whitespace character.
Example:
For the given string 'A' = “coding ninjas coding ninjas” and 'B' = “data structures and algorithms”, so both the word 'coding' and 'ninjas' are not present in string 'B' and occur two times each, but the word “coding” is lexicographically smaller than the word “ninjas”. So the answer is “coding”.
Problem approach

1. Loop through the string
2. Check for each alphabet and maintain the count.
3. Check the count if it is greater than other count , if no again iterate through loop, if yes exit the loop

Try solving now
02
Round
Easy
Face to Face
Duration60 minutes
Interview date7 Sep 2019
Coding problem1

1. Count the repetitions

Hard
25m average time
75% success
0/120
Asked in companies
ProtivitiCognizantApple

A string 'S' is defined as S[s,N] such that 'N' repetitions of 's' make 'S'. For example if S[“ab” 4] then 'S' = ”abababab”. You are given two string S1[s1, N1] and S2[s2, N2]. Your task is to find the maximum value of 'M' such that [S2, M] can be obtained from S1.

It is defined that 'S1' can be obtained from 'S2' if we can remove some character from 'S2' to get 'S1'. For example, string 's' = ”ab” can be obtained from “adeb” but not from “adef”.

For example,
S1[“abc” 4] , S2 = [“ab” 2]

Here, 'S1' = ”abcabcabcabc” and  'S2' = ”abab”,
After deleting all ‘c’ from 'S1' becomes  S'1 = “abababab”, which can also be written as 
S'1 =[“abab" 2] = [S2 2]. 
Hence the 'M' = 2.
Problem approach

1. Loop through the string
2. Check for each alphabet and maintain the count.
3. Check the count if it is greater than other count , if no again iterate through loop, if yes exit the loop

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date7 Sep 2019
Coding problem1

1. Basic HR Questions

Why Cognizant?
Are you willing to relocate?
Any questions you have related to company?

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