Month: July 2019

Bucket Sort in Ruby

Next up on the sorting train: Bucket Sort! I like the name; I like the visuals; it’s a fun sort. And in plenty of cases it can be oh, so efficient. The main idea behind bucket sort, also called bin sort, is to take a list of data and...
Read More

Heap Sort in Ruby

Following up on my quicksort and merge sort blog posts, I’m now going dive into the heap sort. I found the heap sort to be a tad more obtuse than the other basic sorts, and I think the main reason is we’re moving on from just using arrays and...
Read More

Quicksort in Ruby

In a previous blog post, I went over how to implement a merge sort in Ruby. We’re just going to keep the merge train rolling. Next stop: Quicksort! Like merge sort, quicksort is recursive and uses divide & conquer. Its worst case run time is O(n^2), which is on...
Read More

Merge Sort in Ruby

Sorting is a basic and extremely key component of algorithm study. Many other/higher algorithms rely on sorted lists to work better, so placing things in the correct order creates the foundation for a lot of problem-solving. We’re going to skip over the more direct insertion and selection sorts to...
Read More

How to Deploy a React Front End/Rails Back End Project to Heroku

Deploying apps is a great sort-of-final step to setting up your portfolio project. Github links and video demos are truly nice, but actually interacting with your site is where the fun really is. If you’re just finishing up your software bootcamp experience, and if you’re looking for info on...
Read More