Lately I have been doing lots of interviews from Java developer to UI/JavaScript developers to Build/Release engineer and my forte is Java but unfortunately I have to be pulled in other interviews so how do I test a Javascript developer when I myself cant write decent Javascript (I can google and get things done but I consider myself a newbie in Javascript).
So I resorted to basics and started asking fizzbuzz tests like
1) given an array find max out of an array.
People with 10 years of exp have flunked on it. One guy wrote code like
for(var i=0;i++;i<arr.length-1) {
if(arr[i]>max
}
one guy told me to sort the array and find it out of it.
2) given an array find second max out of an array.
3)sort an array
4) reverse an array
5) binary search in a sorted array
I have seen experienced people taking anywhere from 5-15 mins just to find max out of an array. I mean even if you wake me up in the night at 3:00 AM and ask me to find max of an array I can do it without syntax error in 1-2 min. It seems people are in software industry just for the heck of 8-5 jobs.
So I resorted to basics and started asking fizzbuzz tests like
1) given an array find max out of an array.
People with 10 years of exp have flunked on it. One guy wrote code like
for(var i=0;i++;i<arr.length-1) {
if(arr[i]>max
}
one guy told me to sort the array and find it out of it.
2) given an array find second max out of an array.
3)sort an array
4) reverse an array
5) binary search in a sorted array
I have seen experienced people taking anywhere from 5-15 mins just to find max out of an array. I mean even if you wake me up in the night at 3:00 AM and ask me to find max of an array I can do it without syntax error in 1-2 min. It seems people are in software industry just for the heck of 8-5 jobs.
>>It seems people are in software industry just for the heck of 8-5 jobs.
ReplyDeleteAnd sadly, our industry tolerates such people.