Yatra.com Interview Experience | Set 10

Round 1 :

  1. Given two linked lists, we have to find their intersection point.
  2. Given an array, find triplets whose sum equals the given number. 
    For Example –
    Find if there exists 3 numbers in the given array whose sum equals the given sum.

    Array =  {2, 7, 4, -1, 3}  and sum = 6.
    
    Output :   4, -1, 3  
    Since 4 + (-1) + 3 = 6
  3. Given a binary tree, make it right skewed.

Round 2 :



  1. Given an array, arrange it in an zig-zag manner.

    For Example –

    Input : 9, 6, 3, 4, 10, 12, 5
    
    Output : 6, 3, 9, 4, 10, 5, 12
  2. Questions on design –
    • Elevator design
    • Implement your own hash map.

 


Write your Interview Experience or mail it to contribute@geeksforgeeks.org



My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.