The answer is pretty simple without jumping over hoops or thinking about taking MAX etc. SELECT value FROM table ORDER BY value DESC LIMIT 1,1 Why LIMIT 1,1 ? Shouldnt it be 2,1 Think again. LIMIT 0,1 is the first record. read on
For n as the number, round(n/5) + round(n/25) + round(n/125)+.......+round(n/5^n) etc till the reminder is 0.
Lets name the balls 0 1 2 3 4 5 6 7 8 9 for convinience. Step 1 : Take 3 balls from this set lets take 0 1 2 and weigh it against 3 4 5. Weighing 1. Step 1.1 : Now suppose both of ... read on
Solution 1
Barefoot Resort Reception in Havelock Island Andaman