bernardkllogjri / algorithms

Various algorithms solved for fun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple calculator

Given a simple multiplication/addition mathimatical expression as a string like the following examples

  13 -> 13
  ( + 1 5 ) -> 6
  ( + 3 4 9 ) -> 16
  ( + ( + 6 8 ) ( * 3 7 1 ) 5 )-> 40

Return the result of that expression

About

Various algorithms solved for fun


Languages

Language:TypeScript 100.0%