I am a coder

"A computer. And you can play with it? Wow!"

I first saw a personal computer in a holiday trip to the USA sometime in the late 1970s. It was an amazing sight and my intuition told me that I would live forever around computers. This was science-fiction stuff for a scrawny Venezuelan kid of that era.

I had an early start at that time: my father travelled overseas a lot for business, and he loved buying gadgets you could not find in Venezuela.

At one point or another my father had a HP-35 calculator, a Pulsar watch, a first-generation Odyssey console (which he sold shortly after, to my eternal regret), a digital-chess board and all kinds of Super-8 movie-making gadgetry.

I was very geeky. I had a Radio Shack Electronic Project Kit. Laugh at me, but I loved that board.

I had already read The Best of Creative Computing from cover to cover by the time I got my first computer, a Sinclair ZX-81. It was my 12th birthday and I was hooked into solving coding problems.

Coding Problems

Some people do crosswords or Sudoku. I solve coding problems.

Some solutions are ugly hacks or too verbose. Other solutions are pretty functional.

Hackerrank Challenges: in Python 3

 

Project Euler Challenges: in pseudo-code

"Project Euler exists to encourage, challenge, and develop the skills and enjoyment of anyone with an interest in the fascinating world of mathematics."

The posting of verbatim solutions from Project Euler is discouraged: this is to make people think and solve the problems for themselves.

With this in mind, I will describe my solutions using pseudo-code.

 

PS: You'd be wise to test anything you find in the Internet before you use it.

"Elegant code does not exist; it either solves a business problem or it does not."