I want to set some simple coding tests for an interview....Jo el
recommends (for C programmers)... .
1. Reverse a string in place
2. Reverse a linked list
3. Count all the bits that are on in a byte
4. Binary search
5. Find the longest run in a string
6. atoi
7. itoa
I'm tempted to use 1....but it seems a little contrived....an d 5 seems
reasonable.....
(unless people know of ways of shortcutting the test.....)
any other suggestions....
I obviously want to test ability rather than knowledge...so I don't
want things that is easy if you happen to know some obscure (or not)
method.....
recommends (for C programmers)... .
1. Reverse a string in place
2. Reverse a linked list
3. Count all the bits that are on in a byte
4. Binary search
5. Find the longest run in a string
6. atoi
7. itoa
I'm tempted to use 1....but it seems a little contrived....an d 5 seems
reasonable.....
(unless people know of ways of shortcutting the test.....)
any other suggestions....
I obviously want to test ability rather than knowledge...so I don't
want things that is easy if you happen to know some obscure (or not)
method.....
Comment