AlgorithmsThread 6: Convex Hulls

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 24

  • @SecondThread
    @SecondThread  4 года назад +8

    Great place to ask questions: codeforces.com/blog/entry/79862

  • @roberttrifan7269
    @roberttrifan7269 4 года назад +10

    Finally someone explaining thoroughly advanced algorithms
    Keep it up :)

  • @brunomont-yt
    @brunomont-yt 4 года назад +5

    Hey! Just a tip: if you also add 0:00 time stamp, the time stamps will automatically appear in the video: support.google.com/youtube/answer/9884579?hl=en

  • @akashbhalotia317
    @akashbhalotia317 4 года назад +7

    Thanks a lot for your videos. They help a lot.

  • @curiosguy9852
    @curiosguy9852 4 года назад +6

    You've been spelling 'competitive' programming wrong. Great videos otherwise!

  • @coldcoffee959
    @coldcoffee959 4 года назад +3

    Cool episode !

  • @killergupta
    @killergupta 4 года назад +1

    thnx for the videos

  • @jashanbansal2613
    @jashanbansal2613 4 года назад +1

    Thanks alot brdr😃

  • @mahatejvarma2998
    @mahatejvarma2998 4 года назад +1

    Nice explanation.

  • @vaibhavsharma1653
    @vaibhavsharma1653 4 года назад +1

    first lol

  • @m00oon
    @m00oon 4 года назад

    please make videos on convex hull , divide and conquer dp optimization technique

  • @eray8077
    @eray8077 4 года назад

    Great video, also can you write Convex Hull Trick's code and mention it's implementations in your next video?

  • @akshanshshriwatri8060
    @akshanshshriwatri8060 4 года назад +1

    Best ❤️

  • @vedhasbalaji7648
    @vedhasbalaji7648 4 года назад +1

    Great stuff.

  • @pulakgautam3536
    @pulakgautam3536 Год назад

    i love your gaming chair

  • @edwardchen6701
    @edwardchen6701 4 года назад +1

    time stamps please

    • @SecondThread
      @SecondThread  4 года назад +1

      Yeah, they are already in the description if you click “read more”

  • @jayvishwarupe4997
    @jayvishwarupe4997 4 года назад

    Quick question. I was wondering as a Java main, what do you use as a substitute to order statistic trees that exist as policy based data structures in the C++ library. Do you use your own implementation of a tree or do you have some other work around? I know this question is not directly related to the video, but I wasn't sure where else to ask you. Thanks again for this video series!

    • @SecondThread
      @SecondThread  4 года назад +3

      Good question. It is pretty infuriating that there is really no built in alternative. One of my teammates said “This problem wasn’t hard, but the whole time I was solving it, I was just annoyed that I didn’t have treeset.numberLessThan.” There is just no reason it shouldn’t exist. In practice, usually you can either make do with a fenwick tree to count less than with some precomputation, or if you really can’t do that and you actually need online order statistics, I have a treap that I use which can do that. It’s not as fast as the built in c++ stuff though, which is annoying.
      Also that teammate has his own custom treeset, but it is terribly slow in practice, so it really only works on solutions where the time limit isn’t too tight.

    • @jayvishwarupe4997
      @jayvishwarupe4997 4 года назад

      ​@@SecondThread Thanks for the prompt reply! It's an unfortunate situation, but I appreciate the insight into the workarounds you and your team have been using.

  • @prajwalchoudhary4824
    @prajwalchoudhary4824 4 года назад

    the best

  • @falseee4445
    @falseee4445 4 года назад

    Hello! Thanks for what you are doing ! I also think that showing a bit of code on how you implemented your version of convex hull could help us understand even better how we could use it . This might make the video longer, but imo thats completely worth it :D