This question already has an answer here:
While installing Ubuntu, by mistake I gave my C drive as the Swap space. It ended up formatting the logical drive(E, but not C !). I realised my mistake in the middle and forcefully ended installation. However it formatted the disk. On windows, the disk space appears to be unallocated. Is there a way I can recover the data?