what is method overloading and overriding? Difference? Give examples.
Development Interview Questions
137,413 development interview questions shared by candidates
How to save resources' IDs used by an activity and access them in O(1), assuming there could be an infinite number of resources?
Hardest question was how to sort a linked list using recursion only. I knew the iterative solution but couldn't come up with recursion. Very difficult.
Wenn Ihnen alles Geld dieser Welt zur Verfügung stünde, was würden Sie als Unternehmer damit tun?“
Longest palindrome in a string.
Generate all permutations of a string and determine if each is in the dictionary. Find an efficient data structure for the dictionary.
Graph Coloring problem: given a connected graph, color each node in the graph such that no two adjacent nodes have the same color.
Consider two arrays of integers, v1 and v2, with allocate memory of (n+m)*sizeof(int) and m*sizeof(int), respectively; In array v1, you have the first n positions filled with integers, sorted in ascendent order. In array v2, you have all m positions filled with integers, also sorted in ascendent order. Write/implement a function that return a vector of size (n+m)*sizeof(int) that have all the elements of v1 and v2, sorted in an ascendent order
Different Sorting Algorithms and Big O of each
Determine whether a given binary tree is fully populated, where "fully populated" means that every internal node has exactly two children, and all terminal nodes are at the same depth.
Viewing 891 - 900 interview questions