Tech Mahindra interview question

drag drop in javascript