Introduction To Queue | Data Structure | Python Tutorials

preview_player
Показать описание
In this Python Programming video tutorial you will learn about queue data structure 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
Рекомендации по теме
Комментарии
Автор

your content is better than most of the paid courses

HomeLander-humt
Автор

I loved the accent. More than that I loved how short and precise the content is.

XpressCheck
Автор

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

meghanathreddy
Автор

Nice video!
My implementation of Queue

class Queue:
def __init__(self) -> None:
self.s = []
def enqueue(self, item):
self.s.append(item)
def dequeue(self):
try:
popped = self.s.pop(0)
return popped
except:
return "Can't pop from empty list!"
def peek(self):
return self.s[0]

swarnabhkashyap
Автор

mam i watching lot of python tutor's videos now but when i starting time your all videos well understanding to help me. thank you

selvanm
Автор

Maam u teaches wonderfully.... Please make videos on backtracking problems...and about all the concept and topics of data structure

ujjawalingle
Автор

I just started learning DSA from your playlist, just wanted to know if it is still relevant? or we need to know some more new concept ?

ankiitsharma
Автор

I created Queue by my own :)
CODE:
Queue = []
limit = int(input("Enter the limit of stack: " ))
def isFull():
if len(Queue)==limit:
print("Queue is full")
def isEmpty():
if len(Queue)!=limit:
print("Queue is not full")
def Enqueue():
if len(Queue)==limit:
print("Queue is full")
else:
element = input("Enter the element: ")
Queue.append(element)
def Dequeue():
if isEmpty():
print("Queue is empty you can't perform dequeue operation")
else:
print(Queue.pop(0))
def Display():
print(Queue)
while True:
print("What operation you want to perfrom enter option number")
print("1. Enqueue")
print("2. Dequeue")
print("3. isFull")
print("4. isEmpty")
print("5. Display")
print("6. Exit")
option = int(input("Enter the option: "))
if option==1:
Enqueue()
if option==2:
Dequeue()
if option==3:
isFull()
if option==4:
isEmpty()
if option==5:
Display()
if option==6:
break

learnwithstranger
Автор

Hi, Your videos have helped me a lot so just saying thank you for all the hard efforts you have put in your channel.

Cryptopunq
Автор

Mam we need programming(code) for python data structures along with theory
Edit:you are my life saver for python

Aulin
Автор

I think you are a student am I right?
I love your concept of small videos.

piyushbagani
Автор

Very nice video specially in such easy to understand language ..only thing is if somehow u can share the presentation it would have really great to revise after watching each video..thanks for these videos..God bless you ❤️❤️❤️

aksharpatel
Автор

Please make videos on how to implement a Queue using 2 a stack using 2 Queues. ...and a stack using one queue in Python explaining each line of code

nandinirm
Автор

Brilliantly explained...up to the point...!!!! Thank you thank you...

shubhambandekar
Автор

Plz keep going..i love python only becoz of u..very nice explanation🖒🖒👌

ankitjain
Автор

Will you start with Python course?Becoz ur explaination is damn good!!!

darshangovindraj
Автор

Thanks, Amulya. Nice explanations! with real time applications!

satyajitdas
Автор

Mam can you give excercise for our practice

sikandarkumar