find duplicates in an array with space efficiency
Software Development Interview Questions
36,976 software development interview questions shared by candidates
Walk me through your resume. Tell me about a time you had to overcome an obstacle. How would you check if two strings are anagrams.
Given an int array with values that contain different heights in order, figure out the largest area of the rectangular shapes the values make. Afterwards asked about the efficiency of the algorithm i made.
Clone a linked list that has a cycle (do not fix the cycle). Is there a way to uniquely identify a node without relying on a hash code?
Program to check if a "ransom note", has been taken from a particular news paper article. Which meant you were given two arrays of strings, and you had to check if the first array, could have been constructed from the second set
Graph Coloring problem: given a connected graph, color each node in the graph such that no two adjacent nodes have the same color.
implement atoi
Write a function that checks if a number's divisors sum up to that number, i.e. whether it's a perfect number or not.
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
given binary tree inorder & preorder traversal, return postorder traversal
Viewing 581 - 590 interview questions