Results 1 to 2 of 2

Thread: Surprise Gift

  1. #1
    Expert Member
    Join Date
    Jan 2007
    Answers
    272

    Surprise Gift

    Suppose u want to send a surpise gift to your friend.
    U have a big box in which u can put that gift.
    This box has a ring on which u can attach your lock.( Similarly like what u people have seen on a box where u put your locks).
    The ring is big enough that many locks can be attached to it.
    U hve many locks and every lock has a single key. ( Each lock has its own unique key)
    But ur friend doesn't have duplicate keys for those locks. (neither the lock keys can be duplicated or a new key can be made from lock).

    Now the problem is u hve to send ur gift in that box ( locked) to ur friend. Bt u cannot send the keys.

    How will u do dat?

    Last edited by smart_coder; 03-26-2007 at 03:03 AM.

  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: Surprise Gift

    put that gift into that box and locked with one of your locks and send it. Your friend should then attach one of his own locks and return it.

    when you receive again, you just remove your lock and send back. Now he can unlock his own lock get the gift.

    ------------------
    suresh


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact