Write a java program to convert inorder expression to preorder expression in optimized way. Input: a+b*c Output: +a*bc | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Write a java program to convert inorder expression to preorder expression in optimized way. Input: a+b*c Output: +a*bc

Can anyone help me out with this?

20th Apr 2019, 10:17 AM
Abhijeet Farakate
Abhijeet Farakate - avatar
1 ответ
0
You can look up reverse-polish-notation. Than try to implement it yourself and if you than have a problem ask those questions here. Please dont ask for full programms here in the q&a section.
20th Apr 2019, 10:43 AM
Dragonxiv
Dragonxiv - avatar