infix to prefix

Estimated reading time: 1 minute

infix to prefix

  • reverse string
  • run loop that reverse string
  • create operator stack and operand array string
  • is operator that time string save inside stack
  • check operand is higher or not
  • is higher that time store that operand inside array
  • is string/number that time save inside array

  • infix to prefix animation

infix to postfix