Skip to content · ⁨דלג לתוכן⁩

Sorting: selection and insertion sort · ⁨מיון: בחירה והכנסה⁩

English

Putting an array in order

  • Sorting means putting the values of an array in order, usually from small to large.
  • On the AP CSA exam you must be able to write and trace two sorts: selection sort and insertion sort.
  • You also need to trace (but not write) a third sort: merge sort. We look at all three here.
עברית

סידור מערך

  • חיפוש ליניארי הוא O(n); בינארי הוא O(log n).
  • בבחן AP CSA עליכם לכתוב ולעקוב אחר שני סוגי מיונים: מיון בחירה ומיון הכנסה.
  • עליך גם לעקוב (אבל לא לכתוב) סוג נוסף: מייג' סורט. אנו בוחנים כאן את שלושתם.

Handout · ⁨חומר עזר⁩

Log in or create account · ⁨היכנס או צור חשבון⁩

IGCSE, A-Level & AP