Arguments in the function should be named properly


Arguments are named as A and B instead of ignorer and preorder. Assumed that A is inorder and B is postorder, got wrong submission.


Agreed !! How would some. one know if A is pre order or B


We can check order of given inputs in Example test case.