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

Sign up
Appearance settings

Keep solving daily algorithm problems, be ready for interviews, most of the problems are on Leetcode, and Leetocde interview discussions. https://snowan.gitbook.io/study-notes/

Notifications You must be signed in to change notification settings

snowan/interviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

533 Commits

Repository files navigation

Interviews

Leetcode Solutions in Java and Python3

Leetcode


  • LC 516 Longest Palindrome Subsequence | Java
  • LC 1024 Video Stitching | Java
  • LC 678 Valid Parenthesis String | Java
  • LC 471 Encode String with Shortest Length | Java
  • LC 1000 Minimum Cost to Merge Stones | Java
  • LC 132 Palindrome Partitioning II | Java | 解题报告
  • LC 91 Decode Ways | Java
  • LC 639 Decode Ways II | Java
  • LC 1043 Partition Array for Maximum Sum | Java
  • LC 689 Maximum Sum of 3 Non-Overlapping Subarrays | Java
  • LC 64 Minimum Path Sum | Java
  • LC 174 Dungeon Game | Java
  • LC 576 Out of Boundary Paths | Java
  • LC 688 Knight Probability in Chessboard | Java
  • LC 935 Knight Dialer | Java
  • LC 568 Maximum Vacation Days | Java
  • LC 552 Student Attendance Record II | Java
  • LC 377 Combination Sum IV | Java
  • LC 518 Coin Change 2 | Java
  • LC 416 Partition Equal Subset Sum | Java
  • LC 276 Paint Fence | Java
  • LC 920 Number of Music Playlists | Java | Python
  • LC 1025 Divisor Game | Java | Python
  • LC 139 Word Break | Java | Python
  • LC 1057 Campus Bikes | Java
  • LC 926 Flip String to Monotone Increasing | Java | Python
  • LC 801 Minimum Swaps To Make Sequences Increasing | Java
  • LC 1155. Number of Dice Rolls With Target Sum | Java
  • LC 53 Maximum Sum Subarray | Java | 解题中文 | 解题英文 🆕
  • LC 474 Zeros and Ones | Java | 解题中文| Solution Analysis English 🆕
  • LC 1143 Longest Common Subsequence | Java 🆕
  • LC 1167 Minimum Cost to Connect Sticks | Java 🆕


  • LC 1066 Campus Bikes II | Java | Python
  • LC 5087 Letter Tile Possibilities | Java
  • LC 465 Optimal Account Balancing | Java | 解题报告
  • LC 1091 Shortest Path in Binary Matrix | Java
  • LC 140 Word Break II | Java
  • LC 79 Word Search | Java | 解题
  • LC 212 Word Search II | Java
  • LC 425 Word Squares | Java
  • LC 130 Surrounded Regions | Java
  • LC 1129 Shortest Path with Alternating Colors | Java
  • LC 1161 Maximum Level Sum of a Binary Tree | Java
  • LC 1162 As Far from Land as Possible | Java
  • *LC 863 All nodes distance k in Binary Tree | Python


  • LC 29 Divide Two Integers | Java | Python
  • LC 1104 Path In Zigzag Labelled Binary Tree | Java
  • LC 374 Guess Number Higher or Lower | Java
  • LC 4 Median of Two Sorted Arrays | Java | 解题

  • LC 31 Next Permutation | Java | Python
  • LC 1089 Duplicate Zeros | Java
  • LC 1086 High Five | Java
  • 1103 Distribute Candies to People | Java
  • LC 1109 Corporate Flight Bookings | Java
  • LC 1122 Relative Sort Array | Java
  • LC 334 Increasing Triplet Subsequence | Java
  • LC 215 Kth Largest Element in an Array | Java
  • LC 1151 Minimum Swaps to Group All 1's Together | Java
  • LC 1157 Online Majority Element In Subarray | Java 🆕

  • LC 30 Substring with Concatenation of All Words | Java | Python | 解题报告
  • LC 828 Unique Letter String | Java
  • LC 1040 Moving Stones Until Consecutive II | Java
  • LC 1156 Swap For Longest Repeated Character Substring | Java

  • LC 426 Convert Binary Search Tree to Sorted Doubly Linked List | Java
  • LC 545 Boundary of Binary Tree | Java
  • LC 94 Binary Tree Inorder Traversal | Java
  • LC 144 Binary Tree Preorder Traversal | Java
  • LC 145 Binary Tree Postorder Traversal | Java
  • LC 102 Binary Tree Level Order Traversal | Java
  • LC 1120 Maximum Average Subtree | Java
  • LC 1123 Lowest Common Ancestor of Deepest Leaves | Java
  • LC 745 Prefix and Suffix Search | Java



  • LC 398 Random Pick Index | Java
  • LC 528 Random Pick with Weight | Java

  • LC 1114 Print in Order | Java
  • LC 1115 Print FooBar Alternately | Java
  • LC 1116 Print Zero Even Odd | Java
  • LC 1128 Number of Equivalent Domino Pairs | Java
  • LC 460 LFU Cache | Java | 详解
  • LC 1160 Find Words That Can Be Formed by Characters | Java 🆕
  • LC 1146 Snapshot Array | Java 🆕
  • LC 1165 Single-Row Keyboard | Java 🆕
  • LC 1166 Design File System | Java 🆕
  • LC 1171 Remove Zero Sum Consecutive Nodes from Linked List | Java | 中文解题 | English Solution Analysis 🆕
  • LC 1178 Number of Valid Words for Each Puzzle | Java 🆕


Data Structures




Google Problems

Facebooks Problems

  • Min Steps to Remove Elements | Java

Java demos


About

Keep solving daily algorithm problems, be ready for interviews, most of the problems are on Leetcode, and Leetocde interview discussions. https://snowan.gitbook.io/study-notes/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /