You have a given set of prices in an Array, find at which price you should buy and at which price you should sell so that you maximize the gain
Software Engineer Interviews
Software Engineer Interview Questions
Software engineers write programs to design and develop computer software. Interviews are highly technical, so come ready to work through coding problems and math brainteasers. The specific questions you are asked will depend on what type of programming position you are looking for. Try researching a specific software discipline such as web development, application development, or system development.
Top Software Engineer Interview Questions & How to Answer
Question #1: How would you describe your programming task process?
Question #2: Which programming languages do you know and prefer?
Question 3: What is an example of a successful project that you completed?
419,495 software engineer interview questions shared by candidates
Given a array of a series of characters (char array from string) reduce multiple spaces to a single space, while preserving the other characters. The swapping needs to take place within the initial array.
puzzle: there are 2 cans of size 4 liter and 7 liter. how can you get 2 litters of milk from it.
Suppose you have a huge collection of integer values, in an array or a list or some similar data structure. Now suppose there are exactly two appearances of all integers, except one. In other words, each integer appears twice, in some random order, except 1. How would you find that 1 integer.
Given a sequence of integers and an integer total target, return whether a contiguous sequence of integers sums up to target.
1. K-th largest number in the array
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?
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.
Check if two strings are Palindrome
Given a set of words, group them into sets of anagrams.
Viewing 1901 - 1910 interview questions