Yodlee
10+ CADCAMSYS Interview Questions and Answers
Q1. Palindrome Linked List Problem Statement
Determine if a given singly linked list of integers is a palindrome. Return true
if it is a palindrome, otherwise return false
.
Example:
Input:
1 -> 2 -> 3 -> 2 -> 1 -> ...read more
Q2. Valid Parentheses Problem Statement
Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.
Input:
The first line contains an integer...read more
Q3. to write code to check linked list is palindrome or not, in a single traversal and without using any other data structure
Code to check if linked list is palindrome without using any other data structure and in a single traversal.
Traverse the linked list using two pointers, one slow and one fast
Reverse the first half of the linked list while traversing
Compare the reversed first half with the second half of the linked list
Q9. write a program for snake traversal of binary tree
Program for snake traversal of binary tree
Use a stack to keep track of nodes to be visited
Start with the root node and push it onto the stack
While the stack is not empty, pop a node and print its value
If the level is even, push the left child first and then the right child onto the stack
If the level is odd, push the right child first and then the left child onto the stack
More about working at Yodlee
Interview Process at CADCAMSYS
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month