he didnt tell me any dependencies till the end.
he did nt seem to be happy
me: another solution can be to have 3 interfaces , one for swim,one for walk, one for fly and then implement these 3 interfaces as applicable. So for a bird that can walk and fly but cant swim , we can implement walk interface and fly interface and for a bird that can do all 3 activities , we can implement all 3 interfaces.
in-1 : ok i am done...
now the in-2 comes into the picture:
in-2: asking in-3, should be ask them that question
arrey puchna hai jo pucho but dhang se puchna.... at least give complete question... dont use question hiding ....
in-2: do you understand "is a " relationship and "has a " relationship.
a discussion on these relationship
in-2: i have a linkedlist class and i want to implement stack. should i use "is a " relationship or "has a " relationship.
me: sir, stack a kind of linkedlist where removal and insertion are restricted. Like in linkedlist we can insert anywhere and remove from anywhere but in stack, we can inserted only in the end and we can remove only from the end. So we should use "is a " relationship.
in-3: what can go wrong if i use "is a " relationship?
me: thinking for sometime.... then in stack class we can be able to access data member specific to linklist. superclass member can be visible in subclass, so unwanted linkedlist's member can also be accessed in stack class and a class that inherits stack can use super operator to access linkedlist's member lalblablab ..... i answered this wrongly but this question can be better asked as whether we should extend linkedlist class to implement stack or we should use linkedlist class' instance as data member to implement stack. but the interviewer confused a lot in "is a "/"has a ","is a "/"has a " ... i mean at least state the question clearly... why to confuse candidates in questions only.... and by the time i am critically thinking of my own answer, the interviewer pops up to ask me to tell the flaw in another guy's answer.
1st question was totally bullshit... you dont know dependencies and are baffled with normalized data structure
2nd question ... you classify one thing into 2 and then blame the candidate that he should have further classified the 2's. If that is the case, then you should have stated previously only na, that further classification can be done if required.
question 3: here interviewer was asking things like we have done gross mistake and we are his servant. I really hated that guy but what could I do.... anyway I wanted to sit in placement for saba, after the ppt also.. wrote the test but in the interview I changed my mind... Cant work with these guys.... who just know how to torture candidates but nothing else
finally 17 out of 97, i was there in 17
7 out of 17,,, i was not there in 7... but this time .... no regrets.... but the interviewer were seriously not good.
No comments:
Post a Comment