Java: converting infix to postfix notation using stack | Implementation using java

Publicado el: 24 octubre 2020
en el canal de: CODE ZERO
4,428
64

in this video we;ll be converting infix notation to postfix notation using stack.
i'll be using netbeans ide..
#java
#stack
#infixtopostfix
#code_zero
code for stack is provided below(copy & paste it):

class Stack
{

int top=-1;
int size=0;
char[] arr;

public Stack(int size)
{
arr= new char[size];
this.size=size;
}
public void push(char num)
{
arr[++top]=num;
}

public char pop()
{
return arr[top--];
}

public char peek()
{
return arr[top];
}

public char peekn(int i)
{
return arr[i];
}
public int size()
{
return top+1;
}
public boolean isEmpty()
{
return top==-1;
}
}


En esta página del sitio puede ver el video en línea Java: converting infix to postfix notation using stack | Implementation using java de Duración hora minuto segunda en buena calidad , que subió el usuario CODE ZERO 24 octubre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 4,428 veces y le gustó 64 a los espectadores. Disfruta viendo!