Intuit Interview | Set 3 (For SE-2)

Written round:
1. Write a parser which takes java file as input and give count of uncommented lines as output. I wrote code with regular expressions, but I think he was expecting some state transition sort of approach.

2. Given a large file in which one no. occurs in strict majority(>50%). Find that no.

1. Mostly discussed written round questions.

2. Secondary sort with map reduce.

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

Write your Interview Experience or mail it to

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.