Cracking the Coding Interview | Mr. Arjun Arul, Codechef | 2017

14 Replies to “Cracking the Coding Interview | Mr. Arjun Arul, Codechef | 2017”

  1. Rishik Ram

    In second problem every consecutive person can save each other just by coughing or indicating some thing so that every one is saved and last person can be saved by ur explanation sir

  2. Your choice

    Problem 2 will be should like
    As last guy know front of it weather guy hv hat or not last guy will shout for them so by this he saves n-1 guys and when come to him he will take (total Number or hats – total Number of hat visible front of him ) if it's zero means no hat on him and if difference is 1 means he have hat . That's it 🤔

Leave a Reply

Your email address will not be published. Required fields are marked *