Tech Mahindra interview question

Sorting of array CICD pipeline