Open in app

Sign In

Write

Sign In

Adam James
Adam James

1 Follower

Home

About

Oct 31, 2021

LeetCode: Rotate Array

This week I’m working on the LeetCode Reverse Array problem. This function will accept an array of numbers and an integer, the array will rotate to the right by the amount given by the integer. …

3 min read

3 min read


Oct 24, 2021

LeetCode: Valid Anagram

This week’s coding challenge comes from Leetcode, the Valid Anagram challenge. The function you’re required to create in this challenge will take in two different strings and return true if they’re anagrams of each other. In this blog post I’ll break down two different ways to solve this problem. …

3 min read

LeetCode: Valid Anagram
LeetCode: Valid Anagram

3 min read


Oct 15, 2021

LeetCode Challenge: First Unique Character in a String

This week’s coding challenge is the First Unique Character in a String challenge on LeetCode. This challenge’s instructions are relatively straightforward, you want tofind the first character in a given string and return the index of the character in the string that is completely unique, or doesn’t repeat later in…

3 min read

LeetCode Challenge: First Unique Character in a String
LeetCode Challenge: First Unique Character in a String

3 min read


Oct 10, 2021

Firebase Databases

In 2014, Google acquired a company called Firebase, which develops an API that stores data from mobile and web applications on a unified cloud. Since it was acquired, Google has built it into a multipurpose app development platform. …

3 min read

Firebase Databases
Firebase Databases

3 min read


Sep 30, 2021

React Hooks: useReducer

While updating my React project to use hooks, I used a few of the more essential hooks. From React, I used useState to manage state and useEffect to handle side effects, and from Redux I used useDispatch to dispatch to my redux store and useSelector to select the portion of…

3 min read

React Hooks: useReducer
React Hooks: useReducer

3 min read


Sep 24, 2021

React: Search Component

While I was building out my final React project for Flatiron School, I had a list of features that sat under a “might get to eventually but not the end of the world if I don’t get to them before the due date” list. These were mostly generic features that…

3 min read

React: Search Component
React: Search Component

3 min read


Sep 19, 2021

LeetCode Two Sum Solution: Objects

Last week, I wrote about a solution to LeetCode’s Two Sum problem. My solution passed all of the test cases, to return the indexes of two elements in an array that add up to a target sum, but wasn’t exactly an efficient solution. I used a nested loop to complete…

2 min read

LeetCode Two Sum Solution: Objects
LeetCode Two Sum Solution: Objects

2 min read


Sep 11, 2021

LeetCode Challenge: Two Sum

This week, I’m working on the Two Sum LeetCode challenge. This challenge requires you to write a function that takes in an array of numbers, nums, and an integer, target, that two of the elements in the array will add up to. …

2 min read

LeetCode C
LeetCode C

2 min read


Sep 4, 2021

JavaScript Reverse Method

Throughout learning more about JavaScript and coding there has been one JavaScript method that I haven’t really been able to grasp completely, the reduce method. Reduce takes every element in an array and returns a reduced, single value. In Mozilla’s web documentation, reduce() takes in an array, executes a callback…

3 min read

3 min read


Aug 28, 2021

Valid Palindrome Using Every Method

This week, I decided to return to the Valid Palindrome challenge I wrote about a couple months ago. The solution I came up with was decently efficient, faster than about 66 percent of all passing submissions, and I wasn’t able to improve on that number, but my new solution was…

2 min read

2 min read

Adam James

Adam James

1 Follower

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech