• Challenges
  • Tutorials
  • We've partnered with Hack Reactor!

    Serious about joining a coding bootcamp? Hack Reactor, one of the highest rated coding schools, is now more accessible than ever. They now have a live bootcamp prep program they are offering at virtually no cost. New classes start soon. Learn more here: http://getcoding.hackreactor.com/coderbyte/

    Recently Added

    Moving MedianNot Completed

    Solutions: 52 | View user solutions | Added 11/30/17

    Star RatingNot Completed

    Solutions: 211 | View user solutions | Added 10/30/17

    Command LineNot Completed

    Solutions: 73 | View user solutions | Added 10/28/17

    Free Challenges

    Longest WordNot Completed

    Solutions: 52267 | Step-by-step solution | Challenge discussion

    First FactorialNot Completed

    Solutions: 67748 | Step-by-step solution | Challenge discussion

    First ReverseNot Completed

    Solutions: 92528 | Step-by-step solution | Challenge discussion

    Letter ChangesNot Completed

    Solutions: 53396 | Step-by-step solution | Challenge discussion

    Simple AddingNot Completed

    Solutions: 43938 | Step-by-step solution | Challenge discussion

    Letter CapitalizeNot Completed

    Solutions: 37419 | Step-by-step solution | Challenge discussion

    Simple SymbolsNot Completed

    Solutions: 30864 | Step-by-step solution | Challenge discussion

    Check NumsNot Completed

    Solutions: 31869 | Step-by-step solution | Challenge discussion

    Time ConvertNot Completed

    Solutions: 24056 | Step-by-step solution | Challenge discussion

    Alphabet SoupNot Completed

    Solutions: 22462 | Step-by-step solution | Challenge discussion

    Kaprekars ConstantNot Completed

    Solutions: 1016 | View all user solutions | Challenge discussion

    Chessboard TravelingNot Completed

    Solutions: 391 | View all user solutions | Challenge discussion

    Maximal SquareNot Completed

    Solutions: 277 | View all user solutions | Challenge discussion

    Pentagonal NumberNot Completed

    Solutions: 280 | View all user solutions | Challenge discussion

    Correct PathNot Completed

    Solutions: 769 | View all user solutions | Challenge discussion

    Scale BalancingNot Completed

    Solutions: 989 | View all user solutions | Challenge discussion

    Vowel SquareNot Completed

    Solutions: 649 | View all user solutions | Challenge discussion

    Eight QueensNot Completed

    Solutions: 259 | View all user solutions | Challenge discussion

    Closest Enemy IINot Completed

    Solutions: 491 | View all user solutions | Challenge discussion

    Questions MarksNot Completed

    Solutions: 1277 | View all user solutions | Challenge discussion

    Become a Premium Member

    With our large collection of challenges, tutorials, and solutions, we make it easy for you to become a better coder, prepare for interviews, and learn new skills from more experienced coders.

    “I got my App Academy acceptance yesterday, and Coderbyte was definitely a huge help.” ― Tomer
    • 200+ Coding Challenges
    • Mock Interview Questions
    • 800,000+ Code Solutions
    • Algorithm Tutorials
    • Interview Prep Courses

    Easy Difficulty

    First ReverseNot Completed

    Solutions: 92528 | Step-by-step solution | Challenge discussion

    First FactorialNot Completed

    Solutions: 67748 | Step-by-step solution | Challenge discussion

    Longest WordNot Completed

    Solutions: 52267 | Step-by-step solution | Challenge discussion

    Letter ChangesNot Completed

    Solutions: 53396 | Step-by-step solution | Challenge discussion

    Simple AddingNot Completed

    Solutions: 43938 | Step-by-step solution | Challenge discussion

    Letter CapitalizeNot Completed

    Solutions: 37419 | Step-by-step solution | Challenge discussion

    Simple SymbolsNot Completed

    Solutions: 30864 | Step-by-step solution | Challenge discussion

    Check NumsNot Completed

    Solutions: 31869 | Step-by-step solution | Challenge discussion

    Time ConvertNot Completed

    Solutions: 24056 | Step-by-step solution | Challenge discussion

    Alphabet SoupNot Completed

    Solutions: 22462 | Step-by-step solution | Challenge discussion

    AB CheckNot Completed

    Solutions: 16156 | Step-by-step solution | Challenge discussion

    Vowel CountNot Completed

    Solutions: 15006 | Step-by-step solution | Challenge discussion

    Word CountNot Completed

    Solutions: 14169 | Step-by-step solution | Challenge discussion

    Ex OhNot Completed

    Solutions: 13789 | Step-by-step solution | Challenge discussion

    PalindromeNot Completed

    Solutions: 16034 | Step-by-step solution | Challenge discussion

    Arith GeoNot Completed

    Solutions: 12743 | Step-by-step solution | Challenge discussion

    Array Addition INot Completed

    Solutions: 8062 | Step-by-step solution | Challenge discussion

    Letter Count INot Completed

    Solutions: 7402 | Step-by-step solution | Challenge discussion

    Second GreatLowNot Completed

    Solutions: 12335 | Step-by-step solution | Challenge discussion

    Division StringifiedNot Completed

    Solutions: 9241 | Step-by-step solution | Challenge discussion

    Counting Minutes INot Completed

    Solutions: 5472 | Step-by-step solution | Challenge discussion

    Mean ModeNot Completed

    Solutions: 7250 | Step-by-step solution | Challenge discussion

    Dash InsertNot Completed

    Solutions: 8200 | Step-by-step solution | Challenge discussion

    Swap CaseNot Completed

    Solutions: 7820 | Step-by-step solution | Challenge discussion

    Number AdditionNot Completed

    Solutions: 7620 | Step-by-step solution | Challenge discussion

    Third GreatestNot Completed

    Solutions: 7043 | Step-by-step solution | Challenge discussion

    Powers of TwoNot Completed

    Solutions: 7945 | Step-by-step solution | Challenge discussion

    Additive PersistenceNot Completed

    Solutions: 5578 | Step-by-step solution | Challenge discussion

    Multiplicative PersistenceNot Completed

    Solutions: 4324 | Step-by-step solution | Challenge discussion

    Off Line MinimumNot Completed

    Solutions: 5777 | Step-by-step solution | Challenge discussion

    Changing SequenceNot Completed

    Solutions: 2243 | Step-by-step solution | Challenge discussion

    Overlapping RangesNot Completed

    Solutions: 2259 | Step-by-step solution | Challenge discussion

    SuperincreasingNot Completed

    Solutions: 2280 | Step-by-step solution | Challenge discussion

    Hamming DistanceNot Completed

    Solutions: 1538 | Step-by-step solution | Challenge discussion

    Rectangle AreaNot Completed

    Solutions: 1878 | Step-by-step solution | Challenge discussion

    Bitwise OneNot Completed

    Solutions: 1522 | Step-by-step solution | Challenge discussion

    Other ProductsNot Completed

    Solutions: 1536 | Step-by-step solution | Challenge discussion

    Wave SortingNot Completed

    Solutions: 1023 | Step-by-step solution | Challenge discussion

    Array MatchingNot Completed

    Solutions: 1242 | Step-by-step solution | Challenge discussion

    Binary ReversalNot Completed

    Solutions: 1027 | Step-by-step solution | Challenge discussion

    Longest Increasing SequenceNot Completed

    Solutions: 990 | Step-by-step solution | Challenge discussion

    Even PairsNot Completed

    Solutions: 934 | Step-by-step solution | Challenge discussion

    Next PalindromeNot Completed

    Solutions: 832 | Step-by-step solution | Challenge discussion

    Largest PairNot Completed

    Solutions: 1170 | Step-by-step solution | Challenge discussion

    Nonrepeating CharacterNot Completed

    Solutions: 826 | Step-by-step solution | Challenge discussion

    Two SumNot Completed

    Solutions: 1509 | Step-by-step solution | Challenge discussion

    Bitwise TwoNot Completed

    Solutions: 587 | Step-by-step solution | Challenge discussion

    Power Set CountNot Completed

    Solutions: 879 | Step-by-step solution | Challenge discussion

    Product DigitsNot Completed

    Solutions: 1140 | Step-by-step solution | Challenge discussion

    Palindrome CreatorNot Completed

    Solutions: 896 | Step-by-step solution | Challenge discussion

    Basic Roman NumeralsNot Completed

    Solutions: 616 | Step-by-step solution | Challenge discussion

    Food DistributionNot Completed

    Solutions: 501 | Step-by-step solution | Challenge discussion

    Three SumNot Completed

    Solutions: 604 | Step-by-step solution | Challenge discussion

    Correct PathNot Completed

    Solutions: 769 | Step-by-step solution | Challenge discussion

    Scale BalancingNot Completed

    Solutions: 989 | Step-by-step solution | Challenge discussion

    Three NumbersNot Completed

    Solutions: 568 | Step-by-step solution | Challenge discussion

    Alphabet SearchingNot Completed

    Solutions: 489 | Step-by-step solution | Challenge discussion

    Time DifferenceNot Completed

    Solutions: 303 | Step-by-step solution | Challenge discussion

    Triangle RowNot Completed

    Solutions: 288 | Step-by-step solution | Challenge discussion

    Vowel SquareNot Completed

    Solutions: 649 | Step-by-step solution | Challenge discussion

    Closest EnemyNot Completed

    Solutions: 434 | Step-by-step solution | Challenge discussion

    Closest Enemy IINot Completed

    Solutions: 491 | Step-by-step solution | Challenge discussion

    Number StreamNot Completed

    Solutions: 257 | Step-by-step solution | Challenge discussion

    Largest FourNot Completed

    Solutions: 446 | Step-by-step solution | Challenge discussion

    Distinct CharactersNot Completed

    Solutions: 304 | Step-by-step solution | Challenge discussion

    Questions MarksNot Completed

    Solutions: 1277 | Step-by-step solution | Challenge discussion

    Camel CaseNot Completed

    Solutions: 348 | Step-by-step solution | Challenge discussion

    ASCII ConversionNot Completed

    Solutions: 230 | Step-by-step solution | Challenge discussion

    Simple EvensNot Completed

    Solutions: 334 | Step-by-step solution | Challenge discussion

    Snake CaseNot Completed

    Solutions: 290 | Step-by-step solution | Challenge discussion

    Sum MultiplierNot Completed

    Solutions: 374 | Step-by-step solution | Challenge discussion

    String MergeNot Completed

    Solutions: 349 | Step-by-step solution | Challenge discussion

    One DecrementedNot Completed

    Solutions: 332 | Step-by-step solution | Challenge discussion

    Element MergerNot Completed

    Solutions: 356 | Step-by-step solution | Challenge discussion

    GCFNot Completed

    Solutions: 322 | Step-by-step solution | Challenge discussion

    Serial NumberNot Completed

    Solutions: 335 | Step-by-step solution | Challenge discussion

    String PeriodsNot Completed

    Solutions: 294 | Step-by-step solution | Challenge discussion

    Palindrome SwapperNot Completed

    Solutions: 211 | Step-by-step solution | Challenge discussion

    Remove BracketsNot Completed

    Solutions: 298 | Step-by-step solution | Challenge discussion

    Command LineNot Completed

    Solutions: 73 | Step-by-step solution | Challenge discussion

    Star RatingNot Completed

    Solutions: 211 | Step-by-step solution | Challenge discussion

    Moving MedianNot Completed

    Solutions: 52 | Step-by-step solution | Challenge discussion

    Medium Difficulty

    Prime TimeNot Completed

    Solutions: 11682 | Step-by-step solution | Challenge discussion

    Run Length Not Completed

    Solutions: 8225 | Step-by-step solution | Challenge discussion

    Prime MoverNot Completed

    Solutions: 7220 | Step-by-step solution | Challenge discussion

    Palindrome TwoNot Completed

    Solutions: 6862 | Step-by-step solution | Challenge discussion

    DivisionNot Completed

    Solutions: 6421 | Step-by-step solution | Challenge discussion

    String ScrambleNot Completed

    Solutions: 6968 | Step-by-step solution | Challenge discussion

    Arith Geo IINot Completed

    Solutions: 4837 | Step-by-step solution | Challenge discussion

    Array AdditionNot Completed

    Solutions: 4168 | Step-by-step solution | Challenge discussion

    Binary ConverterNot Completed

    Solutions: 4384 | Step-by-step solution | Challenge discussion

    Letter CountNot Completed

    Solutions: 4290 | Step-by-step solution | Challenge discussion

    Simple ModeNot Completed

    Solutions: 4831 | Step-by-step solution | Challenge discussion

    Caesar CipherNot Completed

    Solutions: 4915 | Step-by-step solution | Challenge discussion

    Formatted DivisionNot Completed

    Solutions: 3634 | Step-by-step solution | Challenge discussion

    ConsecutiveNot Completed

    Solutions: 3957 | Step-by-step solution | Challenge discussion

    Counting MinutesNot Completed

    Solutions: 2661 | View all user solutions | Challenge discussion

    Permutation StepNot Completed

    Solutions: 3172 | View all user solutions | Challenge discussion

    Prime CheckerNot Completed

    Solutions: 2447 | View all user solutions | Challenge discussion

    Dash Insert IINot Completed

    Solutions: 4765 | View all user solutions | Challenge discussion

    Swap IINot Completed

    Solutions: 2632 | View all user solutions | Challenge discussion

    Number SearchNot Completed

    Solutions: 3228 | View all user solutions | Challenge discussion

    Triple DoubleNot Completed

    Solutions: 3009 | View all user solutions | Challenge discussion

    Bracket MatcherNot Completed

    Solutions: 2735 | View all user solutions | Challenge discussion

    String ReductionNot Completed

    Solutions: 2253 | View all user solutions | Challenge discussion

    Coin DeterminerNot Completed

    Solutions: 2228 | View all user solutions | Challenge discussion

    ThreeFive MultiplesNot Completed

    Solutions: 2748 | View all user solutions | Challenge discussion

    Fibonacci CheckerNot Completed

    Solutions: 2560 | View all user solutions | Challenge discussion

    Multiple BracketsNot Completed

    Solutions: 2256 | View all user solutions | Challenge discussion

    Most Free TimeNot Completed

    Solutions: 1359 | View all user solutions | Challenge discussion

    Overlapping RectanglesNot Completed

    Solutions: 1533 | View all user solutions | Challenge discussion

    Distinct ListNot Completed

    Solutions: 2319 | View all user solutions | Challenge discussion

    Look Say SequenceNot Completed

    Solutions: 1389 | View all user solutions | Challenge discussion

    Number EncodingNot Completed

    Solutions: 1429 | View all user solutions | Challenge discussion

    Stock PickerNot Completed

    Solutions: 668 | View all user solutions | Challenge discussion

    Max SubarrayNot Completed

    Solutions: 581 | View all user solutions | Challenge discussion

    Missing DigitNot Completed

    Solutions: 394 | View all user solutions | Challenge discussion

    K Unique CharactersNot Completed

    Solutions: 377 | View all user solutions | Challenge discussion

    Bitmap HolesNot Completed

    Solutions: 267 | View all user solutions | Challenge discussion

    Symmetric TreeNot Completed

    Solutions: 239 | View all user solutions | Challenge discussion

    Binary Search Tree LCANot Completed

    Solutions: 211 | View all user solutions | Challenge discussion

    Binary Tree LCANot Completed

    Solutions: 117 | View all user solutions | Challenge discussion

    LRU CacheNot Completed

    Solutions: 154 | View all user solutions | Challenge discussion

    Tree ConstructorNot Completed

    Solutions: 146 | View all user solutions | Challenge discussion

    Array Min JumpsNot Completed

    Solutions: 186 | View all user solutions | Challenge discussion

    Nearest Smaller ValuesNot Completed

    Solutions: 352 | View all user solutions | Challenge discussion

    Matrix SpiralNot Completed

    Solutions: 156 | View all user solutions | Challenge discussion

    Word SplitNot Completed

    Solutions: 303 | View all user solutions | Challenge discussion

    Pair SearchingNot Completed

    Solutions: 89 | View all user solutions | Challenge discussion

    Boggle SolverNot Completed

    Solutions: 71 | View all user solutions | Challenge discussion

    HTML ElementsNot Completed

    Solutions: 129 | View all user solutions | Challenge discussion

    Missing Digit IINot Completed

    Solutions: 126 | View all user solutions | Challenge discussion

    Palindromic SubstringNot Completed

    Solutions: 206 | View all user solutions | Challenge discussion

    Trapping WaterNot Completed

    Solutions: 116 | View all user solutions | Challenge discussion

    Matrix PathNot Completed

    Solutions: 65 | View all user solutions | Challenge discussion

    Seating StudentsNot Completed

    Solutions: 120 | View all user solutions | Challenge discussion

    Longest Matrix PathNot Completed

    Solutions: 50 | View all user solutions | Challenge discussion

    Min Window SubstringNot Completed

    Solutions: 118 | View all user solutions | Challenge discussion

    Matrix ChainsNot Completed

    Solutions: 55 | View all user solutions | Challenge discussion

    Histogram AreaNot Completed

    Solutions: 83 | View all user solutions | Challenge discussion

    Matching CharactersNot Completed

    Solutions: 132 | View all user solutions | Challenge discussion

    Ternary ConverterNot Completed

    Solutions: 68 | View all user solutions | Challenge discussion

    Linear CongruenceNot Completed

    Solutions: 39 | View all user solutions | Challenge discussion

    Formatted NumberNot Completed

    Solutions: 147 | View all user solutions | Challenge discussion

    Largest Row ColumnNot Completed

    Solutions: 38 | View all user solutions | Challenge discussion

    Eight QueensNot Completed

    Solutions: 259 | View all user solutions | Challenge discussion

    Three PointsNot Completed

    Solutions: 90 | View all user solutions | Challenge discussion

    Character RemovalNot Completed

    Solutions: 116 | View all user solutions | Challenge discussion

    Simple PasswordNot Completed

    Solutions: 152 | View all user solutions | Challenge discussion

    Preorder TraversalNot Completed

    Solutions: 58 | View all user solutions | Challenge discussion

    String ZigzagNot Completed

    Solutions: 79 | View all user solutions | Challenge discussion

    Off BinaryNot Completed

    Solutions: 65 | View all user solutions | Challenge discussion

    Longest ConsecutiveNot Completed

    Solutions: 230 | View all user solutions | Challenge discussion

    String ExpressionNot Completed

    Solutions: 110 | View all user solutions | Challenge discussion

    Charlie the DogNot Completed

    Solutions: 40 | View all user solutions | Challenge discussion

    Plus MinusNot Completed

    Solutions: 73 | View all user solutions | Challenge discussion

    Hard Difficulty

    Shortest PathNot Completed

    Solutions: 1074 | View all user solutions | Challenge discussion

    Pattern ChaserNot Completed

    Solutions: 714 | View all user solutions | Challenge discussion

    CalculatorNot Completed

    Solutions: 1124 | View all user solutions | Challenge discussion

    Weighted PathNot Completed

    Solutions: 342 | View all user solutions | Challenge discussion

    Intersecting LinesNot Completed

    Solutions: 546 | View all user solutions | Challenge discussion

    RREF MatrixNot Completed

    Solutions: 122 | View all user solutions | Challenge discussion

    Polynomial ExpansionNot Completed

    Solutions: 279 | View all user solutions | Challenge discussion

    Gas StationNot Completed

    Solutions: 553 | View all user solutions | Challenge discussion

    Symmetric MatrixNot Completed

    Solutions: 390 | View all user solutions | Challenge discussion

    Switch SortNot Completed

    Solutions: 270 | View all user solutions | Challenge discussion

    Matrix DeterminantNot Completed

    Solutions: 254 | View all user solutions | Challenge discussion

    Queen CheckNot Completed

    Solutions: 451 | View all user solutions | Challenge discussion

    Noughts DeterminerNot Completed

    Solutions: 370 | View all user solutions | Challenge discussion

    Blackjack HighestNot Completed

    Solutions: 512 | View all user solutions | Challenge discussion

    Transitivity RelationsNot Completed

    Solutions: 405 | View all user solutions | Challenge discussion

    Alphabet Run EncryptionNot Completed

    Solutions: 236 | View all user solutions | Challenge discussion

    Knight JumpsNot Completed

    Solutions: 509 | View all user solutions | Challenge discussion

    Line OrderingNot Completed

    Solutions: 54 | View all user solutions | Challenge discussion

    Sudoku Quadrant CheckerNot Completed

    Solutions: 98 | View all user solutions | Challenge discussion

    Quick KnightNot Completed

    Solutions: 44 | View all user solutions | Challenge discussion

    Square FiguresNot Completed

    Solutions: 134 | View all user solutions | Challenge discussion

    Connect Four WinnerNot Completed

    Solutions: 80 | View all user solutions | Challenge discussion

    Array JumpingNot Completed

    Solutions: 64 | View all user solutions | Challenge discussion

    Matrix BorderNot Completed

    Solutions: 57 | View all user solutions | Challenge discussion

    Roman Numeral ReductionNot Completed

    Solutions: 75 | View all user solutions | Challenge discussion

    Parallel SumsNot Completed

    Solutions: 120 | View all user solutions | Challenge discussion

    LCSNot Completed

    Solutions: 68 | View all user solutions | Challenge discussion

    Nim WinnerNot Completed

    Solutions: 46 | View all user solutions | Challenge discussion

    Farthest NodesNot Completed

    Solutions: 140 | View all user solutions | Challenge discussion

    Optimal AssignmentsNot Completed

    Solutions: 496 | View all user solutions | Challenge discussion

    Kaprekars ConstantNot Completed

    Solutions: 1016 | View all user solutions | Challenge discussion

    Hamiltonian PathNot Completed

    Solutions: 132 | View all user solutions | Challenge discussion

    Vertex CoveringNot Completed

    Solutions: 133 | View all user solutions | Challenge discussion

    Step WalkingNot Completed

    Solutions: 93 | View all user solutions | Challenge discussion

    Pascals TriangleNot Completed

    Solutions: 90 | View all user solutions | Challenge discussion

    Reverse Polish NotationNot Completed

    Solutions: 207 | View all user solutions | Challenge discussion

    Max Heap CheckerNot Completed

    Solutions: 91 | View all user solutions | Challenge discussion

    Chessboard TravelingNot Completed

    Solutions: 391 | View all user solutions | Challenge discussion

    Matching CouplesNot Completed

    Solutions: 102 | View all user solutions | Challenge discussion

    Approaching FibonacciNot Completed

    Solutions: 121 | View all user solutions | Challenge discussion

    Simple SATNot Completed

    Solutions: 64 | View all user solutions | Challenge discussion

    Array CouplesNot Completed

    Solutions: 102 | View all user solutions | Challenge discussion

    Array RotationNot Completed

    Solutions: 159 | View all user solutions | Challenge discussion

    Bracket CombinationsNot Completed

    Solutions: 108 | View all user solutions | Challenge discussion

    Counting AnagramsNot Completed

    Solutions: 139 | View all user solutions | Challenge discussion

    Maximal SquareNot Completed

    Solutions: 277 | View all user solutions | Challenge discussion

    Maximal RectangleNot Completed

    Solutions: 32 | View all user solutions | Challenge discussion

    Bipartite MatchingNot Completed

    Solutions: 30 | View all user solutions | Challenge discussion

    Pentagonal NumberNot Completed

    Solutions: 280 | View all user solutions | Challenge discussion

    City TrafficNot Completed

    Solutions: 28 | View all user solutions | Challenge discussion

    Convex Hull PointsNot Completed

    Solutions: 24 | View all user solutions | Challenge discussion

    Wildcard CharactersNot Completed

    Solutions: 51 | View all user solutions | Challenge discussion

    Tetris MoveNot Completed

    Solutions: 13 | View all user solutions | Challenge discussion

    Companies

    • Google 43
    • Facebook 23
    • Microsoft 20
    • Amazon 12

    Bootcamps

    • Hack Reactor 82
    • Fullstack Academy 82
    • Grace Hopper 82
    • App Academy 82
    • Codesmith 82

    All Tags

    • searching 100
    • array 70
    • string manipulation 59
    • math fundamentals 54
    • hash table 23
    • optimization 22
    • matrix 21
    • dynamic programming 20
    • recursion 13
    • regular expression 10
    • game 10
    • graph 9
    • algebra 9
    • combinatorics 9
    • sorting 8
    • sequences 7
    • stack 7
    • encoding 6
    • chess 5
    • binary tree 5
    • geometry 4
    • linear algebra 4
    • prime numbers 3
    • set theory 3
    • heap 3
    • bitwise operation 2
    • cache 1