How can i restore File/folder structure in Google Drive

I have shared a folder with a few colleague, one of the colleague accidentally deleted the shared folder which caused all the files and folders that was owned by me to return to my root folder under MyDrive with out any of the previous file/folder structure, and now all my files and folders are all over the place under MyDrive, i’m wondering if there is a quicker way to recover the original file/folder structure as manually moving thousands and thousands of file can be very time consuming.