हिंदी

Which algorithm is similar to placing cards at the right position while playing cards?

Advertisements
Advertisements

प्रश्न

Which algorithm is similar to placing cards at the right position while playing cards?

विकल्प

  • Bubble sort

  • Selection sort

  • Insertion sort

  • Merge sort

MCQ
Advertisements

उत्तर

Insertion sort

Explanation:

Insertion Sort, since it places each element of a list in the appropriate place in each pass.

shaalaa.com
Insertion Sort in Python
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×