1,2,3,5,7.... what will be the next number in series
Developer Interview Questions
269,109 developer interview questions shared by candidates
The third question was to generate all possible values for a string (for example if you have 'mother' sent as a string generate all possible strings you can have with the letters m, o, t, h, e, r like 'mthero', 'omther', 'therom', .....)
John went to a store and asked how much a certain item costs. The clerk said 1 dollar. John said "Okay, I'll have 600." The clerk said, okay your total bill is 3 dollars. What did John Buy?
You have two methods: one method takes long time to run and the other completes in short time. You execute the long method first and after that you execute the short method. Which one will complete first. There is no setTimeout involved.
On the interview I had to code an example with PHP and as they were watch me develop.
If I have a jar with 1000 coins and one is double headed and I pick one coin randomly and flip 10 heads what is the probability it is the double headed coin?
Question: Given a string comprising of all words of a text book. Find out the no of individual strings and their occurrences.
You have a function f(p) that returns an array of linked pages e.g f(homepage) = {page1, page2, page3}. Or f(page1) = {page4, page5}. If there is no linked pages function will return null. And we say one site is a good site if we can get to any page of that site in a less than 6 clicks. The task was to write a function that will check is it a good site or not using f(p).
if you have a linked list ordered like : n1-n2-n3-n4-n5-n6-n7-NULL. how to sort it to be at the order : n2-n1-n4-n3-n6-n5-n7-NULL
Given a point to an array of 12 bits in a graphics buffer where each 4 bits represented red green and blue respectively, flip the color of the array to blue.
Viewing 271 - 280 interview questions