A big part of solving algorithms involves working with Big O Notation and understanding how best to formulate your solution, so that it meets requirements. For the problem below, I had to figure out how to solve the algorithm in O(1) additional space. …


Continuing with the theme of solving algorithms that involve manipulating matrices, I decided to tackle the bossFight algorithm. Here’s the assignment I received:

You are given a list of integers fighters and a two dimensional list bosses. The fighters list contains 1s and 0s with a 1 representing a fighter…


I’ve worked with matrix algorithms before, so I’m always curious about finding new ways to solve them. Here’s one I did recently:

You are given a two-dimensional integer matrix matrix containing 1s and 0s. For each row in matrix, reverse the row. …


In my last post, I talked about setting up the React Router library to enable proper routing functionality in your React app. I covered BrowserRouter, Routes, history, component props, render props, and Switch. Now, for part 2, I’ll be discussing how to use Link.

Link

React Router comes with the capability…


When you’re building a React application, you’ll reach a point where you’ll need to create the ability to navigate to other parts of your app. This can be done by 1) clicking on a button, link, image, or some other element on the DOM. …


Photo by Jiyeon Park on Unsplash

I recently started learning Angular and building my first practice app. The first thing I learned to build was a component. Everything was going fine until I hit a bug that I wasn’t sure how to fix. I started to do research to understand the error, but then I realized…


Photo by Travel Sourced on Unsplash

If you already know how to use React, like me, then you’ll find it easy to understand how to create a component in Angular. For those not familiar with the concept of a “component,” you can think of it as a way to compartmentalize chunks of code for particular use…


Photo by ConvertKit on Unsplash

When working in Angular, you have the ability to give the DOM instructions. More specifically, you’re able to control certain element(s). It’s a cool feature called a “directive,” and there are actually 3 kinds:

Components - directives with a template

Attribute Directives - change behavior or appearance of elements

Structural…


Photo by JOSHUA COLEMAN on Unsplash

HTML5 brought along cool features like the Web Storage API, which included sessionStorage and localStorage. It created a simple way to store data locally in the browser without affecting your application’s performance. Before Web Storage, developers used cookies, which had to be included in every HTTP request. That slowed things…


I had a lot of fun exploring CSS animations when creating breathing techniques for a React app. So, I decided to share more of them. In a previous post, I showed how to create the expanding and contracting circle you see above. That was the basic animation for the diaphragmatic…

Vanessa Martinez

Full Stack Software Engineer open to work. Experience in JavaScript, React.js, and Ruby on Rails.

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