In mathematics, a Kaprekar number for a given base is a non_negative_integer, the representation of whose square in that base can be split into two parts that add up to the original number again. For instance, 297 is a Kaprekar number, because 97² = 88209 and 88+209 = 297. The Kaprekar numbers are named after D. R. Kaprekar. How […]

I wrote my first ever very simple Java program today which executes two lines of instructions and prints the output on a single line. Lets take a look at lines 5 and 6 of this program. System.out.print(3); prints the number 3 and positions the cursor immediately to the right of the number 3. System.out.println(“3 + […]

I read an interesting article on Skillcrush.com the other day that had an interesting title, “Learning to code can cure homelessness. A young man of 23 passes a homeless person everyday on his way to work and wonders if teaching this person to code could be a solution at least to this one person’s homelessness. […]

As part of my code every day challenge, today I am taking a look at the Ruby Inject method. I never really understood how the Ruby inject method worked and why one might use it. The Ruby inject method is useful for aggregating data. For example a summation could be done with inject (by aggregating […]

I stumbled onto a post on Medium.com about why quantity should be your priority. A young woman, Jennifer Dewalt without any formal training, or attending a coding bootcamp decided to commit to building 180 websites in 180 days. Not only did she have to build 180 websites in 180 days, but she committed to publishing […]