Java

I was recently tasked with implementing a parallel version of a common sorting algorithm, specifically MergeSort. When I first started thinking about how to tackle this problem I thought it would be a simple task. Naively, I assumed that I...

In order to properly create software we need to write Unit Tests. Most of the time this is pretty straight forward, however, occasionally our software contains private methods that need to be tested. You may try to get around this by just testing the public methods that call these private me...

When tasked with creating a new feature we normally instantly start thinking of possible ways to implement it. Generally, we can quickly come up with some sort of an idea that we believe will suffice, and begin to implement our feature. We get right to work and our ideas start coming to life...

I wanted some more Java practice before I start my new job as a Software Engineer working with Java, so I decided to implement some basic sorting algorithms and time them. For each algorithm I chose to start by coping the ArrayList into a new one as to preserve the original input. I started ...

In preparation for upcoming interviews for a Software Engineering position, I have decided to post some practice questions and my solutions to them. If you are able to think of a better way to solve any of the questions I would appreciate hearing it. I chose to implement these solutions in J...