Given a boolean array, create a class that takes in that array and has a function that can verify if a given range in the array is all True. Minimum area to encapsulate points a robot has walked to. BFS reachability from single point.
Internship Engineer Interview Questions
23,836 internship engineer interview questions shared by candidates
Find the nth term in the Fibonacci sequence
Implementing binary search over a sorted list
How to swap 2 nums by bit operating
write a function to check if two strings are substrings of each other (either first is substring of second or vice versa). write a function to check if two strings are anagrams of each other. The interview was 45 minutes and we didn't have time to code the seconds question so i discussed the two solutions and analyzed their time and space complexities.
Q: Given an array of integers, such that their product is also a 32-bit signed integer, replace each element of the array with the product of all elements besides it.
String manipulation questions
Find the longest palindromic sub sequence of a string
Find the subarray with the largest sum
Given a string of numbers, such as 3,3,3,4,2,3,4,5,2. I'd like to receive an output of 2, when I input 2. And an output of 4 when I input 3. This list can be very long.
Viewing 131 - 140 interview questions