March 2018
Intermediate to advanced
324 pages
8h 30m
English
We are going to obviate how the expressions are read so that we can focus on solving the problem. Furthermore, we are going to work only with positive integers to simplify the problem, although it shouldn't be very difficult to accept floats or doubles as well. In order to solve this kata, we are asked to fulfill only the following two requirements:
The following code snippet is a small scaffold for us to start our project upon:
public class ReversePolishNotation { int compute(String expression) { return 0; }}public class NotReversePolishNotationError extends RuntimeException { public NotReversePolishNotationError() ...Read now
Unlock full access