4 ms·
Can you tell us what that question is? Not details, but the general idea. Me, I'd ask them this: 1. Write a function that takes a string of hex digits and con
by anon4 12y ago
Can you tell us what that question is? Not details, but the general idea.
Me, I'd ask them this:
1. Write a function that takes a string of hex digits and converts them to a long (or equivalent in the language). Keep code minimal.
2. The opposite. Keep code minimal.
3. Write a function that reverses a UTF-8 encoded string (provide a good reference to the UTF-8 format), keeping combining characters in the reversed string in the same order they were in the original. I.e. aüç should be çüa, not ¸c¨ua. Assume the string of bytes is a proper utf-8 string, that only combining characters have to be order-preserved and that the only combining characters are the ones with unicode character codes in these ranges: (give them some standard ranges). Keep code minimal.
Anybody who can do these three things should be able to learn most any other tech stack you throw at them. If on the other hand you're looking for people with specific expertise with a given branch of computer science, then you need a different set of tests. The central question is - do you need a developer or a mathematician specialising in discrete mathematics. Those are two different sets of people, though they tend to overlap.