InvoiceCloud interview question

Reverse Linkelist, reverse string, tree, graph