Give me 5 different ways of finding the median (middle element) of a linked list. For the sake of simplicity, assume the list has odd number of ints. Also mention the runtime for each. Follow up: What's the fastest way you could find the median? What is the runtime? Oh.. and yes, code your answer(s) in any language of your preference.
Software Developer I Interview Questions
711,111 software developer i interview questions shared by candidates
You have 10 bags that weighs the same except for one that weighs less. With a scale, what's the shortest number of tries to find the bag that weighs less?
Very very hard, they ask you to do a poker project for 8 hours and give no feedback after and ask you to leave
Given a string of the form: "{Valery,Jason,Peter} was in {good,bad} mood and he went to the {beach, party, library}"; Print out all the permutations of the string. Eg: Valery was in good mood and he went to the beach.
why should i hire you
In interview, for DS: link list , stack, queues , Quicksort etc, JAVA(core) .
Algorithms question was probably the trickiest thing. Given an array of integers of length N from 1 to N-1, how would you detect a single duplicate in the array?
The Codility challenge had 3 problems: 1 - A SQL query, 2 - A development problem, equivalent to a medium difficulty in Leetcode and 3 - Finding a bug in a function.
1.difference between abstract class,interface
what do you know about POS testing
Viewing 1151 - 1160 interview questions