Submitted almost 2 years agoA solution to the Calculator app challenge
Calculator app with React and Redux
react, redux, pwa
@AbelMuro

Solution retrospective
A fun app to develop. The most challenging part was utilizing an algorithm that evaluates a string that has a math expression. I ended up using the postfix algorithm to do exactly that. But first, I needed to convert the math expression from infix (5 + 5) to postfix (5 5 +). Postfix strings are perfect for evaluating math expressions using a stack data structure (my leetcode skills finally helped me for once....). And of course, the app is fully responsive and will look great on any device.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Abel Muro's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord