Open in app

Sign In

Write

Sign In

Niani Byrd
Niani Byrd

2 Followers

Home

About

Jan 7, 2022

DSA Continued: Make Array Consecutive 2

Let’s take a look at another DSA problem. Ratiorg got statues of different sizes as a present from CodeMaster for his birthday, each statue having an non-negative integer size. Since he likes to make things perfect, he wants to arrange them from smallest to largest so that each statue will…

2 min read

2 min read


Dec 30, 2021

LeetCode Continued: Length of Last Word

Given a string s consists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string. If the last word does not exist, return 0. Note: A word is defined as a character sequence consists of non-space characters only. The problem specifies that a…

1 min read

1 min read


Dec 26, 2021

Whiteboarding 101: You Got This!

If you’re looking for a job in the tech industry, you’ll probably be asked to live code in front of some of the engineers. This method of interviewing is commonly referred to as whiteboarding. Now if you’re a newcomer to tech like myself, this will probably seem pretty scary. Well…

2 min read

2 min read


Dec 19, 2021

Longest Common Prefix

Let’s switch gears and attack a DSA problem, but solve it in Ruby! Ruby was the first programming language I learned at Flatiron School. It truly is a beautiful language, and a great intro into the world of coding! So take a look at the following question: Write a function…

1 min read

1 min read


Dec 12, 2021

Angular vs React

There are many JavaScript frameworks, but how do you know which one to choose? Angular and React are two very popular frameworks that have many similarities, but also quite a few differences. …

2 min read

Angular vs React
Angular vs React

2 min read


Nov 30, 2021

DSA: palindromeNumber

We’ve talked about palindromes before, but how can we check if an integer is a palindrome? The process is a bit different. Given an integer x, return true if x is palindrome integer. An integer is a palindrome when it reads the same backward as forward. …

2 min read

2 min read


Nov 23, 2021

Finding Motivation in a Sea of Rejections

I’ve been searching for jobs for close to three months, and truthfully, its been a series of highs and lows. Some interviews went really well, while others were…..well….a learning experience. I’m still applying each day, but sometimes it gets very discouraging. I know there are others out there like me…

2 min read

2 min read


Nov 18, 2021

Find Number of Digits in Number

Count the number of digits in a long integer entered by a user. Right off the bat, we know we’re going to have to iterate over the number to count the number of digits. So let’s start by setting a variable, and then initializing a while loop. …

1 min read

1 min read


Nov 12, 2021

JavaScript: Find the Smallest and Biggest Numbers

Let’s solve another problem: Create a function that takes an array of numbers and return both the minimum and maximum numbers, in that order. So we are given an array of numbers and we need to return the smallest number and the largest number, in that order. For example, if…

1 min read

1 min read


Nov 5, 2021

DSA: shapeArea

Read the following problem statement: Ratiorg got statues of different sizes as a present from CodeMaster for his birthday, each statue having an non-negative integer size. Since he likes to make things perfect, he wants to arrange them from smallest to largest so that each statue will be bigger than…

2 min read

2 min read

Niani Byrd

Niani Byrd

2 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech