7y
Dear candidate,
Thanks for interviewing with us. Our main objective to give a coding question during screening is to access java script knowledge. If you go through our Job Description you'll see javascript is mandatory for us. If a person is very strong in javascript but little weak in HTML, CSS we consider him as well. But if a person is weak is javascript then it's difficult for him to crack our interview process. We want to extend our team size too so, we won't take a chance rejecting some good developers.
Great to hear that you gave two solutions for the problem but I am sure there were some issues in both the solutions due to which we had to reject you. But if you were so sure that your solutions were right you could have discussed the same thing with our HR team then and there. We consider the first round as a screening round, So we don't really expect a person giving multiple solutions, Just one correct solution and we are good to go.
Thanks for applying to Infrrd and all the best with your job search.