Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yasminmuntasern/leetcode-problems

🧠 Solving LeetCode problems
https://github.com/yasminmuntasern/leetcode-problems

csharp leetcode problemsolving

Last synced: 3 days ago
JSON representation

🧠 Solving LeetCode problems

Awesome Lists containing this project

README

        

# 🧠 LeetCode Problem Solving

## Problem List

Below is a table listing the LeetCode problems, their topics, and links to their solutions.

| **Question Name** | **Topics** | **File** |
|------------------------------------------------------|-------------|-----------|
| Number Complement |Bit Manipulation| [FindComplement.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Number%20Complement/Program.cs) |
| Hamming Distance |Bit Manipulation| [HammingDistance.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Hamming%20Distance/Program.cs) |
| Repeated Substring Pattern |String| [RepeatedSubstringPattern.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Repeated%20Substring%20Pattern/Program.cs) |
| Find All Numbers Disappeared in an Array |Array| [FindDisappearedNumbers.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Find%20All%20Numbers%20Disappeared%20in%20an%20Array/Program.cs)|
| Number of Segments in a String |String| [CountSegments.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Number%20of%20Segments%20in%20a%20String/Program.cs) |
| Third Maximum Number |Array , Sorting | [ThirdMax.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Third%20Maximum%20Number/Program.cs) |
| Intersection of Two Arrays II |Array , Hash Table | [Intersection.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Intersection%20of%20Two%20Arrays%20II/Program.cs) |
| Intersection of Two Arrays |Array , Hash Table | [Intersection.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Intersection%20of%20Two%20Arrays/Program.cs) |
| Counting Bits |Dynamic Programming , Bit Manipulation | [CountBits.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Counting%20Bits/Program.cs) |
| Convert a Number to Hexadecimal |Math | [ToHex.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Convert%20a%20Number%20to%20Hexadecimal/Program.cs) |
| First Unique Character in a String |String | [FirstUniqueCharacter.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/First%20Unique%20Character%20in%20a%20String/Program.cs) |
| First Unique Character in a String |String | [FirstUniqueCharacter.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/First%20Unique%20Character%20in%20a%20String/Program.cs) |
| Fizz Buzz |Math ,String | [FizzBuzz.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/FizzBuzz/Program.cs) |
| Longest Palindrome |Hash Table ,String | [LongestPalindrome.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Longest%20Palindrome/Program.cs) |
| Move Zeroes |Array ,Two Pointers | [ MoveZeroes.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Move%20Zeroes/Program.cs) |
| Find the Difference |String | [ FindTheDifference.cs](https://github.com/YasminMuntaserN/leetcode-problems/tree/main/Easy/Find%20the%20Difference/Program.c) |
| Nim Game |Math | [ NimGame.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Nim%20Game/Program.cs) |
| DayOfYear |Math ,String | [ DayOfYear.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Day%20of%20the%20Week/Program.cs) |
| Pow(x, n) |Math | [ Pow(x, n).cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Number%20of%201%20Bits/Program.cs) |
| Valid Perfect Square |Math ,Binary Search | [ IsPerfectSquare.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Valid%20Perfect%20Square/Program.cs) |
| Word Pattern |Hash Table , String | [ WordPattern.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Is%20Subsequence/Program.cs) |
| Summary Ranges | Array | [ SummaryRanges.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Summary%20Ranges/Program.cs) |
| Ransom Note | String | [ RansomNote.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/CanConstruct/Program.cs) |
| Is Subsequence | Two Pointers , String , Dynamic Programming | [ IsSubsequence.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Is%20Subsequence/Program.cs) |
| Reverse Vowels of a String | String | [ ReverseVowels.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Reverse%20Vowels%20of%20a%20String/Program.cs) |
| Reverse String II | String | [ ReverseStr.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Reverse%20String%20II/Program.cs) |
| IsAlienSorted | Array , String | [ IsAlienSorted.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Verifying%20an%20Alien%20Dictionary/Program.cs) |
| 3Sum | Array , Two Pointers , Sorting | [3Sum.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Medium/3Sum/Program.cs) |
| Int To Roman | Math , String | [IntToRoman.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Medium/Integer%20to%20Roman/Program.cs) |
| Isomorphic Strings | Hash Table , String | [ IsomorphicStrings.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Isomorphic%20Strings/Program.cs) |
| Day of the Week | Math | [ DayOfWeek.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Day%20of%20the%20Week/Program.cs) |
| Number of Days Between Two Dates |Math , String | [DaysBetweenDates.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Number%20of%20Days%20Between%20Two%20Dates/Program.cs) |
| Valid Anagram | Hash Table , String , Sorting | [ValidAnagram.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Valid%20Anagram/Program.cs) |
| Contains Duplicate II | Array ,Hash Table | [ContainsDuplicateII.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Contains%20Duplicate%20II/Program.cs) |
| Check if Number Has Equal Digit Count and Digit Value| Hash Table ,String,Counting | [DigitCount.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Check%20if%20Number%20Has%20Equal%20Digit%20Count%20and%20Digit%20Value/Program.cs) |
| Best Time to Buy and Sell Stock | Dynamic Programming ,Array | [BestTimeToBuyAndSellStock.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Best%20Time%20to%20Buy%20and%20Sell%20Stock/Program.cs) |
| Binary Tree Inorder Traversal |Stack,Tree,Binary Tree | [BinaryTreeInorderTraversal.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/ConsoleApp1/Program.cs) |
| Pascal's Triangle II | Dynamic Programming | [Pascal'sTriangleII.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Pascal's%20Triangle%20II/Program.cs) |
| Pascal's Triangle | Dynamic Programming | [Pascal'sTriangle.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Pascal's%20Triangle/Program.cs) |
| Merge Sorted Array | Array | [MergeSortedArray.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Merge%20Sorted%20Array/Program.cs) |
| Zigzag Conversion | String | [ZigzagConversion .cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Medium/zigzag%20pattern/Program.cs) |
| Harshad Number | Math | [HarshadNumber.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Harshad%20Number/Program.cs) |
| Counting Words With a Given Prefix | String | [CountingWordsWithaGivenPrefix.cs](https://github.com/YasminMuntaserN/leetcode-problems/blob/main/Easy/Counting%20Words%20With%20a%20Given%20Prefix/Program.cs) |
| Add Digits | Math | [AddDigits.cs](./Easy/AddDigits/Program.cs) |
| Add Strings | String | [AddStrings.cs](./Easy/AddStrings/Program.cs) |
| AddBinary | Math | [AddBinary.cs](./Easy/AddBinary/Program.cs) |
| Arranging Coins | Math | [ArrangingCoins.cs](./Easy/ArrangingCoins/Program.cs) |
| Climb Stairs | Dynamic Programming | [ClimbStairs.cs](./Easy/ClimbStairs/Program.cs) |
| Contains Duplicate | Array | [ContainsDuplicate.cs](./Easy/ContainsDuplicate/Program.cs) |
| ConvertToTitle | Math | [ConvertToTitle.cs](./Easy/ConvertToTitle/Program.cs) |
| Delete Duplicates | Array | [DeleteDuplicates.cs](./Easy/DeleteDuplicates/Program.cs) |
| Excel Sheet Column Number | Math | [ExcelSheetColumnNumber.cs](./Easy/ExcelSheetColumnNumber/Program.cs) |
| Final Array State After K Multiplication Operations I | Array | [FinalArrayStateAfterKMultiplicationOperationsI.cs](./Easy/FinalArrayStateAfterKMultiplicationOperationsI/Program.cs) |
| Happy Number | Math | [HappyNumber.cs](./Easy/HappyNumber/Program.cs) |
| Is Palindrome | String | [IsPalindrome.cs](./Easy/IsPalindrome/Program.cs) |
| Is Valid Word | String | [IsValidWord.cs](./Easy/IsValidWord/Program.cs) |
| Length Of Last Word | String | [LengthOfLastWord.cs](./Easy/LengthOfLastWord/Program.cs) |
| Longest Common Prefix | String | [LongestCommonPrefix.cs](./Easy/LongestCommonPrefix/Program.cs) |
| Merge Two Sorted Lists | Linked List | [MergeTwoSortedLists.cs](./Easy/MergeTwoSortedLists/Program.cs) |
| Missing Number | Array | [MissingNumber.cs](./Easy/MissingNumber/Program.cs) |
| My Sqrt | Math | [MySqrt.cs](./Easy/MySqrt/Program.cs) |
| Palindrome Number | Math | [PalindromeNumber.cs](./Easy/PalindromeNumber/Program.cs) |
| Plus One | Array | [PlusOne.cs](./Easy/PlusOne/Program.cs) |
| Power of Four | Math | [PowerOfFour.cs](./Easy/PowerofFour/Program.cs) |
| Power of Three | Math | [PowerOfThree.cs](./Easy/PowerofThree/Program.cs) |
| Power of Two | Math | [PowerOfTwo.cs](./Easy/PowerofTwo/Program.cs) |
| Remove Duplicates | Array | [RemoveDuplicates.cs](./Easy/RemoveDuplicates/Program.cs) |
| Remove Element | Array | [RemoveElement.cs](./Easy/RemoveElement/Program.cs) |
| Reverse String | String | [ReverseString.cs](./Easy/ReverseString/Program.cs) |
| Roman to Integer | Math | [RomanToInteger.cs](./Easy/RomanToInteger/Program.cs) |
| Same Tree | Tree | [SameTree.cs](./Easy/SameTree/Program.cs) |
| Search Insert Position | Array | [SearchInsertPosition.cs](./Easy/SearchInsertPosition/Program.cs) |
| Single Number | Array | [SingleNumber.cs](./Easy/SingleNumber/Program.cs) |
| Smallest Number After K Swaps | Array | [SmallestNumberAfterKSwaps.cs](./Easy/SmallestNumberAfterKSwaps/Program.cs) |
| Two Sum | Array | [TwoSum.cs](./Easy/TwoSum/Program.cs) |
| Valid Parentheses | String | [ValidParentheses.cs](./Easy/ValidParentheses/Program.cs) |
| Find the Index of the First Occurrence in a String | String | [FindIndexOfFirstOccurrence.cs](./Easy/Find-the-index-of-the-first-occurrence-in-a-string/Program.cs) |
| Majority Element | Array | [MajorityElement.cs](./Easy/majorityelement/Program.cs) |
| Ugly Number | Math | [UglyNumber.cs](./Easy/uglynumber/Program.cs) |
| Longest Substring Without Repeating Characters | String | [Program.cs](./Easy/LengthOfLongestSubstring/Program.cs) |