Let’s take a look at a slightly more difficult DSA question. In order to answer this question, we’d have to do some critical thinking, and also break down our code into multiple functions to separate our concerns and make the code easier to read and understand. Here’s the question:


Ever thought about fining the sum of all of the numbers in an array? Take a look at two different methods to find the solution. Let’s say for example we have the following array:

We’ll begin by creating the variable sum and setting…


Let’s take a look at another common DSA question:

There are…


Let’s continue our JS Data Structures and Algorithms series by talking about palindromes. What’s a palindrome? These are words that are the same forward and backward. Like madam, civic, or radar. How can we write a function that checks whether or…


FizzBuzz might be the most commonly known interview question for developers and engineers. I recently interviewed for a position and a variation of this question was the first coding question that they asked me. You might be wondering….how in the world do I solve it? Odds are, you might be…


Thankfully, web developers can now have access to libraries of code that will provide automatic solutions and functionality to their code. Instead of writing everything from scratch, we have access to a massive array of gems that will speed up the development of our code. Choosing the right gems for…


A few weeks ago I had my first ever technical interview and let’s just say it could’ve gone much better (begins sobbing). Thankfully it was just a mock interview that was simply for practice, but the interviewer asked me just one question. …


Ruby is an Object-Oriented Language. Ruby can represent different types of data such as strings, numbers, and text. A full list of the different data types in Ruby are as follows:

1. Numbers

2. Symbols

3. Boolean

4. Arrays

5. Strings

6. Hashes

Numbers

Numbers can be defined as series…


During my time at Flatiron School, I remember learning about the three pillars of web programming:

1. Recognize JavaScript Events

2. Manipulate the DOM

3. Communicate with the server

Let’s take a look at the second pillar. Manipulating the DOM is essential, but unfortunately, it can be a little slow…


What is Ruby on Rails?

Rails is a server-side web-application framework written in Ruby that is designed to create applications according to the model-view-controller (MVC) framework. It is extremely versatile, as it can facilitate the use of JSON, XMP, JavaScript, CSS, and HTML. Rails can be used just as an…

Niani Byrd

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