Nick Huemmer
I write about software engineering and other things I want to share or learn better.
18 July 2024
Backpacking Gear List
A list of gear for backpacking trips into the Appalachian Mountains.
Read more04 December 2023
How Subnet Masking Works
How does subnet masking work?
Read more14 September 2023
What are hooks in React?
What are hooks in React and how do we use them, specifically useState and useEffect?
Read more17 July 2023
What is an Algorithm?
A brief explanation of what an algorithm is.
Read more12 July 2023
Leetcode 128 - Longest Consecutive Sequence
A solution for Leetcode Problem 128.
Read more10 July 2023
Binary Search Tree Breadth First Traversal
10 July 2023
Binary Search Tree Depth First Traversal
05 July 2023
Leetcode 1 - Two Sum
A solution with explanation for Leetcode Problem 1, two sum.
Read more26 Feb 2023
Reduce Under the Hood
Here is a way to replicate the reduce method.
Read more25 February 2023
What is a Collection in Javascript?
A collection is a common data structure in JavaScript that you may already be familiar with.
Read more21 Feb 2023
Using React to dynamically create elements
One way to dynamically create elements in React.
Read more19 Feb 2023
What are props in React?
A brief introduction to props in React.
Read more17 February 2023
Mental Models
Learn what mental models are and how they can help you better understand complex concepts.
Read more17 Feb 2023
The Rest Parameter vs The Spread Operator in Javascript
A brief explanation of the rest parameter and distinguishing it from the spread operator in Javascript.
Read more15 Feb 2023
Cloning Objects in JavaScript
You can clone objects in JavaScript, but it doesn't work the way you might expect.
Read more15 Feb 2023
JavaScript Closures - Multiplier
Keep count of numbers passed in using closure.
Read more15 Feb 2023
JavaScript Closures Practice Problems
Keep count of numbers passed in using closure.
Read more15 Feb 2023
JavaScript Closures - A Brief Explanation
A brief explanation of closures in JavaScript
Read more15 Feb 2023
JavaScript Closures - getCounter
Increment and decrement a number using objects and closures.
Read more15 Feb 2023
JavaScript Closures - numCount
Count how many numbers are in a string.
Read more15 Feb 2023
JavaScript Closures - Sums
Keep count of numbers passed in using closure.
Read more15 Feb 2023
Return an array of unique values
Here are two ways to return an array of unique values.
Read more14 Feb 2023
JavaScript Recursion - countDigits
Count the digits of a number using recursion.
Read more14 Feb 2023
JavaScript Recursion - findMax
Find the max value of an array using recursion.
Read more14 Feb 2023
JavaScript Recursion - Inclusive Array Ranges
Return the numbers between two numbers, including the two given numbers.
Read more14 Feb 2023
JavaScript Recursion Practice Problems
Some practice problems and a brief outline on how recursion works.
Read more14 Feb 2023
JavaScript Recursion - Array Product Except Current Index
Create an array of the products of all array elements except for the current element.
Read more09 Feb 2023
Movie Constructor - OOP problem
Create a movie constructor function!
Read more09 Feb 2023
Restaurant Constructor - OOP problem
Create a Restaurant Constructor and create the menu!
Read more08 Feb 2023
JavaScript OOP Practice Problems
Some problems you can use to practice Javascript Object-Oriented Programming
Read more08 Feb 2023
Student Constructor - Medium OOP problem
Create the Student Constructor
Read more07 Feb 2023
JavaScript OOP - Car Rental Simulation
Create Car, Rental and Customer constructor functions that simulate a car rental situation.
Read more05 Feb 2023
JavaScript OOP - Stack
Create a Stack constructor function.
Read more03 Feb 2023
Leetcode 347 - Top K frequent elements
A solution for Leetcode Problem 347.
Read more03 Feb 2023
Leetcode 628 - Maximum Product of Three Numbers
A solution for Leetcode Problem 628.
Read more02 Feb 2023
Leetcode 36 - Valid Sudoku
A solution for Leetcode Problem 36.
Read more02 Feb 2023
Extending an Object in JavaScript
Here's how you can add properties to an object in JavaScript, from another object iteratively with reduce.
Read more02 Feb 2023
Using Closure to Calculate Large Fibonacci Numbers
Here's a way to calculate very large numbers from the Fibonacci sequence using closure/memoization.
Read more02 Feb 2023
JavaScript OOP - Bank Account Class
Create a Bank Account Class
Read more29 Sep 2022
Binary to Text (ASCII) Conversion
Convert binary to text using the ASCII character set.
Read more26 September 2022
Compare Two Array in JavaScript - JavaScript Snippets
How to compare two arrays in JavaScript?
Read more26 September 2022
Topsy Turvy Numbers
Return all the topsy-turvy numbers between two numbers.
Read more24 September 2022
Coconut Communication
Communication is key to a healthy relationship. Learn how to communicate with your coconut in the form of bits.
Read more24 September 2022
Convert Characters to 8-bit - JavaScript Snippets
Make a string of characters into 8-bit characters!
Read more22 September 2022
Snippet - Diagonal Elements
How to get diagonal elements from a matrix?
Read more22 September 2022
Identical Row and Column?
Are any of the columns identical to any of the rows in a 2D matrix?
Read more21 September 2022
Working with factorials in Javascript - Alt Facts, Semi Facts
Working with different types of factorials in Javascript
Read more21 September 2022
Numbers Up and Down, Ascending and Descending Javascript Snippet
How to get the numbers up and down starting from a number
Read more20 September 2022
Super Reduced String
Delete all repeating characters in a string.
Read more19 September 2022
Odd One Out
See if all words are the same length except for only one.
Read more16 September 2022
Averages Methods - Extending the Math Object
Adding our own to the Math object
Read more16 September 2022
Special Pythagorean Triplet
Solve for the product of the Pythagorean triple that sums to 1000.
Read more13 September 2022
Game of Thrones Character Titles
12 September 2022
Know Your Neighbor
Is the number surrounded by pluses?
Read more9 September 2022
Does the Triangle Fit into the Triangular Hole?
Will the triangle-shaped piece fit into the triangular hole?
Read more8 September 2022
Harshad Numbers
More fun with numbers - Harshad numbers are positive numbers that are divisible by the sum of their digits.
Read more7 September 2022
Happy Numbers
Determine if a number is a happy number or not.
Read more6 September 2022
Simon Says
Only perform an operation if Simon says!
Read more20 May 2022
RegEx Character Classes XII
A tab and space challenge with Regex?
Read more1 May 2022
Working with Numbers and Arrays - Pandigital Numbers
Does this number have all of the digits 0-9?
Read more22 April 2022
Working with Nested Arrays
Let's Figure Out to Get the Length of a Nested Array
Read more18 April 2022
Milliseconds to Human Readable Time
Convert milliseconds to human readable time with JavaScript
Read more17 April 2022
Working with Dates in JavaScript
How to use dates in JavaScript
Read more16 April 2022
Two Ways to Solve Seven Boom!
Determine if an array contains 7, with the long way and a more concise way
Read more15 April 2022
Is It a Leap Year?
Determine if a year is a leap year using the ternary operator
Read more14 April 2022
Wanda
Fun pictures of my dog Wanda!
Read more14 April 2022
JavaScript Snippet - Reverse Words in A String
Here's another fun JavaScript challenge with one solution.
Read more13 April 2022
Filter the Smileys 😀
Let's start off with some fun JavaScript!
Read more19 April 2022
Regular Expressions - Character Classes
Here's one way to use regular expressions (regex) to solve the problem of finding a sequence of characters in a string.
Read more13 April 2022
JavaScript Snippet - Test for Automorphic Numbers!
We're going to write a function that will test if a number is automorphic.
Read more