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.
Developer Interview Questions
268,925 developer interview questions shared by candidates
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?
Use javascript to covert string into number without using any direct method.
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.
Convert number above in hexadecimal 312312 Ex. 255 -> FF 254 -> 254 div 16 = 14, int(254/16) = 15. -> F, E Later I found the detailed Division-remainder in source base http://en.wikipedia.org/wiki/Hexadecimal#Division-remainder_in_source_base
What's your idea of hard work?
Half an integer without using * or / in your preferred language.
Viewing 521 - 530 interview questions