I was contacted by a recruiter for the interview. Interview was scheduled in the evening.
There were total of 3 rounds which was completed in 2 days plus a HR call over the phone.
ROUND 1
1.Sort an array such that elements at odd places are greater then its neighbour.
2.Find a key in sorted rotated array.
Round 2
1.Questions from project which i am currently working on.
2.Create dead lock and remove it.
3.what is wrong with the method and how to improve the it.
public void sendMailNotification(List[] users){
//create DB connection
//Iterate over users arrayList and send mail
//update data base with emailSendFlag as Yes
```}
**Round 3**
1.Projects which i have worked on
2.Second heighest salary.
4.How will you store {(1,a),(2,a),(3,b)} and retrieve effectively.