Hi everyone, I am Mihir from NIT TRICHY,
A startup ** "Rapyuta Robotics"** came our college for hiring
as an intership , there are 4 rounds for hiring
ppt presentation
Round 1 -> written test
written test consist of maths , probability, algebra, puzzles , matrix and confusing questions
also 3 simple coding questions like sort program in descending order , anagram in string and armstrong no
mainly they focus on thought process in maths Round 2 ->
Behavioural HR round -> talk about family, previous studies and weakness and strength
Round 3-> technical round
asked me about strong topic in resume so i tell problem solving in dsa
1. leap year program
2. one debuging question on range of char ---- as char range (-128 to 127)
so the program
int main(){
char a;
for(a =1 ; a<= 127 ;a++){
cout<<a<<" ";
}
cout<<endl;
}
tell me about this code,
solution -> Error in this code , as loop about to end when a = 127 and a++ occurs then it comes out of range of char and a again becomes -128 which is less than 127 so loop didnt stop and gives tle
I didnt tell this in interview
3. He asked me about operating system - threads , race condition , critical seciton problems and deep more questions Round 4 -> Critical Thinking round
Puzzle is given and solve this puzzle
puzzle -> invariant means when there is change environment there is something does not change at every step
like when object drops from some height the potential energy is x and slowly drops and converts into kinetic energy
but sum of both kinetic and potential energy remains same
so interview gives me one puzzle
there are 1 - 100 no sorted array and there is operation of every index i such that arr[i-1] can swap with arr[i+1]
after some no of operation can we make this array of 100 no sorted in decreasing order ?
and also tell the invariant in this?
solution -> even size of array can always remains unsorted because we cannot move last indexed no to first
only odd sized array can be convert to decending order
invariant is => when we do operation every time odd/even indexed positioned values always be at odd/even index before and after the opeartion.
me - REJECTED for internship
this is my interview experience , hope it finds you helpfull . Thank you