started off with coding phone screen
3 dsa
1 leadership
to write a function to convert a tree represented by nodes and edges into a different format where the root node has an array of its children. The interviewer goes over the function signature and gives you an example to clarify.
You discuss the specifics of the input and output arrays, noting that the order in the input doesn't matter, but the children's order in the output must match the index. The interviewer also mentions that the necessary classes are assumed to be defined.