Skip to content

Latest commit

 

History

History

002-postfix

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

postfix

Interview question of the issue #002 of rendezvous with cassidoo.

The question

Write a simple postfix calculator function that takes in a string expression and returns the result.

Example usage:

postfix('5 4 * 6 2 / +')
> 23

Here's a hint if you don't know what postfix is!

Installing & Running

Just pnpm i to install all dependencies and then pnpm t to run the tests!