Cognizant

Cognizant Software Engineer Onsite Coding Questions

9+ questions from real Cognizant Software Engineer Onsite Coding rounds, reported by candidates who interviewed there.

9
Questions
1
Topic Areas
10+
Sources

What does the Cognizant Onsite Coding round test?

The Cognizant onsite coding round is the core technical evaluation. Software Engineer candidates typically see 2-3 algorithm and data structure problems. Problems range from medium to hard difficulty, and interviewers evaluate both correctness and code quality.

Top Topics in This Round

Cognizant Software Engineer Onsite Coding Questions

LeetCode #9: Palindrome Number. Difficulty: Easy. Topics: Math. Asked at Cognizant in the last 6 months.

LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Cognizant in the last 6 months.

#1 Two Sum

Algorithms

LeetCode #1: Two Sum. Difficulty: Easy. Topics: Array, Hash Table. Asked at Cognizant in the last 6 months.

LeetCode #509: Fibonacci Number. Difficulty: Easy. Topics: Math, Dynamic Programming, Recursion, Memoization. Asked at Cognizant in the last 6 months.

LeetCode #121: Best Time to Buy and Sell Stock. Difficulty: Easy. Topics: Array, Dynamic Programming. Asked at Cognizant in the last 6 months.

LeetCode #20: Valid Parentheses. Difficulty: Easy. Topics: String, Stack. Asked at Cognizant in the last 6 months.

LeetCode #88: Merge Sorted Array. Difficulty: Easy. Topics: Array, Two Pointers, Sorting. Asked at Cognizant in the last 6 months.

LeetCode #5: Longest Palindromic Substring. Difficulty: Medium. Topics: Two Pointers, String, Dynamic Programming. Asked at Cognizant in the last 6 months.

LeetCode #175: Combine Two Tables. Difficulty: Easy. Topics: Database. Asked at Cognizant in the last 6 months.

See All 9 Questions from This Round

Full question text, answer context, and frequency data for subscribers.

Get Access