Interviewer was busy with his work,he had given the question and when I tried to explain ,why I am doing this while coding the question then he told they can discuss at the end and at the end he told because of shortage of time he will see the solution offline .
It was completely informal kind of interview.As a candidate I feel bad