I have been practising on LC for an upcoming EM M1 interview. A good thing about LC is the examples they provide. Will FB provide such examples on coderpad? Specially for graph and tree questions? TC: π₯
Never understood why fb doesnβt allow execution of test cases. Every other company does (other than google who use google docs for coding interviews)
It depends on the interviewer but the overwhelming answer is yes, you will get example cases. For example, if the question is about binary trees then you will have some diagrams of binary tree drawn out with text in coderpad, along with the solution for that particular tree. Remember, you can always come up with examples yourself and ask the interviewer if you understand the question correctly. In fact I encourage this.
This is the answer I was hoping for. Thank you Being able to visualize the tree as part of the question really helps me. Not sure about others.
Howβd the interview go?
I would want to correct my vote , your interviewer would provide a test case. Just to be clear you would not be able to run and compile the code against the test case You can share your test cases and confirm the behavior with your interviewer