Developer Interview Questions

269,153 developer interview questions shared by candidates

You are given an array of integer numbers (not sorted, possibly negative, with possible repetitions). You are required to write a function that, given a number x, would find whether there are two numbers in the array summing up to this x.
avatar

Software Developer

Interviewed at Varicent

4.1
May 11, 2012

You are given an array of integer numbers (not sorted, possibly negative, with possible repetitions). You are required to write a function that, given a number x, would find whether there are two numbers in the array summing up to this x.

Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [−2,1,−3,4,−1,2,1,−5,4], the contiguous subarray [4,−1,2,1] has the largest sum = 6.
avatar

Senior Software Developer

Interviewed at Allstate

3.5
Jul 24, 2016

Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [−2,1,−3,4,−1,2,1,−5,4], the contiguous subarray [4,−1,2,1] has the largest sum = 6.

Write a program to accept pool of strings and accept 1 choice between 4 operations and do the selected operation 1.Undo(Remove last entered string) 2.Redo(Again add the removed string) 3.Display(Display the pool after operation) 4.Exit(exit the pool)
avatar

Java Developer

Interviewed at SecurView

3.7
Apr 29, 2017

Write a program to accept pool of strings and accept 1 choice between 4 operations and do the selected operation 1.Undo(Remove last entered string) 2.Redo(Again add the removed string) 3.Display(Display the pool after operation) 4.Exit(exit the pool)

Viewing 841 - 850 interview questions

Glassdoor has 269,153 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.