Queue Implementation Using Classes | Data Structure | Python Tutorials

Поделиться
HTML-код
  • Опубликовано: 24 сен 2024
  • In this Python Programming video tutorial you will learn about queue data structure and how to implement that using classes of different modules in detail.
    Data structure is a way of storing and organising the data so that it can be accessed effectively.
    In python we can categorise data structures in 2 ways built in data structures and user defined data structures.
    Python offers 4 built in data structures list tuple set and dictionary.
    And we can implement stack queue linked list tree and graph which are called as user defined data structures .
    #DataStructures #PythonPrograms
    For more free tutorials on computer programming
    / amulsacademy
    AmulsAcademy

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

  • @lakshmivenkatavarun8406
    @lakshmivenkatavarun8406 3 года назад +51

    I donno why this channel is so underrated 🙄 Mam you're the best ❤️🙌🏻 Nobody has complete playlist of DS using python in this Whole RUclips 🤧
    Only your channel has that 👍🏻 One day this channel will grow more than you imagined 🤞🏻Thankyou for your Efforts mam...

    • @AmulsAcademy
      @AmulsAcademy  3 года назад +10

      Thank you so much 😊❤️

    • @omkarjadhav848
      @omkarjadhav848 2 года назад +1

      Agree +1

    • @clashingtv2527
      @clashingtv2527 2 года назад

      #codewithharry
      Check for web development machine learning or full stack course absolutely free ❤️

    • @saikiranyadav9209
      @saikiranyadav9209 2 года назад +1

      Yeah agree and ur voice also it's very clear and perfect ☺👌. Thank you actually I need this set of tutorial for python

  • @iq9438
    @iq9438 3 года назад +12

    I dont know that you are elder or younger to me but i want to say one word from my heart is "GOD BLESS YOU".

  • @shivambharadwaj5036
    @shivambharadwaj5036 2 года назад +2

    First complete course for DSA in python 🙏 God bless you mam

  • @ruszelsaavedra1647
    @ruszelsaavedra1647 2 года назад +3

    You're a good teacher, you're more than good than my book, great tutorial

  • @meghanathreddy875
    @meghanathreddy875 3 года назад +3

    hi Sis,these are really worth videos thanks a lot for sharing the content .
    Guys who are reading the comment and really want to learn Data Strucures in Python,here is the Amulya Sis who always explained in a laymen terminology so that everyone understands.
    And one small request guys, since this sister is doing this much for us,pls donot skip the adds,just watch fully ,pls donot skip, so that our sister will get the income. This is the least way we can help her.
    Thanks SIS

  • @RAHUDAS
    @RAHUDAS Год назад +3

    I think when you r teching DSA, it is good to mention the Complexity of each operation.

  • @universal4334
    @universal4334 4 года назад +4

    Hope we I'll see all the datastructures imeplet 💝💝

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

    Good Afternoon, Ma'am you are teaching very nice i will watching your python DSA video is very nice

  • @AbhiShek-ed1ed
    @AbhiShek-ed1ed Год назад +1

    Mam is there any notes of this . U have done the wonderful teaching i would understand everything that u have thougth 🍒🍒🍒

  • @hello-world4129
    @hello-world4129 3 года назад +2

    Awesome Job Mam. Please make videos on the implementation of Graph, Tree.

  • @balla4004
    @balla4004 2 года назад

    Thank you amulya akka for all the videos...love 💕 you so much ...sisssss

  • @sbfgvas7864
    @sbfgvas7864 2 года назад

    Clarity in teaching tq mam..

  • @parthasarathimohapatra7102
    @parthasarathimohapatra7102 4 года назад +2

    Nice video mam....Mam please make video on Graph and Dynamic Programming using python please. ..

  • @Aryansingh-fk7hy
    @Aryansingh-fk7hy 3 года назад

    i have doubt!!,using the above approaches of queue/stack,can i apply these in dsa problems with defined time complexities/space complexity.If,yes,then where to practice these type of questions?

  • @ahmedkamal-vc5ze
    @ahmedkamal-vc5ze 3 года назад +3

    Can you provide the source code of your programs?They are very easy and understandable

  • @syedmarufali1612
    @syedmarufali1612 2 года назад

    Which compiler do you use?

  • @buradanaveen2838
    @buradanaveen2838 3 года назад +2

    9:13 u said it's an object , cannot print queue
    But in the previous video (import collections) we are printing the queue (there also it's an object)

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

    Make data structure videos on Graph,doubly linked ,tree etc. on python.Asap.:)

  • @Reddy97532
    @Reddy97532 3 года назад

    How to understand that value mentioned as q object mam

  • @johnsonabel5708
    @johnsonabel5708 4 года назад +4

    I am expecting your python implementation on Graph, Tree and linked list. e.t.c

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

    3:29
    If we used append(element) to add elements to the queue, normally it is added from left to right
    Then I suppose if we use just pop() it will remove element from the left since it is first added, then what is the need of using popleft() to remove element as shown in the video?
    Am I missing something, I'm an absolute beginner would appreciate someone pointing out my mistakes

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

      In the collections module pop() is defined from right to left

  • @_im__dee6740
    @_im__dee6740 2 года назад

    Best channel mam 👍

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

    thank you Amulya!

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

    What is the ide ur using 😮

  • @SandeepYadav-zd8fp
    @SandeepYadav-zd8fp 3 года назад +1

    you are a gem mam

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

    for the put method in queue, better show some examples as its complicated

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

    thank you!

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

    Thank u.

  • @sayaganesh4602
    @sayaganesh4602 2 года назад

    Madam, please upload the mean, median, and mode code

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

    Please upload linked list topic

  • @ankitjain7083
    @ankitjain7083 3 года назад +1

    I rocked😎mam

  • @sbfgvas7864
    @sbfgvas7864 2 года назад

    How to improve our voice as like your voice mam,,,.....

  • @hometvfirestick
    @hometvfirestick 3 года назад

    thanks

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

    Mam circular queeue

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

    👍

  • @vaibhavshyamkuwar4154
    @vaibhavshyamkuwar4154 3 года назад

    maam vedios are good but only oral speaking makes tough to understand the topic without any reference.

  • @jajulasthings6789
    @jajulasthings6789 3 года назад +1

    How to print queue in queue module

    • @AmulsAcademy
      @AmulsAcademy  3 года назад

      Use print function :)

    • @jajulasthings6789
      @jajulasthings6789 3 года назад

      @@AmulsAcademy but it shows object something ... It doesn't shows the queue which is created using Queue class

    • @jajulasthings6789
      @jajulasthings6789 3 года назад

      @@AmulsAcademy in this vedio at 9:16 printing 1 it displays object at ...

    • @jajulasthings6789
      @jajulasthings6789 3 года назад

      What it means...please clarify my doubt

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

      If we import the queue module and use the Queue class, we can print the queue object using print(queue_(instance name)variable_name.queue).
      For example, if we write the code like this:
      from queue import Queue
      q=Queue()
      q.put(10)
      q.put(50)
      q.put(30)
      print(q.queue)
      The output will be deque([10, 50, 30]) since inside the Queue class the queue representation is initialised in this way.
      def _init(self, maxsize):
      self.queue = deque()
      Here self.queue is an instance variable. So we can print the representation of the variable q using the instance variable q.queue and if we want to print it in the form of a list we can write print(list(q.queue))

  • @CharanSaiAnnam
    @CharanSaiAnnam 3 года назад +2

    Nice voice

    • @AmulsAcademy
      @AmulsAcademy  3 года назад

      Thank you :)

    • @CharanSaiAnnam
      @CharanSaiAnnam 3 года назад

      @@AmulsAcademy i'm ready to listen your video's voice even if you start making videos on ABCDs

  • @rajatkumar7270
    @rajatkumar7270 2 года назад

    mam tell me how you are copying a line in interterpreter without coping it🤔 and applying it in another line

  • @yashwanthlal9071
    @yashwanthlal9071 3 года назад +1

    ❤️

  • @takshyasharma852
    @takshyasharma852 2 года назад

    Please do not take it otherwise but her voice is extremely sweet

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

    Medom dont tought yourself to teach the learns

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

    👍