Print the BST in level order
Software Development Interview Questions
37,006 software development interview questions shared by candidates
validate a binary tree
How to detect overlapping area for two rectangles
Reverse each word of the string without reversing the order of the words this is a test BECOMES siht si a tset
post order traversal of a Binary Search Tree Follow up Create a BST from this post order traversed array and write test cases for this function
Write a function to turn a string into an integer and test it
How to create excel header string
The question was: Given a text written in some language where the alphabets are represented with 1 byte or 2 byte. But the one byte alphabets always have their MSB 1 and the 2 byte charecters always have their MSB 0. Now when at some point user presses a back space how many bytes are to be deleted to erase the alphabet?
Write a function that returns the longest palindrome in a string. Not just the first one or any palindrome, but the longest. The String is a long sequence of characters, spaces included.
Find a duplicate integer in a list of length K with integers 1...K-1 and one duplicate. Do so in O(n) time with constant space.
Viewing 361 - 370 interview questions