Design a scheduler to run many functions at different times. It needs to
(obviously) be thread-safe. Each task which is scheduled to run will have a
time stamp, containing a desired execution time, a function pointer
(containing the desired function). Also, find a way to supply the arguments
The answer will depend on the size of the matrix.. right?
On Saturday, April 27, 2013 8:22:00 PM UTC+5:30, ASK wrote:
Hi all,
I was asked this question in Amazon interview.
There is a matrix suppose(3x4). And I traverse through each position only
once in spiral movement like (0,0),(0,1),