DOING api’s, what does that mean?
leetcode interviews do not test if a person can reasonably code. they expect people to give a specific optimal solution to a specific question which you can only provide if you have solved the question before, in the way it is expected, within max 2-3 minutes. the process is broken.
the moment you ask a candidate to build something you could use in your codebase you should pay them.