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

Programmer Analyst

Cognizant
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data Structures, JAVA, OOPS, DBMS, Dynamic Programming
Tip
Tip

Tip 1 : Practice coding everyday
Tip 2 : Practice aptitude and reasoning 
Tip 3 : Practice at least 300 data structure questions

Application process
Where: Campus
Eligibility: Above 6.5 CGPA, no active backlogs
Resume Tip
Resume tip

Tip 1 : Add at least 2 project in your resume
Tip 2 : Keep it simple, add only those subject you know very well

Interview rounds

01
Round
Medium
Online Coding Interview
Duration30 minutes
Interview date3 Nov 2021
Coding problem2

First I have cleared the written test then the technical round was conducted and it was 30 minutes long interview after short listing from the coding round HR is there. All the round I have given from my home.

1. MCQ Questions

Aptitude, reasoning, verbal English, reading passage

Number Of MCQS - 60

2. String Palindrome

Easy
0/40
Asked in companies
Paytm (One97 Communications Limited)CIS - Cyber InfrastructureInnovaccer

Given a string, determine if it is a palindrome, considering only alphanumeric characters.

Palindrome
A palindrome is a word, number, phrase, or other sequences of characters which read the same backwards and forwards.
Example:
If the input string happens to be, "malayalam" then as we see that this word can be read the same as forward and backwards, it is said to be a valid palindrome.

The expected output for this example will print, 'true'.

From that being said, you are required to return a boolean value from the function that has been asked to implement.

Problem approach

This is a very simple coding problem . I solved this question using c programming language you only have to put the mathematical logic.

Try solving now
02
Round
Medium
Video Call
Duration30 minutes
Interview date10 Nov 2021
Coding problem1

It was 30 minutes long program

1. Reverse Words In A String

Easy
10m average time
90% success
0/40
Asked in companies
FacebookAmerican ExpressJP Morgan

You are given a string 'str' of length 'N'.


Your task is to reverse the original string word by word.


There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.


Example :
If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
Problem approach

Basic programming question...every programmer solve this type of question once in his lifetime

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
Programmer Analyst
3 rounds | 4 problems
Interviewed by Cognizant
843 views
0 comments
0 upvotes
company logo
Programmer Analyst
3 rounds | 4 problems
Interviewed by Cognizant
964 views
0 comments
0 upvotes
company logo
Programmer Analyst
2 rounds | 4 problems
Interviewed by Cognizant
869 views
1 comments
0 upvotes
company logo
Programmer Analyst
3 rounds | 8 problems
Interviewed by Cognizant
952 views
0 comments
0 upvotes