Know your data structures
Software Development Interview Questions
36,989 software development interview questions shared by candidates
How to detect overlapping area for two rectangles
Connect nodes at the same level in a binary tree
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?
Q: In an array that has one value for more than half of its elements, how can you find that value?
Given a linked list with three fields: a data field, a next field and a random pointer field (which is a field that points to null or to an element in the linked list) write a function to return a copy of the linked list without destructively modifying the original linked list
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.
Write a function that takes a String as a parameter. Count the number of A's in the String before you reach a C.
Write a function to turn a string into an integer and test it
Write a function to convert a number in Roman numeral form to a decimal representation.
Viewing 361 - 370 interview questions