Given a list of people's names, organize a beer exchange such that each person is randomly assigned someone else to give a beer to, and someone to receive a beer from. Caveat: The person cannot receive a beer from the same person to whom they are gifting one.
Developer Interview Questions
269,104 developer interview questions shared by candidates
draw a reversed T pattern which would generate on dynamic series by giving odd input * * * * * @ @ @ @ Second Question is : * * * * * *
What is the output of below program. var a = [1,2,3,4] for (var i=0; i<a.length; i++){ setTimeout(function(){ console.log(i) },1000) } ( My Ans : it will print 4 5 times as it will store the latest reference) Next They asked me : How can i print 1,2,3,4 by changing some code in above example
1.program to print 1 to 100 without using any loop
You’re writing a monitoring app that periodically checks if a website is up. Of those listed below, what is the BEST way to schedule these periodic checks? A. Register a WakeLock with PowerManager. B. Call setInexactRepeating on AlarmManager. C. Post to a Handler with postDelayed. D. Call setPeriodicTimer on TimerService.
7. Sorting of array that contains date var dates = ['1/2/2019' , '11/12/2013', '1/1/1980', '11/1/1934']
Javascript callback property is enabled by another property called closure can you explain it how?
If a lilypad doubles in size every day and fills a lake in 50 days, how long will it take to fill half the lake?
How would you handle a user/group who is against using IT standard software?
Given an array of numbers, e.g. [5,0,9,2,5,5,5] - return all the consecutive numbers that add up to N.
Viewing 491 - 500 interview questions