Category: Java

Reverse Polish Notation parser and calculator

Reverse Polish Notation parser and calculator

There are different ways to represent arithmetic computations. The one we are used to makes use of infix notation, i.e. 1 + 2 + 3 – 5 = 1. Some programming languages, most notably in the Lisp family, make use of prefix notation to form so-called S-Expressions, where the operation is placed first followed by…

Read More Read More

Sketchogon app release

Sketchogon app release

I have created and published the Sketchogon Android app! Sketchogon is a minimalistic drawing app that allows you to create varying brush strokes as well as simple geometric shapes, and to save your creation so that you can share it with the world.   Check it out on the Android Play Store here!

Project Euler Problem 1

Project Euler Problem 1

The following is my solution to the first Project Euler problem. Project Euler is a large list of programming problems of varying complexities with an emphasis on mathematics. The problem is as follows: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and…

Read More Read More