Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

foprc/leetcode-javascript

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Leetcode Problems Solutions

Using javascript(ES6)

  • 1 Two Sum 两数之和
  • 5 Longest Palindromic Substring 最长回文子串
  • 7 Reverse Integer 整数反转
  • 9 Palindrome Number 回文数
  • 11 Container With Most Water 盛最多水的容器
  • 13 Roman to Integer 罗马数字转整数
  • 14 Longest Common Prefix 最长公共前缀
  • 20 Valid Parentheses 有效的括号
  • 26 Remove Duplicates from Sorted Array 删除排序数组中的重复项
  • 32 Longest Valid Parentheses 最长有效括号
  • 33 Search in Rotated Sorted Array 搜索旋转排序数组
  • 34 Find First and Last Position of Element in Sorted Array 在排序数组中查找元素的第一个和最后一个位置
  • 49 Group Anagrams 字母异位词分组
  • 54 Spiral Matrix 螺旋矩阵
  • 56 Merge Intervals 合并区间
  • 73 Set Matrix Zeroes 矩阵置零
  • 75 Sort Colors 颜色分类
  • 85 Maximal Rectangle 最大矩形
  • 104 Maximum Depth of Binary Tree 二叉树的最大深度
  • 118 Pascal's Triangle 杨辉三角
  • 128 Longest Consecutive Sequence 最长连续序列
  • 136 Single Number 只出现一次的数字
  • 162 Find Peak Element 寻找峰值
  • 169 Majority Element 求众数
  • 190 Reverse Bits 颠倒二进制位
  • 191 Number of 1 Bits 位 1 的个数
  • 202 Happy Number 快乐数
  • 204 Count Primes 计数质数
  • 215 Kth Largest Element in an Array 数组中的第 K 个最大元素
  • 217 Contains Duplicate 存在重复元素
  • 226 Invert Binary Tree 翻转二叉树
  • 238 Product of Array Except Self 除自身以外数组的乘积
  • 292 Nim Game Nim 游戏
  • 300 Longest Increasing Subsequence 最长上升子序列
  • 344 Reverse String 反转字符串
  • 347 Top K Frequent Elements 前 K 个高频元素
  • 409 Longest Palindrome 最长回文串
  • 412 Fizz Buzz
  • 461 Hamming Distance 汉明距离
  • 476 Number Complement 数字的补数
  • 500 Keyboard Row 键盘行
  • 521 Longest Uncommon Subsequence I 最长特殊序列 Ⅰ
  • 535 Encode and Decode TinyURL TinyURL 的加密与解密
  • 557 Reverse Words in a String III 反转字符串中的单词 III
  • 617 Merge Two Binary Trees 合并二叉树
  • 655 Print Binary Tree 输出二叉树
  • 657 Robot Return to Origin 机器人能否返回原点
  • 709 To Lower Case 转换成小写字母
  • 728 Self Dividing Numbers 自除数
  • 771 Jewels and Stones 宝石与石头
  • 804 Unique Morse Code Words 唯一摩尔斯密码词
  • 807 Max Increase to Keep City Skyline 保持城市天际线
  • 814 Binary Tree Pruning 二叉树剪枝
  • 832 Flipping an Image 翻转图像
  • 852 Peak Index in a Mountain Array 山脉数组的峰顶索引
  • 905 Sort Array By Parity 按奇偶排序数组
  • 922 Sort Array By Parity II 按奇偶排序数组 II
  • 929 Unique Email Addresses 独特的电子邮件地址

About

My Solutions of Leetcode Problems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.