its a live coding test using php or jscript. they ask about your preference between front vs backend . the hiring mgr will speak most of the time and will stop you if you dont complete the code which is unfair because you dont even do that same level complexity in the real world. make sure you study recursion and converting array of objs to nested arrays!