more simple parse '('+formula+")" as: for each name we push to stack {name:1}; for each number we mult all values of hash in top of stack; for each ( we just push it to stack for each ) we merge all hash on from stack from top until on top is ( then remove ( and push this merged hash it more simple and shorter
Hats off Bro, tqsm
more simple parse '('+formula+")" as:
for each name we push to stack {name:1};
for each number we mult all values of hash in top of stack;
for each ( we just push it to stack
for each ) we merge all hash on from stack from top until on top is ( then remove ( and push this merged hash
it more simple and shorter
love the thumbnail lol