JavaScript Interview PreparationPrepare for an upcoming JavaScript technical interview
String methods and regular expressions
Learn about the common string methods that are required to complete most of the easy Coderbyte challenges.
Modulo operation explained
Some examples of how to use the modulo operation for solving Coderbyte challenges.
Common array methods
Learn about the common array methods that are required to complete most of the easy Coderbyte challenges.
JavaScript ES6 Course
Learn about new methods and syntax in the new version of JavaScript: ECMAScript 6
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.
10 common JavaScript interview questions
Some common interview questions with topics such as decimal numbers, scope, private variables, and more.
Questions on closures
Closures are an important topic to understand when learning JavaScript. Here are a few common closure questions with solutions.
Functional Programming: map, reduce, and filter
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.
Determine overlapping numbers in ranges
Solution that explains how to determine the overlap between two number ranges.
Implement bubble sort in JavaScript
Code for implementing the simple but slow sorting algorithm, bubble sort, in JavaScript.
Dutch national flag sorting problem in JavaScript
Question and solution for sorting an array of 0's, 1's, and 2's in place and in linear time.
Find duplicates in an array using a hash table
A common interview question where your goal is to find all duplicates in an array in linear time.
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.
Generate all balanced bracket combinations
Interesting question that asks you to print all combinations of pairs of brackets.
Prime Time
For this challenge you will be determining if an argument is a prime number.
11792 solutions
Solution
Run Length
For this challenge you will determine the Run Length Encoding of a string.
8345 solutions
Solution
Prime Mover
For this challenge you will be returning a certain prime number.
7288 solutions
Solution
Palindrome Two
For this challenge you will be determining if a string is a palindrome.
6942 solutions
Solution
String Scramble
For this challenge you will determine if string 1 can be rearranged into string 2.
7075 solutions
Solution
Arith Geo II
For this challenge you will determine if numbers within an array follow an arithmetic or geometric sequence.
4883 solutions
Solution
Array Addition
For this challenge you will determine if numbers in an array can add up to a certain number in the array.
4235 solutions
Solution
Binary Converter
For this challenge you will be converting a number from binary to decimal.
4430 solutions
Solution
Letter Count
For this challenge you will determine which word has the greatest number of repeated letters.
4352 solutions
Solution
Caesar Cipher
For this challenge you will transform a string using the Caesar Cipher.
4982 solutions
Solution
Simple Mode
For this challenge you will determine the mode, the number that appears most frequently, in an array.
4886 solutions
Solution
Consecutive
For this challenge you will determine how to order an array of numbers consecutively.
3994 solutions
Solution
Formatted Division
For this challenge you will divide two numbers and print them in a certain format.
3676 solutions
Solution
Counting Minutes
For this challenge you will return the total number of minutes between two times.
2704 solutions
Solution
Permutation Step
For this challenge you will determine the next greatest number using the same numbers of a given argument.
3206 solutions
Solution
Prime Checker
For this challenge you will determine if you can arrange a number to be a prime number.
2469 solutions
Solution
Dash Insert II
For this challenge you will be manipulating a string using dashes (-).
4803 solutions
Solution
Number Search
For this challenge you will traverse a string searching for all the numbers and then you will add them up.
3267 solutions
Solution
Triple Double
For this challenge you will determine if there is a number that appears consecutively in both arguments.
3048 solutions
Solution
Bracket Matcher
For this challenge you will determine if the brackets in a string are correctly matched up.
2769 solutions
Solution
String Reduction
For this challenge you will manipulate a string of characters using a simple reduction method.
2276 solutions
Solution
ThreeFive Multiples
For this challenge you will be determining the multiples of a specific number.
2772 solutions
Solution
Binary Search Tree LCA
For this challenge you will attempt to find the lowest common ancestor of a binary search tree.
222 solutions
Solution
Coin Determiner
For this challenge you will be determining the smallest combination of coins for a given output
2253 solutions
Solution
Fibonacci Checker
For this challenge you will be determining whether a number is part of the Fibonacci sequence.
2581 solutions
Solution
Multiple Brackets
For this challenge you will determine if all the brackets in a string are correctly matched up.
2282 solutions
Solution
Most Free Time
For this challenge you will determine what period of the day gives the most free time.
1372 solutions
Solution
Overlapping Rectangles
For this challenge you will be determining the areas of rectangles.
1546 solutions
Solution
Look Say Sequence
For this challenge you will determine the next number in a sequence.
1411 solutions
Solution
Distinct List
For this challenge you will remove duplicate elements from an array.
2345 solutions
Solution
Number Encoding
For this challenge you will encode a given string following a specific rule.
1445 solutions
Solution
Stock Picker
For this challenge you will determine the maximum profit that can be made in a range of stock prices.
688 solutions
Solution
Missing Digit
For this challenge you will determine what the variable is in a mathematical equation.
406 solutions
Solution
K Unique Characters
For this challenge you will be searching a string for a particular substring.
396 solutions
Solution
Symmetric Tree
For this challenge you will traverse a binary tree and determine if it is symmetric.
250 solutions
Solution
Binary Tree LCA
For this challenge you will attempt to find the lowest common ancestor of a binary tree.
128 solutions
Solution
Tree Constructor
For this challenge you will determine if an array of integer pairs can form a binary tree properly.
154 solutions
Solution
Array Min Jumps
For this challenge you will determine how quickly you can reach the end of an array.
197 solutions
Solution
Nearest Smaller Values
For this challenge you will determine the nearest smaller value for each number in an array.
368 solutions
Solution
Word Split
For this challenge you will attempt to split a long string of characters into actual words.
316 solutions
Solution
Pair Searching
For this challenge you will determine how to multiply a number to find a duplicate pair.
97 solutions
Solution
Boggle Solver
For this challenge you will attempt to find words in a matrix of letters.
80 solutions
Solution
HTML Elements
For this challenge you will determine whether HTML elements are nested correctly.
130 solutions
Solution
Missing Digit II
For this challenge you will determine what the variables are in a mathematical equation.
130 solutions
Solution
Palindromic Substring
For this challenge you will be finding the longest palindromic substring.
232 solutions
Solution
Trapping Water
For this challenge you will determine the largest amount of water you can trap within a boundary.
133 solutions
Solution
Matrix Path
For this challenge you will determine if a path exists in a boolean matrix.
68 solutions
Solution
Seating Students
For this challenge you will determine how many different ways students can sit next to each other.
130 solutions
Solution
Longest Matrix Path
For this challenge you will be searching for the longest path in a 2D matrix.
54 solutions
Solution
Min Window Substring
For this challenge you will be searching for the optimal substring of k characters.
127 solutions
Solution
Matrix Chains
For this challenge you will determine the best order to multiply matrices.
56 solutions
Solution
Histogram Area
For this challenge you will determine the largest area under a histogram.
95 solutions
Solution
Matching Characters
For this challenge you will be determining the largest number of unique characters between two letters.
143 solutions
Solution
Ternary Converter
For this challenge you will be converting a decimal number into ternary.
73 solutions
Solution
Linear Congruence
For this challenge you will be solving a linear congruence equation.
42 solutions
Solution
Formatted Number
For this challenge you will be determining if a string is a valid number.
156 solutions
Solution
Largest Row Column
For this challenge you will be finding the largest sum of three digits in a matrix.
43 solutions
Solution
Eight Queens
This challenge will require knowledge of chess pieces and their movements.
454 solutions
Solution
Three Points
For this challenge you will be plotting a line on a Cartesian grid.
93 solutions
Solution
Character Removal
For this challenge you will attempt to modify a word and then find it within a dictionary.
123 solutions
Solution
Simple Password
For this challenge you will be determining if a string is a valid password.
162 solutions
Solution
String Zigzag
For this challenge you will be printing a string in a particular zig-zag format.
79 solutions
Solution
Off Binary
For this challenge you will be determining the correct binary number.
69 solutions
Solution
Longest Consecutive
For this challenge you will compute the length of the longest consecutive subsequence.
242 solutions
Solution
String Expression
For this challenge you will convert a string of written numbers to an actual number.
115 solutions
Solution
Charlie the Dog
For this challenge you will be helping a dog collect all the food in a grid.
53 solutions
Solution
Plus Minus
For this challenge you will need to determine how to add or subtract numbers to end up with zero.
85 solutions
Solution