AdvertisementsRead More Transform numbers into written words
Today I solved this algorithm that is the third problem in Project Euler. This still need some improvement, because even when the last prime number is found it still counts and takes a really long time when given big numbers. I will update this code as soon as I find a better solution but for […]Read More Solving Algorithms – Largest prime factor
Why are solving algorithms Adnilson, shouldn’t you work on building applications? Yes, you are right! The thing with algorithms is that it helps you solve problems and are good to make your mind look for solutions. This way you build a blueprint and whenever you get a problem you tackle the problem instead of being […]Read More Solving Algorithms – Bubble Sort
Today I encountered an algorithm to solve and the amazing Ruby syntax made me solve this problem with a succinct code with testing included. All words in the title should be capitalised except a few ones like “a”, “the”, “to”, “at”, “in”, “with”, “and”, “but” and “or”. To make this very short the solution is […]Read More Solving Algorithms – Title Capitalisation
Early today I was doing my first homework assignment for the SaaS course by University of California – Berkeley, and was making a Rspec test work. This method was meant to take 2 arguments, one array with integers and one integer. What we have to do is sum two numbers in the array until it […]Read More Ruby permutation method rocks!
I finish my day with this project in the amazing Ruby Koans learning method, and had completed 216/282! Got to see the Ruby documentation and feels like I am getting more into the syntax. Here is the code I made in the about_dice_project.rb:Read More Ruby Koans Dice Project
In my last post I shared the difficulty of Automated Testing and skipped that exercise, then stumbled across Ruby Koans by Neo, which is a way of learning Ruby syntax through TDD. I began on Friday and continued until today, minus the weekend because it’s almost fully occupied by work. I’m half way on it […]Read More Test Driven Development
Well I have been on and off programming after leaving College. This was rekindled after seeing my girlfriend in late 2015 doing a SQL tutorial in Khan’s Academy, which I completed in a few days. Then restarted LPTHW book, but changed to LRTHW which I began in late in 2014 and never went back to […]Read More Back on Track