I have an external hard disk and by mistake I only removed its partition. But after that I understood my mistake and stop doing anything on that. I ejected it immediately. It has 1TB capacity. It is Western Digital my passport. I want to know, is there any possibility to recover everything with folders as it is not overwritten? What is the best way of recovering for this situation?
There are plenty of partition recovery tools out there, some of them even let you use the whole thing for free.
Minitool Patition Recovery and Acronis Recovery Expert Wizard
are two good ones that'll let you do it, preferably run them from a different hard drive or from a usb