I was invited for an on-campus interview which was two rounds of 30 mins each. The first one was a resume walk through with basic questions such as how to improve SQL query performances, use of indexes, EXPLAIN statement, JAVA String vs StringBuilder vs StringBuffer, what is MVC, span vs div.
In the second round they gave me a java code to review (one sided A4 sheet) which does some string manipulations, it didn't have proper type casting, had one infinite loops, required constructor over loading, improper use of iterator.next(), 'static' usage mistake etc. With around 10 errors/optimizations.
After that, I was only left with around 10 mins and he gave me a problem with a class and asked to implement a method. The class is "Person" with attributes string name, int age, char sex, Person spouse, List<Person> children. The method should return me the oldest sibling pair (also considering there could be half-siblings that is, children from different parents). After reading through the problem I was left with less than 5 mins to implement it and didn't do it good, but once time was up (and he had few others to interview after me) I explained him how to solve it, but I realized it's only partially correct. I felt the time given was not fair, even the interviewer apologized for it.
It's been three weeks and never got a call back.