مساحة لفهم الخوارزميات

ابدأ هنا، والباقي خطوة بخطوة.

شرح قصير، مثال تجرّبه بنفسك، ثم سؤال يثبت فهمك. اختر محاضرتك واترك الباقي علينا.

خطوتك التالية

Algorithms: What They Do and How We Compare Them

Start with the required answer, then learn to compare work and read Big O without confusing it with an exact count.

ابدأ الدراسة25 دقيقة، على راحتك
  1. 01
    افهم الفكرةشرح واضح، بالقدر الذي تحتاجه.
  2. 02
    جرّب المثالتوقّع الخطوة وشاهد ما يتغيّر.
  3. 03
    حلّ سؤالًاحاول أولًا، ثم قارن خطواتك بالحل.
مسارك الدراسي

محاضراتك، بالترتيب

10 دروس متاحة
  1. المحاضرة 1ابدأ من هنا25 دقيقة

    Algorithms: What They Do and How We Compare Them

    Start with the required answer, then learn to compare work and read Big O without confusing it with an exact count.

  2. المحاضرة 235 دقيقة

    Count the Work Before Writing Big O

    Trace small pieces of code, then count fixed work, loops, halving, consecutive parts, and alternative branches.

  3. المحاضرة 330 دقيقة

    Check Termination, Then Find the Maximum

    Check whether code finishes, count the parts that actually run, and build a correct algorithm for the largest array element.

  4. المحاضرة 430 دقيقة

    Before Sorting: What Are We Ordering?

    Define the required order, look inside a comparison, and choose an algorithm that fits the data and memory limits.

  5. المحاضرة 545 دقيقة

    Selection Sort and Insertion Sort, One Move at a Time

    Trace the same two arrays, understand the role of each variable, and count comparisons, swaps, and shifts separately.

  6. المحاضرة 635 دقيقة

    Bubble Sort: Neighbours, Passes, and When to Stop

    Trace both scan directions, understand the sorted flag, and prepare for Divide and Conquer.

  7. المحاضرة 740 دقيقة

    Merge Sort: Small Sorted Parts Become One Sorted Array

    Split the original eight values, merge them with two counters, and explain the work at each recursion level.

  8. المحاضرة 840 دقيقة

    Quick Sort: Put a Pivot in Its Place

    Follow the two original partition traces, finish the pivot swap, and see why balanced splits matter.

  9. المحاضرة 940 دقيقة

    From Graphs to Trees to a Binary Search Tree

    Separate connections, parent-child structure and key order, then build the original BST example.

  10. المحاضرة 1030 دقيقة

    Read a BST: Paths, Depth, Height, and Levels

    Use the same nine-node tree to count edges, follow a search route, and separate depth from height.

خطوة صغيرة. فهم أعمق.ألجولاب · دفتر شخصي للدراسة