Mostly the concepts of array and string manipulation. You are given an array with distinct numbers between 1 to 100. You have to return You have to return a string which says the number's range which are not in the given array separated by comma. Eg: Input: [50,75] Output: (0-49,51-74,76-100)
Software Engineer New Grad Interview Questions
6,134 software engineer new grad interview questions shared by candidates
Given a Pre-Order and In-Order string of a binary tree, can we and if we can, construct the "Post-Order" String.
He asked me to write a function to detect whether string1 contains all letters in string2
What is the difference between retail and global wealth?
Phone interview questions: Given an array of numbers (1,2,3,8,0,2,2,0,10), move all 0s to the right end and all other numbers to the left while keeping relative order of non-zero numbers. Has to be linear in time and in-place.
Given a list of integers that fall within a known short but unknown range of values, how to find the median value?
Given an input array like [1,2,3] and a target like 5, find all combinations of array that sum up to target. [2,3] and [3,2] counts for only 1 combination.
Given a decimal number, find the number of 1s in its binary representation? Follow up: Can u solve this in O(1) run time and O(1) space.
Given a bug report of a common Python library (everyone would know this library), run tests to observe the issue and then fix it.
Write a function that takes in an integer and returns the number of ones set in the binary representation.
Viewing 11 - 20 interview questions