Testing code - A Good Practice to Have
Testing my code was drilled into my brain when I was working at edX. For each monitoring script I wrote, there was an accompanying test script to make sure that it worked. Prior to edX, I admittedl...
Testing my code was drilled into my brain when I was working at edX. For each monitoring script I wrote, there was an accompanying test script to make sure that it worked. Prior to edX, I admittedl...
edX is a massive open online course (MOOC) provider based out of Boston, MA and it was the place of my internship for the summer as I start my career as a software engineer. I opted to be part of t...
Let's find our way through the forest In our last couple of posts, we talked about two things: the implementation of binary trees and recursion. First, we know that binary trees consist of a ro...
Before getting into how to traverse binary trees, whether ordered or unordered, as mentioned in my last post, we have to go into recursion, since it's an integral part of how to do that, which brin...
Split that branch in two! In my last post, we talked about the binary search tree, what it is, and it's use cases. Now, we're going to talk about implementation. Since I've been working in Java...
'Cause they're splitting in two! Get it...? I'll be leaving now. You know, you'd think I'd be taking a break on data structures and talk about other things like JavaScript, Ruby or anything le...
Sorry friends, it's not time to duel. It's time to talk about doubly-linked lists In what would probably be my last post on the subject of linked lists, we're going to be talking about doubly l...
I was doing a problem on LeetCode the other day that had the following problem: Given a sorted linked list, delete all duplicates such that each element appear only once. An example inp...
According to the Mozilla developer page for objects, they define objects as the following: The Object class represents one of JavaScript's data types. It is used to store vari...
As I'm preparing for different code challenges, I'm coming across different concepts that fall under the umbrella of Data Structures and Algorithms. For instance, I'm going through different questi...