Code Monkey home page Code Monkey logo

leetcode's Introduction

Leetcode

My solutions for LeetCode problems.

New solutions from 2023:

Number Description Solution Test
1 Two Sum Code Test
2 Add Two Numbers Code Test
88 Merge Sorted Array Code Test

Old solutions from 2018:

Number Description Solution
67 Add Binary Code
104 Maximum Depth of Binary Tree Code
136 Single Number Code
217 Contains Duplicate Code
226 Invert Binary Tree Code
258 Add Digits Code
273 Integer to English Words Code
283 Move Zeroes Code
292 Nim Game Code
344 Reverse String Code
371 Sum of Two Integers Code
389 Find the Difference Code
412 Fizz Buzz Code
415 Add Strings Code
441 Arranging Coins Code
448 Find All Numbers Disappeared in Array Code
455 Assign Cookies Code
461 Hamming Distance Code
463 Island Perimeter Code
476 Number Complement Code
485 Max Consecutive Ones Code
496 Next Greater Element I Code
500 Keyboard Row Code
520 Detect Capital Code
521 Longest Uncommon Subsequence I Code
557 Reverse Words in a String III Code
561 Array Partition I Code
566 Reshape the Matrix Code
575 Distribute Candies Code
617 Merge Two Binary Trees Code
637 Average of Levels in Binary Tree Code
657 Judge Route Circle Code
669 Trim a Binary Search Tree Code
682 Baseball Game Code
693 Binary Number with Alternating Bits Code
695 Max Area of Island Code
696 Count Binary Substrings Code
717 1-bit and 2-bit Characters Code
728 Self Dividing Numbers Code
762 Prime Number of Set Bits in Binary Representation Code
766 Toeplitz Matrix Code
771 Jewels and Stones Code
784 Letter Case Permutation Code
788 Rotated Digits Code
796 Rotate String Code
804 Unique Morse Code Words Code
806 Number of Lines to Write String Code
811 Subdomain Visit Count Code
812 Largest Triangle Area Code
821 Shortest Distance to a Character Code
824 Goat Latin Code
832 Flipping an Image Code
851 Loud and Rich Code

Instructions:

Install all dependencies

yarn

Test all solutions:

yarn test

Test single solution

yarn test -- 001_two-sum

leetcode's People

Contributors

joisadler avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.