The most difficult in that interview is linked list, although it's not difficult at all. The quesiton is to remove all even numbers from the linked list
Sdet Interview Questions
4,391 sdet interview questions shared by candidates
What do you do when there is no Answer?
Write a function that takes in 3 sides (lengths) of a triangle and determine if it is a valid triangle. (see, it's not too bad, remember the basics and you'll be fine)
There was no difficult or unexpected questions. for instance: -sort an array with just two types of elements, optimize your algorithm -find common letters in two strings and put them in a sorted order -compare sorting algorithms
Find if two nodes in a binary tree have a common ancestor.
Hardest challenge faced?
First round interview asked to write program that took a file of text, and then counted and stored all words from file.
Given any two nodes in a binary tree, develop program that determined their highest common ancestor.
Explain how to test this code, write atoi, etc
Relatively simple questions based on arrays and trees.
Viewing 201 - 210 interview questions