Write a function that computes the intersection of two arrays. The arrays are sorted. Then, what if one array is really larger than the other array?
Softwareentwickler 3 Interview Questions
512,196 softwareentwickler 3 interview questions shared by candidates
Given a TV remote, write a script that would give directions to input some letters. Starting from the upper left-hand corner. If the buttons were in 3 columns, and you wanted to type "feed", you would want the output of the program to say "right, right, down, PRESS, left, PRESS, PRESS, left, PRESS"
Implement string rotateString(string input, int amt)
Write a function that takes the ordinal number of a column in a spreadsheet and returns the label of that column: i.e. 1 -> A 2 -> B, 26 -> Z, 27->AA
you have an array of stock prices. i-th element in that array represents the stock price of that day. find the buy and sell dates to maximize profit.
Using Collabedit, write a program to find the index of the first non-repeated character in a java string.
Suppose you have a matrix of numbers. How can you easily compute the sum of any rectangle (i.e. a range [row_start, row_end, col_start, col_end]) of those numbers? How would you code this?
Find Kth smallest element in a BST.
Generate a new array from an array of numbers. Start from the beginning. Put the number of some number first, and then that number. For example, from array 1, 1, 2, 3, 3, 1 You should get 2, 1, 1, 2, 2, 3, 1, 1 Write a program to solve this problem.
Write a function that takes 2 arguments: a binary tree and an integer n, it should return the n-th element in the inorder traversal of the binary tree.
Viewing 321 - 330 interview questions