Given a 2d array of zeros, there may be a rectangle (block) of 1s. Return the top left coordinates of the rectangle. ie. [[0,0,1],[0,0,1],[0,0,1]] returns (2,2) The second question was how to solve it if you had to find many rectangles.
Developer Internship Interview Questions
712,571 developer internship interview questions shared by candidates
Q: How can you tell if a Linked List is a Palindrome?
Write a function that finds all the different ways you can split up a word into a concatenation of two other words.
Why did you decide to take X club or join X org?
what is the difference between var and let
1. You are given x amount of balls, all but two are red, all but two are green, all but two are blue. How many balls do you have? 2. Why are manhole covers circular? 3. There are x amount of balls in a bag, 8 are red, 4 are green, 4 are blue. You are blind folded. What is the least amount of balls you have to pull out of the bag to be 100% sure you have 1 of every color.
program for Armstrong number and program for factorial
How would you translate input string into sequence of movements through on screen keyboard? What if you can loop through rows and columns?
Q how would you send a 2GB file from point A to B consider any problems that may arise
Given an array of 0's and 1's convert the 0's to 1's and 1's to 0's without changing the order and without using any conditions.
Viewing 1821 - 1830 interview questions