Say the program you are running has stack overflow. You want to know when and where this happens, but you don't want to use debuggers, because they slow. How would you do this?
Software Engineer Interview Questions
467,290 software engineer interview questions shared by candidates
1. check whether a string is palindrome 2. reverse words in a string
1) Given an array with 0s and other integers. Find the fastest (that use least organizing) way to transfer all the 0s to the right end of that array. 2) Given an array of integer, find 2 numbers that their sum is closest to a specific number.
given an array of integers, find 3 integers that sum to zero
input: list of possibly overlapping intervals, not sorted output: list of intervals that cover the same range but without overlapping (all intervals are closed)
Find the indices of max. value in a large array and return them.
Given an array of integers and size find 3 integers that sum to zero. Explain a brute force algorithm
Given a set of words, group them into sets of anagrams.
given the utitlies getFriend(User u) and areFriends(User u1, User u2), write the function which takes as parameter the array of users and return a bool saying if you can divide the users in 2 groups s.t. if u1 and u2 both belong to a certain group, they are not friends.
Given a sequence of integers and an integer total target, return whether a contiguous sequence of integers sums up to target.
Viewing 1911 - 1920 interview questions