Prepare for Hack ReactorThe premiere coding bootcamp in California
Learn JavaScript in one week
An introductory course on JavaScript covering basic topics.
Basic array manipulation with functions in JavaScript
This question was taken from the Hack Reactor blog. This tutorial explains some common array functions and how to create and manipulate them.
Questions on closures
Closures are an important topic to understand when learning JavaScript. Here are a few common closure questions with solutions.
10 common JavaScript interview questions
Some common interview questions with topics such as decimal numbers, scope, private variables, and more.
Map, reduce, and filter - functional programming
Introduction to functional programming methods in JavaScript.
Counting steps using recursion
A lecturer at Hack Reactor wrote that recursion is an important topic to understand when applying to the bootcamp, so this tutorial provides a simple example.
Two sum problem
A popular interview question that requires you to determine if two numbers in an array sum to a specific value. A solution can be written that runs in linear time.
Subset sum problem
Important computer science question where the goal is to find a subset that sums to some number.
Stock maximum profit
Solution that explains how to calculate the maxiumum profit that could be made in a list of stock prices.
From Zero to Hack Reactor in 5 months
By Jennie Eldon: A detailed explanation on the path to learning to code and getting into Hack Reactor.
Hack Reactor Week 0: Getting Ready
By Andrew Zey: A blog post about the first few weeks at Hack Reactor and some prep work.
What I Studied Before Applying to Hack Reactor
By Amira Anuar: A blog post about prep work for Hack Reactor admissions.
First Factorial
For this challenge you will be determining the factorial for a given number.
99697 solutions
Solution
Longest Word
For this challenge you will be determining the largest word in a string.
79597 solutions
Solution
Letter Changes
For this challenge you will be manipulating characters in a string based off their positions in the alphabet.
75222 solutions
Solution
Simple Adding
For this challenge you will be adding up all the numbers from 1 to a certain argument.
61344 solutions
Solution
Letter Capitalize
For this challenge you will be capitalizing certain characters in a string.
52139 solutions
Solution
Simple Symbols
For this challenge you will be determining whether or not certain characters are in correct positions.
44367 solutions
Solution
Check Nums
For this challenge you will be comparing two numbers and determining which one is greater.
44919 solutions
Solution
Time Convert
For this challenge you will be determining the difference in hours and minutes between two given times.
34255 solutions
Solution
Alphabet Soup
For this challenge you will be sorting characters in a string.
31424 solutions
Solution
Vowel Count
For this challenge you will be counting all the vowels in a string.
15701 solutions
Solution
Word Count
For this challenge you will be determining how many words a sentence contains.
14820 solutions
Solution
Palindrome
For this challenge you will determine if a string is written the same way forward and backwards.
16931 solutions
Solution
Array Addition I
For this challenge you will determine if numbers in an array can add up to a certain number in the array.
8696 solutions
Solution
Letter Count I
For this challenge you will determine which word has the greatest number of repeated letters.
7946 solutions
Solution
Second GreatLow
For this challenge you will determine the second lowest and greatest numbers in an array.
13163 solutions
Solution
Division Stringified
For this challenge you will divide two numbers and return them in a certain format.
9852 solutions
Solution
Counting Minutes I
For this challenge you will return the total number of minutes between two times.
5861 solutions
Solution
Dash Insert
For this challenge you will be manipulating a string using dashes (-).
8673 solutions
Solution
Number Addition
For this challenge you will traverse a string searching for all the numbers and then you will add them up.
8084 solutions
Solution
Third Greatest
For this challenge you will determine the third largest string within an array.
7492 solutions
Solution
Powers of Two
For this challenge you will be determining whether or not a number is a power of two.
8374 solutions
Solution
Additive Persistence
For this challenge you will be determining the additive persistence for a given number.
5983 solutions
Solution
Multiplicative Persistence
For this challenge you will be determining the multiplicative persistence for a given number.
4602 solutions
Solution
Off Line Minimum
For this challenge you will be creating a subset of an array.
6189 solutions
Solution
Changing Sequence
For this challenge you will determine when an array changes sequences.
2587 solutions
Solution
Overlapping Ranges
For this practice test you will determine the intersection between two sets.
2599 solutions
Solution
Superincreasing
For this challenge you will determine if each number is greater than the sum of all previous elements in an array.
2651 solutions
Solution
Hamming Distance
For this challenge you will determine the difference between two strings.
1814 solutions
Solution
Rectangle Area
For this challenge you will determine the area of a rectangle.
2191 solutions
Solution
Bitwise One
For this challenge you will perform a bitwise operation on two binary numbers.
1781 solutions
Solution
Other Products
For this challenge you will return the product of a set of elements in an array.
1846 solutions
Solution
Wave Sorting
For this challenge you will determine if numbers in an array can be sorted in a particular way.
1278 solutions
Solution
Array Matching
For this challenge you will add elements from two arrays in a particular order.
1583 solutions
Solution
Longest Increasing Sequence
For this challenge you will compute the length of the longest increasing subsequence.
1248 solutions
Solution
Even Pairs
For this challenge you will determine if a pair of even numbers exists somewhere in a string.
1200 solutions
Solution
Next Palindrome
For this challenge you will be determining the next largest palindrome.
1045 solutions
Solution
Largest Pair
For this challenge you will determine the largest double digit number.
1390 solutions
Solution
Nonrepeating Character
For this challenge you will find the first non-repeating character in a string.
1051 solutions
Solution
Bitwise Two
For this challenge you will perform a bitwise operation on two binary numbers.
750 solutions
Solution
Power Set Count
For this challenge you will determine the length of a power set.
1085 solutions
Solution
Product Digits
For this challenge you will be determining the least amount of digits needed to produce a number.
1362 solutions
Solution
Palindrome Creator
For this challenge you will be determining if you can create a palindrome from a list of numbers.
1148 solutions
Solution
Basic Roman Numerals
For this challenge you will be converting a string of Roman numerals.
756 solutions
Solution
Food Distribution
For this challenge you will determine how to optimally distribute food to people.
647 solutions
Solution
Correct Path
For this challenge you will be traversing a matrix searching for the correct path to take.
1747 solutions
Solution
Scale Balancing
For this challenge you will be balancing a scale with weights on it.
2384 solutions
Solution
Three Numbers
For this challenge you will be searching for a set of numbers in a string.
753 solutions
Solution
Alphabet Searching
For this challenge you will determine if a set of characters exists in a string.
625 solutions
Solution
Time Difference
For this challenge you will be searching for the smallest time difference.
404 solutions
Solution
Triangle Row
For this challenge you will be adding up a whole row from Pascal's triangle.
387 solutions
Solution
Vowel Square
For this challenge you will determine if a square of vowels exists in a matrix.
1521 solutions
Solution
Closest Enemy II
For this challenge you will search in a matrix for an enemy.
1362 solutions
Solution
Number Stream
For this challenge you will determine if a stream of digits occurs in a string.
400 solutions
Solution
Largest Four
For this challenge you will need to find the four largest elements in an array.
583 solutions
Solution
Distinct Characters
For this challenge you will determine if a string contains some number of distinct characters.
423 solutions
Solution
Questions Marks
For this challenge you will be determining if a string follows a particular pattern.
3977 solutions
Solution
Camel Case
For this challenge you will be converting a string into camel case format.
506 solutions
Solution
ASCII Conversion
For this challenge you will be replacing certain characters in a string.
346 solutions
Solution
Simple Evens
For this challenge you will be checking whether a number is even.
477 solutions
Solution
Snake Case
For this challenge you will be converting a string into snake case format.
411 solutions
Solution
Sum Multiplier
For this challenge you will determine if two numbers can be multiplied to some specific number.
507 solutions
Solution
String Merge
For this challenge you will be merging two different strings together.
486 solutions
Solution
One Decremented
For this challenge you will be counting how many times a specific pattern occurs in a large number.
452 solutions
Solution
Element Merger
For this challenge you will be combining all of the elements in an array into a single number.
477 solutions
Solution
Serial Number
For this challenge you will be determining if a string produces a valid serial number.
615 solutions
Solution
String Periods
For this challenge you will need to find the smallest repeating substring.
513 solutions
Solution
Palindrome Swapper
For this challenge you will determine if a palindrome can be created in a string.
325 solutions
Solution
Remove Brackets
For this challenge you will determine how to create evenly matched brackets.
471 solutions
Solution
Command Line
For this challenge you will be parsing a command line string and counting its characters.
212 solutions
Solution
Star Rating
For this challenge you will be calculating how to display a 5 star rating.
443 solutions
Solution
Moving Median
For this challenge you will calculate the median in an array within a sliding window.
181 solutions
Solution
Group Totals
For this challenge you will be adding values from key, value pairs.
180 solutions
Solution
String Changes
For this challenge you will manipulate a string based on two rules.
65 solutions
Solution
H Distance
For this challenge you will determine the difference between two strings.
49 solutions
Solution
Different Cases
For this challenge you will be converting a string into camel case format.
60 solutions
Solution