Big-O Notation (Theory of Python) (Python Tutorial)

Поділитися
Вставка
  • Опубліковано 23 жов 2024

КОМЕНТАРІ • 15

  • @XanderGouws
    @XanderGouws 5 років тому +4

    An example of an O(sqrt(n)) algorithm is a simple prime checker. You loop over the first sqrt(n) terms to check if any of them are factors.
    You know that if two numbers a*b = n, one must be larger than sqrt(n), and one must be smaller, so you only need to check 2

    • @jg394
      @jg394  5 років тому +2

      Beautiful.

  • @muhdassyarulariffinbinomar9792
    @muhdassyarulariffinbinomar9792 5 років тому +3

    Wonderful series! Recently became a CS undergrad and your videos really help me a lot for my revisions. Please keep up the good work :)

    • @jg394
      @jg394  5 років тому +1

      Excellent! Thanks you for your kind words.

  • @jaynorthpen
    @jaynorthpen 5 років тому +4

    Just finished catching up on this series and wanted to say it is really well done. Have watched a few Python related courses and think I would rate this at or near the top. Do you have more episodes planned?

    • @jg394
      @jg394  5 років тому +2

      I am working on it. Filmed something this morning but I wasn't happy with it. Maybe by evening tonight.

  • @Max-sj9dp
    @Max-sj9dp 5 років тому +2

    Wish i had a best teacher like you irl you are an inspiration

    • @jg394
      @jg394  5 років тому +4

      Thanks. I love teaching and my greatest joy is seeing people learn new things.

  • @09sahilchaudhary94
    @09sahilchaudhary94 9 місяців тому

    Any books that I can refer on this topic? What book did you refer to? (if you dont mind me asking)

  • @TheGiantGi
    @TheGiantGi 2 роки тому

    Hi, on min 2.53 shouldn't log 2 be one sec?

  • @sandraoriji8351
    @sandraoriji8351 2 роки тому

    Hello, please how is log 2 to base 2 = 2secs?

  • @makhus8337
    @makhus8337 4 роки тому

    How 100records(at 3.44) , quadratic comes to 17minutes

  • @iCorola
    @iCorola 2 роки тому +1

    why did you choose sharpie and paper for this class? kinda hard to read your hand writing man :/ other than that a lot of value in the information you shared. i just cant think that ur enjoying yourself writing chicken scratch like that though bro haha but ayee you got it mon!

    • @jg394
      @jg394  2 роки тому +1

      I've tried a lot of different formats. I find that handwriting is harder to read and write, but it helps focus the viewer on the subject matter. The freedom of a piece of paper is second to none as well. More formal presentations tend to distract the viewer's attention from the subject to the presentation itself.

  • @gaurangsharma2320
    @gaurangsharma2320 4 роки тому +2

    7:11 it's half my country's (India) GDP