Write a function that determines whether a given number is a prime. Discuss perf improvements.
Sdet Interview Questions
4,391 sdet interview questions shared by candidates
Reserve link listed pair-wise
Reverse the individual words in a string (words are delimited by spaces). Example - "Hello world" becomes "olleH dlrow".
Shuffle Linked List
Given the root of a binary search tree, link all the nodes at the same level, by using an additional Node* level.
How can you write a recursive function calculating the exponential of a number?
The interviewer confused me like hell when describing the question. Every node of the tree has a pointer to its left most child. each node has a pointer to its next sibling. Its a BST. Find the smallest value in the tree.
How to insert a Node in a Linked list.
All sorts of brain teasers (monte hall problem, etc)
Design and implement a "inner join" function using 2 sorted lists/arrays. Make it run in O(n) time.
Viewing 71 - 80 interview questions