Skip to content

zeckdude/coderbyte

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoderByte starter

Run CoderByte challenges locally with gulp and budo

Setup

  • 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

Backstory

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.

Solution Resources

If you are looking for the solutions to these challenges, you can check these resources below:

Manage progess

Check off the challenges as you complete them! Example:

  1. 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**

Easy

  1. First Reverse - For this challenge you will be reversing a string.
  2. First Factorial - For this challenge you will be determining the factorial for a given number.
  3. Longest Word - For this challenge you will be determining the largest word in a string.
  4. Letter Changes - For this challenge you will be manipulating characters in a string based off their positions in the alphabet.
  5. Simple Adding - For this challenge you will be adding up all the numbers from 1 to a certain argument.
  6. Letter Capitalize - For this challenge you will be capitalizing certain characters in a string.
  7. Simple Symbols - For this challenge you will be determining whether or not certain characters are in correct positions.
  8. Check Nums - For this challenge you will be comparing two numbers and determining which one is greater.
  9. Time Convert - For this challenge you will be determining the difference in hours and minutes between two given times.
  10. Alphabet Soup - For this challenge you will be sorting characters in a string.
  11. AB Check - For this challenge you will determine if two characters are separated a specific way in the string.
  12. Vowel Count - For this challenge you will be counting all the vowels in a string.
  13. Word Count - For this challenge you will be determining how many words a sentence contains.
  14. Ex Oh - For this challenge you will traverse a string and determine if there is an equal amount of certain characters.
  15. Palindrome - For this challenge you will determine if a string is written the same way forward and backwards.
  16. Arith Geo - For this challenge you will determine if numbers within an array follow an arithmetic or geometric sequence.
  17. Array Addition I - For this challenge you will determine if numbers in an array can add up to a certain number in the array.
  18. Letter Count I - For this challenge you will determine which word has the greatest number of repeated letters.
  19. Second GreatLow - For this challenge you will determine the second lowest and greatest numbers in an array.
  20. Division Stringified - For this challenge you will divide two numbers and return them in a certain format.
  21. Counting Minutes I - For this challenge you will return the total number of minutes between two times.
  22. Mean Mode - For this challenge you will determine if the mode equals the mean in an array.
  23. Dash Insert - For this challenge you will be manipulating a string using dashes (-).
  24. Swap Case - For this challenge you will be swapping the case of each character in the string.
  25. Number Addition - For this challenge you will traverse a string searching for all the numbers and then you will add them up.
  26. Third Greatest - For this challenge you will determine the third largest string within an array.
  27. Powers of Two - For this challenge you will be determining whether or not a number is a power of two.
  28. Additive Persistence - For this challenge you will be determining the additive persistence for a given number.
  29. Multiplicative Persistence - For this challenge you will be determining the multiplicative persistence for a given number.
  30. Off Line Minimum - For this challenge you will be creating a subset of an array.

Medium

  1. Prime Time - For this challenge you will be determining if an argument is a prime number.
  2. **Run Length ** - For this challenge you will determine the Run Length Encoding of a string.
  3. Prime Mover - For this challenge you will be returning a certain prime number.
  4. Palindrome Two - For this challenge you will be determining if a string is a palindrome.
  5. Division - For this challenge you will determine the Greatest Common Factor between two numbers.
  6. String Scramble - For this challenge you will determine if string 1 can be rearranged into string 2.
  7. Arith Geo II - For this challenge you will determine if numbers within an array follow an arithmetic or geometric sequence.
  8. Array Addition - For this challenge you will determine if numbers in an array can add up to a certain number in the array.
  9. Binary Converter - For this challenge you will be converting a number from binary to decimal.
  10. Letter Count - For this challenge you will determine which word has the greatest number of repeated letters.
  11. Caesar Cipher - For this challenge you will transform a string using the Caesar Cipher.
  12. Simple Mode - For this challenge you will determine the mode, the number that appears most frequently, in an array.
  13. Consecutive - For this challenge you will determine how to order an array of numbers consecutively.
  14. Formatted Division - For this challenge you will divide two numbers and print them in a certain format.
  15. Counting Minutes - For this challenge you will return the total number of minutes between two times.
  16. Permutation Step - For this challenge you will determine the next greatest number using the same numbers of a given argument.
  17. Prime Checker - For this challenge you will determine if you can arrange a number to be a prime number.
  18. Dash Insert II - For this challenge you will be manipulating a string using dashes (-).
  19. Swap II - For this challenge you will be manipulating numbers in a string based on the characters.
  20. Number Search - For this challenge you will traverse a string searching for all the numbers and then you will add them up.
  21. Triple Double - For this challenge you will determine if there is a number that appears consecutively in both arguments.
  22. Bracket Matcher - For this challenge you will determine if the brackets in a string are correctly matched up.
  23. String Reduction - For this challenge you will manipulate a string of characters using a simple reduction method.
  24. ThreeFive Multiples - For this challenge you will be determining the multiples of a specific number.
  25. Coin Determiner - For this challenge you will be determining the smallest combination of coins for a given output
  26. Fibonacci Checker - For this challenge you will be determining whether a number is part of the Fibonacci sequence.
  27. Multiple Brackets - For this challenge you will determine if all the brackets in a string are correctly matched up.
  28. Most Free Time - For this challenge you will determine what period of the day gives the most free time.
  29. Overlapping Rectangles - For this challenge you will be determining the areas of rectangles.
  30. Look Say Sequence - For this challenge you will determine the next number in a sequence.
  31. Distinct List - For this challenge you will remove duplicate elements from an array.
  32. Number Encoding - For this challenge you will encode a given string following a specific rule.

Hard

  1. Optimal Assignments - For this challenge you will be optimally assigning tasks to a number of machines.
  2. Transitivity Relations - For this challenge you will determine whether or not a matrix is transitive.
  3. Shortest Path - For this challenge you will have to determine the shortest path from one node to an end node.
  4. Calculator - For this challenge you will be evaluating a mathematical expression within a string.
  5. Pattern Chaser - For this challenge you will be given a string and you will have to determine whether some sort of pattern exists.
  6. Weighted Path - For this challenge you will have to determine the shortest weighted path from one node to an end node.
  7. Intersecting Lines - For this challenge you will be determining where two lines intersect in terms of Cartesian coordinates.
  8. Hamiltonian Path - For this challenge you will determine whether a given set of vertices form a Hamiltonian path on the graph.
  9. Gas Station - For this challenge you will be determining whether a car can get around a route with a limited amount of gas.
  10. Switch Sort - For this challenge you will determine how quickly you can sort an array based on a specific sorting technique.
  11. Noughts Determiner - For this challenge you will be determining the winning position of a Tic-tac-toe board.
  12. Blackjack Highest - For this challenge you will be determining the highest cards within a hand in Blackjack.
  13. Alphabet Run Encryption - For this challenge you will be decoding a message.
  14. Vertex Covering - For this challenge you will determine whether a given set of vertices can cover all the edges in the graph.
  15. Knight Jumps - This challenge will require knowledge of chess pieces and their movements.
  16. Farthest Nodes - For this challenge you will determine what nodes are farthest apart.
  17. Reverse Polish Notation - This challenge will require knowledge of postfix notation for arithmetic expressions.
  18. RREF Matrix - This challenge will require knowledge of the Gaussian elimination process to produce a RREF matrix.
  19. Symmetric Matrix - For this challenge you will determine whether a matrix is symmetric or not.
  20. Matrix Determinant - For this challenge you will calculate the determinant of a square matrix.
  21. Queen Check - This challenge will require knowledge of chess pieces and their movements.
  22. Polynomial Expansion - This challenge will require knowledge of polynomial expansion.

About

Practicing JS Challenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%