LeetcodeCShaprDotNetCore
My LeetCode Solutions in C#
Install / Use
/learn @kflili/LeetcodeCShaprDotNetCoreREADME
Leetcode C# solution and notes
I will use this repository to make notes for leetcode solutions and classify the problems by different topics.
Solved Problem List
Total solved: 108
microsoft-labed
ID | Difficulty | Tags | Solution | Similar Problem -- | ---------- | ---- | -------- | --------------- 206 | Easy | Linked List | Reverse Linked List 138 | Medium | LinkedList, Dictionary | Copy List with Random Pointer 419 | Medium | Two dimentional array | Battleships in a Board 273 | Hard | Math, string | Integer to English Words 54 | Medium | Array | Spiral Matrix 171 | Easy | Math | Excel Sheet Column Number | 168 235 | Medium | BST | Lowest Common Ancestor of a Binary Search Tree 200 | Medium | BFS, DFS | Number of Islands 88 | Easy | Two pointers | Merge Sorted Array 236 | Medium | Tree | Lowest Common Ancestor of a Binary Tree 48 | Medium | Array | Rotate Image 445 | Medium | LinkedList, Stack | Add Two Numbers II 268 | Easy | Array, Bit Manipulation | Missing Number 1 | Easy | Array, Hash Table (Dictionary) | Two Sum 186 | Medium | String | Reverse Words in a String II 53 | Easy | Dynamic Programming, Divide and Conquer | Maximum Subarray 103 | Medium | Tree, BFS, Stack | Binary Tree Zigzag Level Order Traversal 151 | Medium | String | Reverse Words in a String 116 | Medium | Tree, DFS | Populating Next Right Pointers in Each Node 75 | Medium | Array, Two pointers, Sort | Sort Colors 73 | Medium | Array | Set Matrix Zeroes 238 | Medium | Array | Product of Array Except Self 237 | Easy| Linked List | Delete Node in a Linked List 121 | Easy | Array, Dynamic Programming | Best Time to Buy and Sell Stock 168 | Easy | Math, char | Excel Sheet Column Title | 171 141 | Easy | Two pointers, Linked List | Linked List Cycle 13 | Easy | String, Math | Roman to Integer 98 | Medium | Tree, DFS | Validate Binary Search Tree 117 | Medium | Tree | Populating Next Right Pointers in Each Node II 21 | Easy | Linked List | Merge Two Sorted Lists 20 | Easy | Stack, String | Valid Parentheses 8 | Medium | Math, String | String to Integer (atoi) 2 | Medium | LinkedList, Math | Add Two Numbers 33 | Medium | Binary Search, Array | Search in Rotated Sorted Array 232 | Easy | Stack, Design | Implement Queue using Stacks 153 | Medium | Binary Search, Array | Find Minimum in Rotated Sorted Array 24 | Medium | Linked List | Swap Nodes in Pairs 173 | Medium | Tree, Stack, Degine | Binary Search Tree Iterator 215 | Medium | Divide and Conquer | Kth Largest Element in an Array 106 | Medium | Tree, DFS, Array | Construct Binary Tree from Inorder and Postorder Traversal
top-interview-questions
ID | Difficulty | Tags | Solution | Similar Problem -- | ---------- | ---- | -------- | --------------- 2 | Medium | LinkedList, Math | Add Two Numbers 5 | Medium | string | Longest Palindromic Substring 11 | Medium | Array, Two pointers | Container With Most Water 13 | Easy | String, Math | Roman to Integer 14 | Easy | String | Longest Common Prefix 15 | Medium | Array, Two pointers | 3Sum 17 | Medium | string, backtracking | Letter Combinations of a Phone Number 19 | Medium | LinkedList, Two Pointers | Remove Nth Node From End of List 22 | Medium | BackTracking, DFS | Generate Parentheses 38 | Easy | String | [Count and Say](https://git
