Sign in

Software Engineer

sticks & stones may break my bones but reduce is done confusing me

In going through the many many algorithms that make up LeetCode, I’ve noticed the reduce() method coming up in quite a few solutions on the discussion boards. This common method and its syntax has caused me to think myself into a cloud of confusion for too long. I’m sure I can’t be the only one… right? If not, read on!

I’ve since taken on the task of breaking it down to understand how I can implement it in the future, and wanted to share my findings…


Methods & example of how to use Map with Big O breakdown

A Map is an object that holds key value pairs and remembers the original insertion order.

This is ES6’s ‘improved’ / alternative collection type; that picks up the slack where using an object was lacking.

Let’s look over Map’s set of built in methods to get started (# 1-9 link to it’s developer.mozilla.org documentation).

  1. Map.prototype.clear()
  2. Map.prototype.delete()
  3. Map.prototype.entries()
  4. Map.prototype.forEach()
  5. Map.prototype.get()
  6. Map.prototype.has()
  7. Map.prototype.keys()
  8. Map.prototype.set()
  9. Map.prototype.values()
  10. new Map( ) creates a Map object
  11. Map.prototype.size

Some of these are likely familiar and function as you would image they do. Let’s take…


How to (re)ignite the spark between you and code

Have you been feeling unmotivated? Uninspired? Unbelievably over coding?

It may be time to take a step back from what you’re doing and reassess why it is you feel the way that you do. Literally ask yourself, “Why am I doing this?”. Do you remember why you started coding in the first place?

Maybe you were looking for something more stimulating & challenging and that led you to learn how to code.

Maybe you took a class in high school and fell in love with the process of creating something…


get familiar with this popular algorithm

While working to secure a software engineering role, algorithms are unavoidable. Especially when it comes to the technical interview. To better prepare, one of the things I have been doing is spending countless hours on LeetCode solving my way through the 1747 problems. It can feel a little overwhelming at times, but thankfully there are a handful of algorithms that frequently come up in the interview setting to focus on. One of them being the binary search algorithm.

This is an algorithm whose time complexity is O(log n) or in the best case…


A simple introduction

Thanks for the visit! Feel free to see more of my work and connect with me on LinkedIn.

What’s with Big O notation? This is an important concept to consider when solving algorithms and writing code. Simply put, Big O notation is a recognized standard of figuring out the efficiency and scalability of code. When figuring the complexity of an algorithm, it is generally expressed as a function of n. Where n is the size of the input.

There are a few different things to consider when analyzing Big O notation. Those being time complexity and…


make a positive impact while improving your skills and even get paid!

I am currently in the last weeks of a software engineering bootcamp, wondering what comes next. There is still much to be done, but what do I need to do when it comes to finding a job? Of course, there are career services to help guide us on the path to our first technical role as a developer- thankfully. While trying to figure out what kind of company I want to work for, social impact comes to mind. That’s what being a dev is about anyway, right? Solving…


find the balance, don’t forget the grind

Thanks for the visit! Check out my work on GitHub or feel free to connect with me on LinkedIn.

If you are considering a bootcamp, are currently in one or are just dealing with a very full work plate and want to make your mental health more of a priority- read on! Or if any of these scenarios apply to you and you feel that you have a good grasp on your work-life balance, please, leave a comment down below to share your tips, tricks and perspective.

Going into an immersive bootcamp, I…


8 Useful Helper Methods That Will Get the Ball Rolling on Your ROR Project

Thanks for the visit! Check out my work on GitHub or connect with me on LinkedIn.

In life, it’s not uncommon to want to do something by yourself. We can all be a little stubborn when it comes to reaching out for assistance right when it’s needed. Lucky for us, our bad habits aren’t being judged while working with Rails. In fact, the opposite is true, Rails is here to give us the help that’s needed, right when it’s needed!

When transitioning from working onActiveRecord to…


and useful shortcuts to make coding easier and prettier

Thanks for the visit! Check out my work on GitHub or connect with me on LinkedIn.

I recently took the time to organize my VS Code by installing some extensions that I have found to be helpful in the earlier days of my coding journey. If you haven’t already downloaded VS Code… what are you doing?? Go get it and come back to get the extensions.

It’s no surprise that VS Code is one of the most popular editors to date. …

Haley Proctor

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store