Nutanix Interview Question

Phone screen: Invert a binary tree Describe the difference between a process and a thread.