I will test for 3 things.
Basic Fundamental(Reading from a file, Using Arrays and Sorting)
Using libraries.
Using RestAPI.
A few years back, we made a test. I had to hire 1 person for my team. The company required people to write a test online, about 15 application was received. We had to narrow it to 5 for an interview. I requested 8 people to write the second test + interview.
I provided a simple problem and a link to libraries + full detail documentation(Logging, Error Handling, Graphic, lastly database[nosql] and RestClient).
Also Gave them a swagger api link.
The test had a target of 1 hour, the number of lines of code required was only 30 lines.
We got 2 employees that ace the test in 30 minutes, the rest never even made it halfway.
The problem was simple:
1. A file consist of employees, it contains duplicate information. Access the api to get the latest information and keep the employee id that has the latest information.
2. Write the information to sql.lite database. [Employee, Employee_Address].
3. Display the information in grid format as shown in the pictures provided. You can use any display choice method you prefer, as long as the information shows.
Solution
1. Add the libraries using Nuget. Most just copied the dll's over.
2. Read all the content of the file and store it in a List/Array.
3. Search for duplicates.
4. Call the API with employee Id to get the information. The 2 employees, one use latest graphql api call and the other the array function(pagination). I provided 8 different ones.
5. Call Library Save Employee function
6. Create a WPF/WinForm or MVC Web Form, Add UC control or MVC component and past an array/list to display the list.
The only code was reading from a file and searching duplicates. The rest was reading 2 pages of information and just calling api's.
Only 2 of the 8 was able to past the test, all senior guys. Both got hired. Both never end up my team. Both ended up after 2 years emigrating. Both were legends.