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.
Software Development Interview Questions
36,991 software development interview questions shared by candidates
You are given two buckets. One holds 3 gallons and the other holds 5 gallons. Have do you make 4 gallons of water?
how much memory is int[3000][3000] in bytes and then in MB's. should this size of memory be allocated or static?
Different Sorting Algorithms and Big O of each
given binary tree inorder & preorder traversal, return postorder traversal
Find a convergence point if any in given two linked lists.
How would you test a vending machines? Write some test cases.
Given an int array and an int X, find out if two elements sum up to X
Display the first 3 character of a word(string)
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
Viewing 581 - 590 interview questions