Sum Array Puzzle Anagram find substring in particular string (All programs with a minimum complexity)
Developer Interview Questions
271,240 developer interview questions shared by candidates
Come up a most efficient way to determine if a integer is odd or even.
The technical interviewer had me write some code to sort a simple number array.
Write a function to compute a factorial n
Explain what inheritance is in Java
SQL Question: Different SQL queries to find duplicates?
First Round - Working of Hashmap, ArrayList Linked List, Java Basic questions Second Round - Coding Exercise - implement SecurityDataServices - Objective 1 1) SecurityServiceImpl - methods a)addSecurity(Security s) b)recordTick(long secID, Tick t), c)getPrice(Security s) d) getHistoricalPrice(Security S, TimeStamp asOfNow) 2)SecurityImpl - methods 1) getSecId() 2)getListTicks() 3)getCurrentPrice() 4)recordTick() 3) Tick Impl - methods 1) getPrice(), 2) getTimeStamp() Implement all these classes in 1.5 hr, Use multithreading, I used ConcurrentHashMap and CopyonwriteArraylist use atomic operations like putifAbsent() CodeReview questions - explain the flow of written code, explain java locks, write it using lambda expression, rewrite the code using locks 3rd round - behavioural questions - why do you want to join Sapient? extra activities apart from work? any technology that you follow?
2)How to clear an array by different way
basic que on oops and exception, Singleton patterrn, asked to write a simple array based program which further asked to optimize.
You are given an array with negative and positive unsorted numbers. Find out a pair whose sum = 0. If no such pair exists, find the pair whose sum is the closest to 0.
Viewing 1271 - 1280 interview questions