Stack Data Structure Implementation | Java Course in Tamil | Logic First Tamil

Поділитися
Вставка
  • Опубліковано 15 вер 2024
  • Java Playlist,
    • Learn Java in Tamil
    C Interview program playlist,
    • C Interview Programs i...
    C programming in one video,
    • C Programming in Tamil...
    C programming playlist
    • Introduction to C prog...
    C++ Playlist link
    • C++ Programming in Tamil
    English channel link,
    / @logicfirst31

КОМЕНТАРІ • 65

  • @sarav-Frontend_Engineer
    @sarav-Frontend_Engineer Рік тому +8

    Your simple way of explanation boosting our interests to learn and code more. Thanks a lot!

  • @Sakthi-rf1ok
    @Sakthi-rf1ok 3 роки тому +7

    Mam.. ellam Data structures (LinkedList,que,etc)um nadathidunga mam..romba use full ah irukku.. Thank you mam..

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

    excellent akka enga mam vida super a solli kudukarenga. love u

  • @topricano9964
    @topricano9964 2 місяці тому

    23 minutes epdi pochu nae teriyala... Your explanation is amazing!!!

  • @sivakumar-uu4ft
    @sivakumar-uu4ft 3 роки тому +4

    Nice
    Detailed view in stack 👍
    Keep post with letest java 8 👍

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

    நன்றி அக்கா

  • @AAnonymouSS1
    @AAnonymouSS1 11 місяців тому +1

    Good explanation

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

    Thanks mam

  • @C.Sakthivignesh
    @C.Sakthivignesh 2 роки тому +2

    Mam,Are you working in product based company?

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

    Superb👌👌

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

    Mam I'm not using an IDE while executing this code, cannot find symbol error how to resolve

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

    superbzzz mam..
    thanks a lot mam.....

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

    Mam queue la ,first in first out thana sonninga , appo epdii mam dequeue (like Stack , If(tos>0)
    return s[tos--];)
    class varum (dequeue panna firstla irukara element thana print aaganum),naa try panna but enakku epdi panrathunu terla mam

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

      you should dequeue from beginning. try to do that. very easy only

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

      @@LogicFirstTamil
      Atha for loop use pani poten correct ah vanduchi,
      Apdi podlama mam,
      Void pop()
      for(tos=0;tos

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

    Akka Queue full explaination give pannunga akka ungalukku Punniyamaa pokum..neenga teach panna stack enakku super ah understand pannen.Plz Give the queue And you must rply me.

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

      Queue um athey maari thn bro first la irundu display pana oru loop kula array output podra mari irukum bro

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

    clear explanation

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

    Sooper b mam

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

    Akka data structure video full videos iruka ongda

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

    Akka char vatchu try panna char print aagama athoda ASCII value print aaguthu

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

    @Logic First Tamil
    Atha for loop use pani poten correct ah vanduchi,
    Apdi podlama mam,
    Void pop()
    for(int i=0;i

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

      For pop 🎂
      Correct ah mam

  • @MuthuPandi-dz6rh
    @MuthuPandi-dz6rh 2 роки тому +1

    Maam ithu normal program thaana maam class kulla methods create panni methods kulla some functions write panni main la call panrom ithukum data structure kum stack kum enna link maam explain pannunga maam plsss

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

      This itself is stack ds. Data structure na onnum special illa. It s also a class with methods like this.

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

    I got error like this "Can't find symbol"

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

    hello mam
    What is the purpose of creating a package?

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

    👍

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

    mam stack constructer edhuku creater pandrom athoda useh intha programe la illa stack constructer la only tos value tha assign pandrom atha stack class le assign pannikalamla....???

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

      this is the right way to do.

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

      Tq u for solving the doubt mam...love of your works ❤️

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

    Mam character vachi try pannan...but s1.push(a); nu kodutha "a" la error kaatudhu...err type:"a cannot be resolved to a variable"...push la char item dhan koduthurkan but en varala nu therila mam?

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

    Mam nenga stack ah vera class use pani podlam la
    Apdi potalum crrct thanu,

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

    Stack Ku header file import pannanuma?

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

    Can u please explain recursion

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

      chk my c recusion video and merge sort video

  • @peakyblinderzz
    @peakyblinderzz 9 місяців тому +2

    Implement a stack for char datatype
    package oop;
    public class stackDemo {
    public static void main(String args[]) {
    Stack v1 = new Stack();
    v1.push('l');
    v1.push('o');
    v1.push('g');
    v1.push('i');
    v1.push('c');

    System.out.println( v1.pop());
    }}
    package oop;
    public class Stack {

    char v [] = new char [10];
    int tos;

    Stack() {
    tos =-1;

    }
    void push(char item) {
    if(tos==9) {
    System.out.println("The stack is full");
    }
    else {
    v[++tos]=item;
    }
    }
    char pop() {
    if(tos>=0) {
    return v[tos--];
    }
    else {
    System.out.println("The stack is empty");
    return (char) -1;
    }
    }
    }

  • @MuthuPandi-dz6rh
    @MuthuPandi-dz6rh 2 роки тому

    I have done que maam but i used another variable by intializing 0 and returned like number++ 😂 is it correct maam

    • @MuthuPandi-dz6rh
      @MuthuPandi-dz6rh 2 роки тому

      Maam reply for this please

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

      bro, fully implement and test it. If it works for all cases, then its good. You know how a queue should behave right? If not check my datastructure queue video

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

    Na patha varaiyum entha playlist la entha video tha konjam puriyala mam please replyme😕

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

      i have simplified it as much as possible. pls try to rewatch and understand each line i say. dont progress further if you dont understand something. grab a paper, work it out and understand.

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

      Akka ungakita na learn pannanum nu nenakiren ungala yepudi contact pannurathu ..

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

      @@umesh4678 sorry. m not taking personal classes bro

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

      @@LogicFirstTamil ok 😕

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

    Enaku en purilaya 🥲

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

      Watch from beginning. Whenever you are not getting clearly, dont continue to watch. Stop there, take pen and paper, write down the example and try to understand that point. Just continuing to watch won't help

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

    Plss reply me mam

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

    Hey mam,
    void push(int item)
    {
    if(tos==9)
    {
    Sysout("Stack is Full");
    }
    }
    what about the index 9th value takes place. The position of index 9 will remain empty...

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

      if tos is 9, it means a value is already there in index 9. pls see explanation again

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

      @@LogicFirstTamil ok thank you so much

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

    @Logic First Tamil
    Atha for loop use pani poten correct ah vanduchi,
    Apdi podlama mam,
    Void pop()
    for(int i=0;i

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

      why are printing inside push method? You should only push data within push method.

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

      @@LogicFirstTamil
      Sorry mam that is pop function in stack()

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

      @@LogicFirstTamil
      Now correct ah mam

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

      @@LogicFirstTamil
      I wrongly typed it as push