Interview at IVY Comptech -
Majorly interview was around Garbage Collector in Java like -
a) When the Garbage collector runs?
b) What is the memory model in Java?
c) Design Garbage collector.
One question was around to code to reverse the words in a sentence like -
Input :- This is a Sentence
Output : sihT si a ecnetneS
Condition :- Dont use any loop or iterator.
One question to find middle node in the link list in one iteration.
1 or 2 normal questions were also asked but I don't remember them but will post the code for the above here soon.
Majorly interview was around Garbage Collector in Java like -
a) When the Garbage collector runs?
b) What is the memory model in Java?
c) Design Garbage collector.
One question was around to code to reverse the words in a sentence like -
Input :- This is a Sentence
Output : sihT si a ecnetneS
Condition :- Dont use any loop or iterator.
One question to find middle node in the link list in one iteration.
1 or 2 normal questions were also asked but I don't remember them but will post the code for the above here soon.