eskay

I’m a connoisseur of art, a concoction of assorted interests, with a creative mind and an observant eye. An explorer by choice, I am a simple guy with rich tastes. I’m ever busy, read a lot, always at my witty best, and adore intelligence. Though I look reticent by chance, I talk a dozen to ten, if we share that bond. If you respect friendship, I will like thee. If you love music, you will love me.

Homepage: http://blog.karthiksankar.com

Yahoo Messenger: eskay_karthik

Jabber/GTalk: eskay.karthik


Posts by eskay

questions

interview questions – part 3

Question 1:

We form a 300-digit number using 100 0′s, 100 1′s and 100 2′s. Implement an algorithm to check whether the number formed is a square number or not.

Question 2:

There are two infinitely long tables. Coins are placed on one of those tables(number of coins unknown). Among those coins, 16 are placed with head facing up. The remaining are with tail facing up.

You are blindfolded and you do not know where the 16 coins are. The task is to do a particular task repeatedly such that after it is done, both the tables have the same number of coins with heads up. You can flip coins or move coins from one table to another.

Question 3:

Using two sandclocks, one which empties in 7 minutes and the other which empties in 11 minutes, how do we calculate a time interval of 15 minutes?

Solutions

VN:F [1.9.13_1145]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.13_1145]
Rating: +1 (from 1 vote)