One follow etiquette about several things in life but rarely people talk about resignation etiquette.
The problem resolves around find which of the coin is uneven in weight of all other coins. Suppose there are around 8 coin out of them one is heavy/light then others and we have one scale where we can compare two things
Last time I had stopped optimizing this the problem more because we were having a discussion where string concatination is a costly opperation. So yesterday I was talking with Nishchay how can about the previous blog and other things at that point we started on optimizing this further avoiding string contactination as well.
Recently I have been giving few interviews and I have faced this problem twice or thrice I guess where an interviewer asks me this problem.