Can we represent a tree with an array? - Inside code

Поділитися
Вставка

КОМЕНТАРІ •

  • @maneeshgupta2448
    @maneeshgupta2448 3 роки тому +6

    I wish this channel explains all the standard algorithms

  • @VietnamSteven
    @VietnamSteven 2 роки тому +3

    This is an fantastic presentation!

  • @sampathsubasinghe929
    @sampathsubasinghe929 3 місяці тому

    Awesome explanations, keep up the good job, dude !

  • @free-palestine000
    @free-palestine000 2 роки тому +2

    great explanation. please do more

  • @JulioDx3480
    @JulioDx3480 3 роки тому +1

    This is really helpful, thank you.

  • @ngneerin
    @ngneerin 3 роки тому +1

    Beautiful animation

  • @elshaterhassansaber7644
    @elshaterhassansaber7644 3 роки тому +1

    Great vid as usual❤️❤️❤️

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

    But this is going to work only for a binary tree, right. Or we might need another way of calculating the nod relationships.

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

      Yes for binary trees only, but we can have the same logic a general k-ary tree, we just adapt the formula to find children and parent

  • @ngneerin
    @ngneerin 3 роки тому

    One way to do is
    tree = [ root, [ [ node, [ ], [ node, [ ] ] ] ]

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

    Thanks

  • @AjithKumaR-jw9wt
    @AjithKumaR-jw9wt 3 роки тому +1

    Bro pls explain greedy algorithm

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

    I have a lot of questions. Is this a language? What is this? What does it mean?
    Also, I am looking for content to understand core programming better. Not necessarily involving a language

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

      Are you talking about the code? If yes it's in Python language

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

      For core programming you can start by learning about programming basics like what is programming, variables, conditions, loops... Then you can learn about algorithms and data structures in my channel, I try to explain things in a general way

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

      @@insidecode alright . Algorithms and data structures it is then.
      I know about variables and loops, etc. It’s a bit stale hearing all those basics. It feels like I’m not progressing

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

      To progress you need to practice, try creating some small programs with what you learnt

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

      @@insidecode I’m doing that currently. I’m trying to push as fast as I can

  • @AmNotLegend
    @AmNotLegend Рік тому

    don't need read out all numbers

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

    Thank u

  • @greob
    @greob 3 роки тому

    Great video, nice presentation.