4.4 Circular Queue in Data Structure | Circular Queue using Arrays in C | DSA Tutorials

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • In this lecture I have described circular queue implementation using arrays as well as analyzed the drawback of Linear Queue. I have written C program for implementation of queue using arrays.
    DSA Full Course: https: • Data Structures and Al...
    ******************************************
    See Complete Playlists:
    C Programming Course: • Programming in C
    C++ Programming: • C++ Complete Course
    Python Full Course: • Python - Basic to Advance
    Printing Pattern in C: • Printing Pattern Progr...
    DAA Course: • Design and Analysis of...
    Placement Series: • Placements Series
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    **********************************************
    Connect & Contact Me:
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/...
    Instagram: / jayantikhatrilamba
    #jennyslectures
    #datastructures
    #circularqueue
    #ugcnet
    #course

КОМЕНТАРІ • 490

  • @Sovit705
    @Sovit705 3 роки тому +59

    I was searching here and there, and finally got a crystal clear concept of the circular queue.
    This also made me realize the mistakes I have done in learning the Linear queue.🙏🏽

  • @shadracknjuguna400
    @shadracknjuguna400 Рік тому +54

    I have never understood an algorithm and simply liked it as this.
    You are the best I've seen👌.
    Congrats Prof Jenny on this work👏👏.

  • @shivanshvish4879
    @shivanshvish4879 Рік тому +36

    We need more Guru's like you because in college all they teach is how to complete the whole syllabus in a very efficient way.
    You explain it clearly and practically. I understood the concept quickly that I didn't understand by our faculty prof. They just excel at taking salaries and teaching in traditional ways, which is invaluable for us.
    Hats off to ya!

  • @antgr9975
    @antgr9975 4 роки тому +37

    Ma’am you are honestly the best teacher thank you so much I am going to pass my course because of you much appreciation!!!!

  • @Ravinderi87
    @Ravinderi87 5 років тому +241

    Today I got it in 10 years 😁

  • @utsavjain2219
    @utsavjain2219 4 роки тому +44

    I would like to thank you for all the efforts you put into your videos just to make the life of us(students) better,
    i have been watching and following your videos for some time now and have seen that no one teaches the way you do and
    thank you for helping us and making our concepts just like yours i.e,clear as crystal !!!

  • @lifekool5838
    @lifekool5838 2 роки тому +6

    BY watching this video, I remembered one of my favorite teacher who teaches dedicatedly like really an expert. You are a professional dedicated and expert in teaching crystal clear concepts. Thank you so much mam.😇

  • @sudharsands5773
    @sudharsands5773 2 роки тому +13

    A request to all viewers... Please share this channel 🥺.. Her teaching skills deserves more views

  • @vizaykumarvadde1362
    @vizaykumarvadde1362 5 років тому +51

    I never interested to learn DS. I am Java professional. But by seeing your insertion sort video first time by mistake immediately I subscribed your channel.. love your way of explanation.. are you a trainer or IT professional? Can I know please..

  • @retrohead5313
    @retrohead5313 7 місяців тому +2

    I can't say thank you enough, this is the night before my exam and your video just helped me A LOT! I hope you doing well.

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

    Rear=rear+1%N is same as rear++%N.
    Display function in for loop will be
    For(i=front;i

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

      Bro this solves display() function error....thanks a lot✌️

  • @muditmathur2078
    @muditmathur2078 5 років тому +18

    Ma'am your videos really help me in the exam time
    As the result of it I have score 70% in my diploma exams held by bter Jodhpur really for are god to me.
    Thanks a lot ma'am

  • @prithivirajv2810
    @prithivirajv2810 3 роки тому +11

    U R the best teacher to teach this hard concepts easily . I have never seen this like lecture 😍🥰👌👌

  • @ItsMe-rf7mo
    @ItsMe-rf7mo 3 роки тому +10

    Modulo
    3%5 = 0.6(ans)
    Then take first digit of ans,and multiply with 5
    0*5 = 0(ans2)
    And subtract 3 with (ans2)
    3-0 = 3
    I hope everyone understand how to mod

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

      Is it the process?

    • @pravargupta6285
      @pravargupta6285 2 роки тому +2

      @@sambedansahooridul1237 no bro. All u need to understand is when you use % operator then the quotient cannot be a decimal number and the remainder is the the answer. For eg 2 % 5 = remainder obtained after dividing 2 by 5. So quotient is 0 and remainder is 2

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

      i have a doubt if we enqueue more than 5 time then the rear goes to the zeroth position then and over write stack[0]

  • @aryanmaniyar3475
    @aryanmaniyar3475 11 місяців тому +3

    What a great video indeed mam! Thank you so so so much mam :) Anyone who is looking for there concepts to get cleared, this video is the way to go!

  • @sojwalgosavi4406
    @sojwalgosavi4406 2 роки тому +2

    Amazing video mam, nice explanation....
    but one modification or correction for Display
    // Use do while
    int i = f;
    do{
    System.out.print(a[i]+" ");
    i = (i+1)%n;
    }while(i != f);
    System.out.println();

  • @narayananishanth7357
    @narayananishanth7357 6 місяців тому +1

    words are not enough to explain her expertise in this subject🙏

  • @chakravarthybatna1589
    @chakravarthybatna1589 Рік тому +4

    this is c language program and it's worked for me

    #include
    #define n 5
    void enqueue(int);
    void dequeue();
    void peek();
    void display();
    int queue[n];
    int front=-1;
    int rear=-1;
    int ch,num;
    void main()
    {
    do
    {
    printf("
    1.enqueue
    2.dequeue
    3.display
    4.peek
    enter choice: ");
    scanf("%d",&ch);
    switch (ch)
    {
    case 1: printf("
    enter a number:");
    scanf("%d",&num);
    enqueue(num);
    break;
    case 2: dequeue();
    break;
    case 3: display();
    break;
    case 4: peek();
    break;
    default: printf("
    invalid option");
    }
    } while(ch);
    }
    void enqueue(int num)
    {
    if((rear+1)%n==front)
    {
    printf("
    overflow");
    } else if (front==-1){
    front=rear=0;
    queue[rear]=num;
    } else{
    rear=(rear+1)%n;
    queue[rear]=num;
    }
    }
    void dequeue()
    {
    if(front==-1){
    printf("
    underflow");
    } else if(front==rear){
    printf("
    dequeued element is %d and now queue is empty",queue[front]);
    } else{
    printf("
    dequeued element is %d",queue[front]);
    front=(front+1)%n;
    }
    }
    void peek(){
    if(front==-1){
    printf("
    queue is empty");}
    else {
    printf("
    top most element is %d",queue[front]);
    }
    }
    void display()
    {
    if(front==-1){
    printf("
    queue is empty");}
    else{
    for(int i=front;i!=rear;i=(i+1)%n){
    printf("\t%d",queue[i]);
    }
    printf("\t%d",queue[rear]);
    }
    }

  • @juhiajwani4170
    @juhiajwani4170 4 роки тому +6

    Ma'am u are a wonderful teacher. I like how u explain concepts with all the possibilities of occurrences. Kuddos to ur dedication. Thankyou so much for these videos ma'am.

  • @emma-ub1uq
    @emma-ub1uq Рік тому +1

    FINALLY I understood this after browsing over the internet and going through all my notes trying to figure out wth is this. thank you

  • @AyyanPatel69
    @AyyanPatel69 8 місяців тому +1

    I learned So much Part Of DSU from you Thanks Mam❤
    Afterall You are Sooooo Beautiful😍

  • @phineasferb9537
    @phineasferb9537 3 роки тому +123

    include
    #include
    #include
    #define size 5
    int cq[size];
    int front=0,rear=0;
    void display()
    {
    int i;
    printf("
    The circular queue is : ");
    if(front

    • @tarunsahebzaad4704
      @tarunsahebzaad4704 2 роки тому +2

      Broooooooooooo wtf

    • @b.srinivasarao2904
      @b.srinivasarao2904 2 роки тому

      👍

    • @iimoon777
      @iimoon777 Рік тому +13

      @@shantanusingh280 It seems like he made quite some errors in enqueue function. Have a go with this one, this code is working.
      #include
      #include
      #include
      #define N 5
      int f=-1,r=-1;
      void insert(int[],int);
      void disp(int[]);
      void del(int[]);
      void main()
      {
      int q[N],ch,item;
      do
      {
      printf("
      1.Insert
      2.Display
      3.Delete
      4.Exit
      Enter your choice:");
      scanf("%d",&ch);
      switch(ch)
      {
      case 1:
      printf("
      Enter element to store on circular queue:");
      scanf("%d",&item);
      insert(q,item);
      break;
      case 2:
      disp(q);
      break;
      case 3:
      del(q);
      break;
      case 4:
      exit(0);
      default:
      printf("
      Invalid choice:");
      }
      }while(ch!=4);
      getch();
      }
      void insert(int q[N],int item)
      {
      if((r+1)%N==f) //full condition
      printf("
      Overflow");
      else if (f==-1 && r==-1) //for inserting first data into queue
      {
      f=0;
      r=0;
      q[r]=item;
      }
      else //if some data are already stored
      {
      r=(r+1)%N;
      q[r]=item;
      }
      }
      void del(int q[N]) //deletion
      {
      if(f==-1)
      printf("
      Underflow");
      else if(f==r) //for deleting last element in queue
      {
      printf("
      deleted item: %d",q[f]);
      f=-1;
      r=-1;
      }
      else //for deleting element which is not last lol
      {
      printf("
      Deleted item:%d",q[f]);
      f=(f+1)%N;
      }
      }
      void disp(int q[N])
      {
      int i=f;
      if(f==-1) //empty
      printf("
      Underflow");
      else
      {
      while(i!=r)
      {
      printf("
      %d",q[i]);
      i=(i+1)%N;
      }
      printf("
      %d",q[r]); //for displaying last value
      }
      }

    • @RahulGPT-A
      @RahulGPT-A Рік тому

      ​@@iimoon777wrong, not working with your full condition in insertion

    • @iimoon777
      @iimoon777 Рік тому +1

      @@RahulGPT-A
      #include
      #include
      #include
      #define N 5
      int f=-1,r=-1;
      void insert(int q[N],int item)
      {
      if((r+1)%N==f || r==N-1 && f==0) //full condition
      printf("
      Overflow");
      else if (f==-1 && r==-1) //for inserting first data into queue
      {
      f=0;
      r=0;
      q[r]=item;
      }
      else //if some data are already stored
      {
      r=(r+1)%N;
      q[r]=item;
      }
      }
      void del(int q[N]) //deletion
      {
      if(f==-1)
      printf("
      Underflow");
      else if(f==r || f==-1) //for deleting last element in queue
      {
      printf("
      deleted item: %d",q[f]);
      f=-1;
      r=-1;
      }
      else //for deleting element which is not last lol
      {
      printf("
      Deleted item:%d",q[f]);
      f=(f+1)%N;
      }
      }
      void disp(int q[N])
      {
      int i=f;
      if(f==-1) //empty
      printf("
      Underflow");
      else
      {
      while(i!=r && r!=-1)
      {
      printf("
      %d",q[i]);
      i=(i+1)%N;
      }
      if(r!=-1)
      printf("
      %d",q[r]); //for displaying last value
      }
      }
      void main()
      {
      int q[N],ch,item;
      do
      {
      printf("
      1.Insert
      2.Display
      3.Delete
      4.Exit
      Enter your choice:");
      scanf("%d",&ch);
      switch(ch)
      {
      case 1:
      printf("
      Enter element to store on circular queue:");
      scanf("%d",&item);
      insert(q,item);
      break;
      case 2:
      disp(q);
      break;
      case 3:
      del(q);
      break;
      case 4:
      exit(0);
      default:
      printf("
      Invalid choice:");
      }
      }while(ch!=4);
      getch();
      }
      some weird it worked in a different application, how about now?

  • @My_Life_My_Rules28
    @My_Life_My_Rules28 Рік тому +1

    Ma'am you are literally अवतार of सरस्वती. Thank You so much for making me understand this crystal clear ❤️

  • @MuhammadKashif-ie7ez
    @MuhammadKashif-ie7ez 3 роки тому +1

    Charismatic Personality. Clear Concepts. Respect one word for U Ma'am

  • @littleorange7142
    @littleorange7142 Рік тому +6

    You are the reason that i passed the exam. Thanks a lot, ma'am. 🙏🙏

  • @sahil_0
    @sahil_0 4 роки тому +1

    Your method of teaching is best.

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

    You are just superb ma'am!!!
    I've been watching this DSA playlist and I've become a fan of yours.
    Thank you so much ma'am for teaching me this valuable knowledge.

  • @mahinulislam2463
    @mahinulislam2463 Місяць тому

    Thank you Jenny! This video is so helpful and your explanations are detailed,, clear and concise. I love how you traced out each and every instance of the values as they went through the array. Keep up the great work!

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

    Mam, i just wanna say that i love you. You always save my life. I don't fckin know what my lecture gave to me when class but you explain it really well. Thankyou very much! I won't ever skip ur ads!

  • @manu-miku
    @manu-miku 4 роки тому +4

    Well done Jenny. You make me proud. You were always one of my favourite student in college

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

    I think I am watching this playlist for a month and I just want to comment on each video of yours that how a good teacher you are!!
    Thank u so much ma'am!!

  • @biswamohandwari6460
    @biswamohandwari6460 4 роки тому +3

    Really your concepts are really clear. It's very easy to understand from your video

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

    Mrs. Jenny , You #deserve the "The Best Professor Award".

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

    mam you are gifted from data structure god how can you make these confusion thing are very simple you teach the circular queues amazing you are the super teacher in the world of data structure

  • @gsainitish1012
    @gsainitish1012 4 роки тому +3

    Fantastic explanation 😍,even my professor will not explain in this manner.Thank u💞❣️

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

    mam your classes are very helpfull and thankyou heartfully ,you are amazing with lectures.

  • @Dhanashri-iv8td
    @Dhanashri-iv8td 5 місяців тому

    Mam you teaching is so nice now I understand the concept practically so easily

  • @RahulGupta-go8oe
    @RahulGupta-go8oe 4 роки тому +17

    that smile at 15:55, when u successfully explain something amazing.

  • @TECH-ch5dm
    @TECH-ch5dm 4 місяці тому +1

    you are a genius in teaching

  • @abhinavsingh-zc2hk
    @abhinavsingh-zc2hk 4 роки тому

    Mam You are the best teacher in the world.Thank You so much.

  • @pnkdtu27
    @pnkdtu27 5 місяців тому

    Very HELPFUL, FINALLY UNDERSTOOD AFTER WATCHING THIS LECTURE 🎉

  • @aftan494
    @aftan494 4 роки тому +9

    Got it at once..... really great !!!!

  • @rithishchowdary1415
    @rithishchowdary1415 Місяць тому +1

    My DSA GOD's🙏Jenny's Mam💖 & Neso Academy💓

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

    One of the easiest way to solve complex programs.....Best part is focusing mainly on logic of functions and calling them one-by-one to show their functionality.

  • @MaqsoodAhmad-ey8th
    @MaqsoodAhmad-ey8th 2 роки тому +2

    I learn lots of things today.
    Thanks 👍 ma'm.

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

    Thanks a lot ma'am you served as a last minute blessing for my board exams

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

    Thank you so much ma'am. It's really helpful. Your all playlist helps the most for every students.thanks a lot god bless you.

  • @ReelsVsShorts
    @ReelsVsShorts 2 роки тому +2

    13:54 if front == rear then u set the value to front =rear = -1 but how to the last element of array [i.e. 4] will be deleted?
    There is many bugs 🐞👾

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

    such a great explanation. code works perfectly. totally satisfied . thank you mam.

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

    I just love the pronunciation of EMPTY. And the video is great

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

    super method of teaching mn to soch raha hun pehly q ni mila ap ka Chanel ♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️

  • @hbpatel1976
    @hbpatel1976 4 роки тому +7

    How about making a video on Priority Queue (with array & linked list implementation)?

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

    Thank you mam so much for explaining it in such a easy way... You are always helping me whenever I face difficulty in solving certain programs...☺️☺️

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

    Ma'am a huge thanks. It helps me a lot and lot.
    One Kind request. I only understood Longest Increasing Subsequence (LIS) by seeing your video only. Can you please do the same for Longest Palindromic Subsequence/ Substring?

  • @venkateshpolisetty5624
    @venkateshpolisetty5624 4 роки тому +1

    The front will be at the first location only. It won't point to other locations. The other values will be shifted when dequeued operation is performed.

  • @MaqsoodAhmad-ey8th
    @MaqsoodAhmad-ey8th 2 роки тому

    Your hard work different from other.
    Mam your teaching and explanation techniques are V.G

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

    I was wondering how you teach things so welll....god bless u mam

  • @Shubh_Vaghela
    @Shubh_Vaghela 4 роки тому +4

    Nice video mam.
    We can use ( i != Rear+1) instead of writing printf outside the while loop.

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

      Thanks for your comment ☺️ finally solved my error

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

      bro it will not run the loop only for the first iteration.

  • @KanhaiyaKumarbcs
    @KanhaiyaKumarbcs 4 роки тому +1

    your efforts for teaching us is priceless mam.

  • @surajitchowdhury4697
    @surajitchowdhury4697 5 років тому +8

    Thank u so much maam for clearing the concepts in such a beautiful manner..💙..plzz post a video on dequeue also....plzz maam🙏🙏

  • @BhuveshDhiman
    @BhuveshDhiman 4 роки тому +1

    Keep making Videos because you are the best teacher.

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

      I appreciate the fact that you guys gave me this recognition. Thanks.

  • @hetshah250
    @hetshah250 4 роки тому +9

    Ma'am can you please make a video on what exactly is time complexity? And what's time complexity of different different algorithms.

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

    You are simply superb. Awesome way of teaching the DS.

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

    ma'am ur videos are really very help full for me.I watched many videos but ur explainations are best i must say i got something really very helpul video

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

    every one is telling ma'am your video is good very helpful for us then please give me one like to this video . just telling in words is not good also who helped you .you people also help them .it gives motivation to teachers .

  • @027chinmaykarodpati7
    @027chinmaykarodpati7 2 роки тому

    You're brilliant mam you're teaching style is very fantastic

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

    I passed ds because of u mam

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

    Very easy way of writing code and easy explanation.
    Thanks mam for making this video in 2019 due to which I can refer this if I dont understand in online college .

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

    Ma'am during display you are separately printing queue[rear] as the condition is not true. If we use do-while loop instead of while loop then the condition will execute once even if (i!=rear) then queue[rear] will also be printed and then it will come out of the loop. Can't we use do-while here?

  • @lockyer8315
    @lockyer8315 2 роки тому +2

    Here is the above code in c language:
    // circular queue
    #include
    int que[5];
    void enqueue(int x);
    void dequeue();
    void print();
    int front = -1, rear = -1; // pushing from rear and popping from front
    int main()
    {
    printf("Press 1 to enqueue
    Press 2 to dequeue
    Press 3 to print the list
    Press 4 to exit
    ");
    int cho, n;
    while (1)
    {
    printf("Enter your choice: ");
    scanf("%d", &cho);
    if (cho == 4)
    break;
    switch (cho)
    {
    case 1:
    printf("Enter a number to enqueue: ");
    scanf("%d", &n);
    enqueue(n);
    continue;
    case 2:
    dequeue();
    continue;
    case 3:
    print();
    continue;
    default:
    printf("Wrong choice
    ");
    }
    }
    return 0;
    }
    void enqueue(int x)
    {
    if (front == -1 && rear == -1)
    {
    front = rear = 0;
    que[rear] = x;
    }
    else if ((rear + 1) % 5 == front)
    printf("Queue Full
    ");
    else
    {
    rear = (rear + 1) % 5;
    que[rear] = x;
    }
    }
    void dequeue()
    {
    if (front == -1 && rear == -1)
    {
    printf("Queue Empty
    ");
    return;
    }
    else if (front == rear)
    front = rear = -1;
    else
    front = (front + 1) % 5;
    }
    void print()
    {
    printf("Queue: ");
    if (front == -1 && rear == -1)
    return;
    else
    {
    for (int i = front; i != rear; i = (i + 1) % 5)
    {
    printf("%d ", que[i]);
    }
    printf("%d ", que[rear]);
    printf("
    ");
    }
    }

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

      why are u printing 2 printf printf("%d ", que[i]) and printf("%d ", que[rear]);

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

      @@aviralsaxena9773 because (i == rear) hoga toh loop will not run, isliye wo term bahar print kiya. U can ask if u have any doubts further.

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

      @@lockyer8315 then we can also use i

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

      @@aviralsaxena9773 No, because its a circular queue.The value of i can be greater than rear too.

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

      @@lockyer8315 means?

  • @ApurvaKoli-ik2he
    @ApurvaKoli-ik2he 8 місяців тому

    You have superb teaching skills...

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

    People like you are the hope for good education in india

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

    Thank you very much. You are a genius.

  • @Sachchal
    @Sachchal 4 роки тому +1

    Ma'am you are an excellent teacher!! Thank you soo much!!

  • @techspot8722
    @techspot8722 3 роки тому +3

    Mam, you are really helpful ♥️

  • @biplabgiri6980
    @biplabgiri6980 4 роки тому +1

    It was the only topic that felt difficult to me but right now I really want to thank you mam for the explanation..... Doubts are clear now!!!!

  • @arpityadav2268
    @arpityadav2268 4 роки тому +1

    Thank You, Maa'm. Your beautiful explanation helps me a lot. 🥰

  • @SherlockHolmes-lc7jo
    @SherlockHolmes-lc7jo 3 роки тому +2

    Ma'am you are an amazing teacher, keep up this great work ,may god bless you!!!

  • @adityakayal1
    @adityakayal1 4 роки тому +1

    Maaam
    You just saved me from failing
    Today is my exam, I didn't study the whole year, but watched all your videos whole night. Now my data structure is ready.😄😄
    Why didn't you learn all the subjects maam?🙃
    It would have been of great help.🤭
    Btw
    Thanks maaam.
    Love you Maam♥️
    Yours most obediently,
    A student of Sem3

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

    Very Great All things cover Teaching method very nice

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

    Love your teaching andyour efforts. Thank you ma'am

  • @beastslayer5893
    @beastslayer5893 Рік тому +1

    mam while doing the code of this i have found that there was a mistake in the display function ... it should be while(i!=rear+1)

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

    Thank you very much mam. Really u r helping many students to learn ds in an understanding way

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

    Thank you so much ma'am... Your way of teaching is too good... Thanks alot ma'am...

  • @RexEagle_
    @RexEagle_ 5 років тому +8

    ma'am please cover operation on queue, deques and priority queue please ma'am!

  • @ZainabZainab-ps3xs
    @ZainabZainab-ps3xs 3 роки тому

    love uh mam you save me & my time You are great person in the world..

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

    Perfectly explained!! so helpful!! I'd like to know what's the statement that deletes the element. Thanks

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

    Thank you very much madam to learn this hard concept very easily 🙏🏻🙏🏻

  • @kiran-ed6tm
    @kiran-ed6tm 4 роки тому +1

    How to get ideas to solve a problem ? What should I do if I got stuck ? For example until I watched the Video, I couldn't get the idea that ** (REAR + 1) % SIZE == FRONT ***gives you whether the Queue is full or not ? I was stuck and getting frustrated.
    So how to get ideas if we are stuck ?

  • @shinebaka5696
    @shinebaka5696 4 роки тому +1

    Wow you explained in such an amazing way.

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

    Thank you for your great and easiest explanation mam.

  • @abizeta7507
    @abizeta7507 10 місяців тому

    your teaching is good mam. but its my request you can explain short and sweet.

  • @gangadhar5571
    @gangadhar5571 Місяць тому

    excellent presentation..good ..

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

    in display() method, what is the initial value of i? if it is 0 then may be some elements are removed from front that is not possible. is it front????????

    • @Taha28243
      @Taha28243 7 місяців тому +1

      Bro i=front hai

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

    Thanku so so much mam ... 🙏🙏🙏 For explaining so simply and beautifully.. 💥💥

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

    Great lecture mam.

  • @ambikasadh6569
    @ambikasadh6569 4 роки тому +7

    Mam can u please explain the sorting in circular queue.

  • @haidermughalofficial
    @haidermughalofficial 4 роки тому +1

    Best channal for programming miss you are great👌👌👌

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

    mam tower of hanoi and best case worst case average case time complexcity video koro na akta.....khub helpful hobe...tomar video chara r kono you tube video bhoja jaina.. tumi khub bhalo explain koro...

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

    Mam your explanation is superb... I really learn everything quite fast but I have to search for algorithms elsewhere everytime... So if possible plz make videos for Algorithm too....
    And Thanku very much for your teaching☺️☺️🙏