Skip to content

afasari/leetcode-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal leetcode solution

Leetcode

This repository records my solutions on LeetCode, written in Go, PHP, Rust, Python3, Javascript, Typescript.

đź–Ą This README.md is generated automatically.

Problem totals: 96

ID Title Difficulty Java Python3 Golang PHP Rust Javascript Typescript SQL
0001 two sum Easy - python3 go php rust javascript typescript -
0002 add two numbers Medium - - go php - - - -
0003 longest substring without repeating characters Medium - - go php - - - -
0004 median of two sorted arrays Hard - - go php - - - -
0005 longest palindromic substring Medium - - go php rust - - -
0006 zigzag conversion Medium - - go php - - - -
0007 reverse integer Medium - - go php - - - -
0008 string to integer atoi Medium - - go php - - - -
0009 palindrome number Easy - - go php - - - -
0010 regular expression matching Hard - python3 - - - - - -
0011 container with most water Medium - python3 go php rust - - -
0012 integer to roman Medium - - go php rust - - -
0013 roman to integer Easy - - go php rust - - -
0014 longest common prefix Easy - - go php - - - -
0015 3sum Medium - - go php - - - -
0016 3sum closest Medium - - go php - - - -
0017 letter combinations of a phone number Medium - - go php - - - -
0018 4sum Medium - - go php - - - -
0019 remove nth node from end of list Medium - - go - - - - -
0020 valid parentheses Easy - - go php - - - -
0021 merge two sorted lists Easy - - go php - - - -
0022 generate parentheses Medium - - go php - - - -
0023 merge k sorted lists Hard - - go - - - - -
0024 swap nodes in pairs Medium - - go - - - - -
0025 reverse nodes in k group Hard - - go - - - - -
0026 remove duplicates from sorted array Easy - - go - - - - -
0027 remove element Easy - - go - - - - -
0028 find the index of the first occurrence in a string Easy - - go php rust - - -
0029 divide two integers Medium - - go - - - - -
0031 next permutation Medium - - go - - - - -
0035 search insert position Easy - - go - - - - -
0036 valid sudoku Medium - - go - - - - -
0042 trapping rain water Hard - - go - - - - -
0049 group anagrams Medium - - go - - - - -
0056 merge intervals Medium - - go - - - - -
0058 length of last word Easy - - go - - - - -
0066 plus one Easy - - go - - - - -
0067 add binary Easy - - go - - - - -
0069 sqrtx Easy - - go - - - - -
0070 climbing stairs Easy - - go - rust - - -
0083 remove duplicates from sorted list Easy - - go - - javascript - -
0088 merge sorted array Easy - - go - - - - -
0100 same tree Easy - python3 go - - - - -
0104 maximum depth of binary tree Easy - - go - - - - -
0118 pascals triangle Easy - - go - - - - -
0119 pascals triangle ii Easy - - go - - - - -
0121 best time to buy and sell stock Easy - - go - - - - -
0125 valid palindrome Easy - - go - - - - -
0128 longest consecutive sequence Medium - - go - - - - -
0136 single number Easy - - go - - - - -
0137 single number ii Medium - - go - - - - -
0151 reverse words in a string Medium - - go - - - - -
0167 two sum ii input array is sorted Medium - - go - - - - -
0206 reverse linked list Easy - - go - - - - -
0217 contains duplicate Easy - python3 go php rust javascript typescript -
0238 product of array except self Medium - - go - - - - -
0242 valid anagram Easy - python3 go - - - - -
0260 single number iii Medium - - go - - - - -
0283 move zeroes Easy - - go - - - - -
0334 increasing triplet subsequence Medium - - go - - - - -
0338 counting bits Easy - - go - - - - -
0345 reverse vowels of a string Easy - - go - - - - -
0347 top k frequent elements Medium - - go - - - - -
0374 guess number higher or lower Easy - - go - - - - -
0392 is subsequence Easy - - go - - - - -
0394 decode string Medium - - go - - - - -
0435 non overlapping intervals Medium - - go - - - - -
0443 string compression Medium - - go - - - - -
0584 find customer referee Easy - - - - - - - sql
0595 big countries Easy - - - - - - - sql
0605 can place flowers Easy - - go - - - - -
0643 maximum average subarray i Easy - - go - - - - -
0724 find pivot index Easy - - go - - - - -
0735 asteroid collision Medium - - go - - - - -
0783 search in a binary search tree Easy - - go - - - - -
0904 leaf similar trees Easy - - go - - - - -
0969 number of recent calls Easy - - go - - - - -
1046 max consecutive ones iii Medium - - go - - - - -
1071 greatest common divisor of strings Easy - - go - - - - -
1153 product sales analysis i Easy - - - - - - - sql
1236 n th tribonacci number Easy - - go - - - - -
1258 article views i Easy - - - - - - - sql
1319 unique number of occurrences Easy - - go - - - - -
1392 find the difference of two arrays Easy - - go - - - - -
1431 kids with the greatest number of candies Easy - - go - - - - -
1509 replace employee id with the unique identifier Easy - - - - - - - sql
1567 maximum number of vowels in a substring of given length Medium - - go - - - - -
1586 longest subarray of 1s after deleting one element Medium - - go - - - - -
1768 merge strings alternately Easy - - go - - - - -
1777 determine if two strings are close Medium - - go - - - - -
1798 max number of k sum pairs Medium - - go - - - - -
1827 invalid tweets Easy - - - - - - - sql
1833 find the highest altitude Easy - - go - - - - -
1908 recyclable and low fat products Easy - - - - - - - sql
2428 equal row and column pairs Medium - - go - - - - -
2470 removing stars from a string Medium - - go - - - - -

Readme Generator

The script needs python3.

python3 readme-generator.py

Authors

  • Ba'tiar Afas Rahmamulia

LeetCode Topics

Database

0197-rising-temperature
1724-customer-who-visited-but-did-not-make-any-transactions

About

personal leetcode solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published