Run CoderByte challenges locally with gulp and budo
- Clone this repo
- Install dependencies
npm i
- Fire up the first challenge from the commandline
gulp --d easy --c 1
.--d
stands for difficulty. You can choose from easy, medium and hard.--c
stands for challenge. Just indicate the number of the challenge you want to work on. - This will open Google Chrome and live relaod your changes on save
- Open Chrome dev tools to view output in the console
CoderByte is rad, but it sucks if you suck at JS like I do. I don't need to be timed yet, it takes me days to figure this stuff out.
Furthermore, I wanted to try out other solutions, make notes and use Google Dev Tools easily. Also, I wanted to be able to see all of the challenges quickly. So, I copied all of the Easy challenges to this Repo. I will get around to the Medium and Hard challenges later.
I am slowly working my way through the Easy Challenges in the in-progress
branch.
If you are looking for the solutions to these challenges, you can check these resources below:
Check off the challenges as you complete them! Example:
- First Reverse - For this challenge you will be reversing a string.
1. [ ] **First Reverse**
// Just put an x between the square brackets, and GitHub flavored markdown will turn it into a checked box.
1. [x] **First Reverse**
- First Reverse - For this challenge you will be reversing a string.
- First Factorial - For this challenge you will be determining the factorial for a given number.
- Longest Word - For this challenge you will be determining the largest word in a string.
- Letter Changes - For this challenge you will be manipulating characters in a string based off their positions in the alphabet.
- Simple Adding - For this challenge you will be adding up all the numbers from 1 to a certain argument.
- Letter Capitalize - For this challenge you will be capitalizing certain characters in a string.
- Simple Symbols - For this challenge you will be determining whether or not certain characters are in correct positions.
- Check Nums - For this challenge you will be comparing two numbers and determining which one is greater.
- Time Convert - For this challenge you will be determining the difference in hours and minutes between two given times.
- Alphabet Soup - For this challenge you will be sorting characters in a string.
- AB Check - For this challenge you will determine if two characters are separated a specific way in the string.
- Vowel Count - For this challenge you will be counting all the vowels in a string.
- Word Count - For this challenge you will be determining how many words a sentence contains.
- Ex Oh - For this challenge you will traverse a string and determine if there is an equal amount of certain characters.
- Palindrome - For this challenge you will determine if a string is written the same way forward and backwards.
- Arith Geo - For this challenge you will determine if numbers within an array follow an arithmetic or geometric sequence.
- Array Addition I - For this challenge you will determine if numbers in an array can add up to a certain number in the array.
- Letter Count I - For this challenge you will determine which word has the greatest number of repeated letters.
- Second GreatLow - For this challenge you will determine the second lowest and greatest numbers in an array.
- Division Stringified - For this challenge you will divide two numbers and return them in a certain format.
- Counting Minutes I - For this challenge you will return the total number of minutes between two times.
- Mean Mode - For this challenge you will determine if the mode equals the mean in an array.
- Dash Insert - For this challenge you will be manipulating a string using dashes (-).
- Swap Case - For this challenge you will be swapping the case of each character in the string.
- Number Addition - For this challenge you will traverse a string searching for all the numbers and then you will add them up.
- Third Greatest - For this challenge you will determine the third largest string within an array.
- Powers of Two - For this challenge you will be determining whether or not a number is a power of two.
- Additive Persistence - For this challenge you will be determining the additive persistence for a given number.
- Multiplicative Persistence - For this challenge you will be determining the multiplicative persistence for a given number.
- Off Line Minimum - For this challenge you will be creating a subset of an array.
- Prime Time - For this challenge you will be determining if an argument is a prime number.
- **Run Length ** - For this challenge you will determine the Run Length Encoding of a string.
- Prime Mover - For this challenge you will be returning a certain prime number.
- Palindrome Two - For this challenge you will be determining if a string is a palindrome.
- Division - For this challenge you will determine the Greatest Common Factor between two numbers.
- String Scramble - For this challenge you will determine if string 1 can be rearranged into string 2.
- Arith Geo II - For this challenge you will determine if numbers within an array follow an arithmetic or geometric sequence.
- Array Addition - For this challenge you will determine if numbers in an array can add up to a certain number in the array.
- Binary Converter - For this challenge you will be converting a number from binary to decimal.
- Letter Count - For this challenge you will determine which word has the greatest number of repeated letters.
- Caesar Cipher - For this challenge you will transform a string using the Caesar Cipher.
- Simple Mode - For this challenge you will determine the mode, the number that appears most frequently, in an array.
- Consecutive - For this challenge you will determine how to order an array of numbers consecutively.
- Formatted Division - For this challenge you will divide two numbers and print them in a certain format.
- Counting Minutes - For this challenge you will return the total number of minutes between two times.
- Permutation Step - For this challenge you will determine the next greatest number using the same numbers of a given argument.
- Prime Checker - For this challenge you will determine if you can arrange a number to be a prime number.
- Dash Insert II - For this challenge you will be manipulating a string using dashes (-).
- Swap II - For this challenge you will be manipulating numbers in a string based on the characters.
- Number Search - For this challenge you will traverse a string searching for all the numbers and then you will add them up.
- Triple Double - For this challenge you will determine if there is a number that appears consecutively in both arguments.
- Bracket Matcher - For this challenge you will determine if the brackets in a string are correctly matched up.
- String Reduction - For this challenge you will manipulate a string of characters using a simple reduction method.
- ThreeFive Multiples - For this challenge you will be determining the multiples of a specific number.
- Coin Determiner - For this challenge you will be determining the smallest combination of coins for a given output
- Fibonacci Checker - For this challenge you will be determining whether a number is part of the Fibonacci sequence.
- Multiple Brackets - For this challenge you will determine if all the brackets in a string are correctly matched up.
- Most Free Time - For this challenge you will determine what period of the day gives the most free time.
- Overlapping Rectangles - For this challenge you will be determining the areas of rectangles.
- Look Say Sequence - For this challenge you will determine the next number in a sequence.
- Distinct List - For this challenge you will remove duplicate elements from an array.
- Number Encoding - For this challenge you will encode a given string following a specific rule.
- Optimal Assignments - For this challenge you will be optimally assigning tasks to a number of machines.
- Transitivity Relations - For this challenge you will determine whether or not a matrix is transitive.
- Shortest Path - For this challenge you will have to determine the shortest path from one node to an end node.
- Calculator - For this challenge you will be evaluating a mathematical expression within a string.
- Pattern Chaser - For this challenge you will be given a string and you will have to determine whether some sort of pattern exists.
- Weighted Path - For this challenge you will have to determine the shortest weighted path from one node to an end node.
- Intersecting Lines - For this challenge you will be determining where two lines intersect in terms of Cartesian coordinates.
- Hamiltonian Path - For this challenge you will determine whether a given set of vertices form a Hamiltonian path on the graph.
- Gas Station - For this challenge you will be determining whether a car can get around a route with a limited amount of gas.
- Switch Sort - For this challenge you will determine how quickly you can sort an array based on a specific sorting technique.
- Noughts Determiner - For this challenge you will be determining the winning position of a Tic-tac-toe board.
- Blackjack Highest - For this challenge you will be determining the highest cards within a hand in Blackjack.
- Alphabet Run Encryption - For this challenge you will be decoding a message.
- Vertex Covering - For this challenge you will determine whether a given set of vertices can cover all the edges in the graph.
- Knight Jumps - This challenge will require knowledge of chess pieces and their movements.
- Farthest Nodes - For this challenge you will determine what nodes are farthest apart.
- Reverse Polish Notation - This challenge will require knowledge of postfix notation for arithmetic expressions.
- RREF Matrix - This challenge will require knowledge of the Gaussian elimination process to produce a RREF matrix.
- Symmetric Matrix - For this challenge you will determine whether a matrix is symmetric or not.
- Matrix Determinant - For this challenge you will calculate the determinant of a square matrix.
- Queen Check - This challenge will require knowledge of chess pieces and their movements.
- Polynomial Expansion - This challenge will require knowledge of polynomial expansion.