Cognizant Software Engineer Onsite Coding Questions
9+ questions from real Cognizant Software Engineer Onsite Coding rounds, reported by candidates who interviewed there.
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
#9 Palindrome Number
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
LeetCode #1: Two Sum. Difficulty: Easy. Topics: Array, Hash Table. Asked at Cognizant in the last 6 months.
#509 Fibonacci Number
LeetCode #509: Fibonacci Number. Difficulty: Easy. Topics: Math, Dynamic Programming, Recursion, Memoization. Asked at Cognizant in the last 6 months.
#121 Best Time to Buy and Sell Stock
LeetCode #121: Best Time to Buy and Sell Stock. Difficulty: Easy. Topics: Array, Dynamic Programming. Asked at Cognizant in the last 6 months.
#20 Valid Parentheses
LeetCode #20: Valid Parentheses. Difficulty: Easy. Topics: String, Stack. Asked at Cognizant in the last 6 months.
#88 Merge Sorted Array
LeetCode #88: Merge Sorted Array. Difficulty: Easy. Topics: Array, Two Pointers, Sorting. Asked at Cognizant in the last 6 months.
#5 Longest Palindromic Substring
LeetCode #5: Longest Palindromic Substring. Difficulty: Medium. Topics: Two Pointers, String, Dynamic Programming. Asked at Cognizant in the last 6 months.
#175 Combine Two Tables
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