Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/saiteja-madha/ds-and-algo

Solutions for problems related to data structures and algorithms
https://github.com/saiteja-madha/ds-and-algo

algorithms data-structures hackerrank leetcode

Last synced: 25 days ago
JSON representation

Solutions for problems related to data structures and algorithms

Awesome Lists containing this project

README

        

### Pattern Based Questions

| QNo | Problem | Pattern | Algorithm |
| --- | ------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | ----------------------- |
| 001 | [Valid Palindrome](https://leetcode.com/problems/valid-palindrome/) | Two Pointers | |
| 002 | [Sum of Three Values](https://www.educative.io/courses/grokking-coding-interview-patterns-python/sum-of-three-values) | Two Pointers | |
| 003 | [Three Sum](https://leetcode.com/problems/3sum/) | Two Pointers | |
| 004 | [Remove nth Node from End of the List](https://leetcode.com/problems/remove-nth-node-from-end-of-list/) | Two Pointers | |
| 005 | [Reverse Words in a String](https://leetcode.com/problems/reverse-words-in-a-string/) | Two Pointers | |
| 006 | [Valid Palindrome 2](https://leetcode.com/problems/valid-palindrome-ii/) | Two Pointers | |
| 007 | [Happy Number](https://leetcode.com/problems/happy-number/) | Fast and Slow Pointers | Floyd's cycle detection |
| 008 | [Linked List Cycle](https://leetcode.com/problems/linked-list-cycle/) | Fast and Slow Pointers | Floyd's cycle detection |
| 009 | [Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list/) | Fast and Slow Pointers | |
| 010 | [Find the Duplicate Number](https://leetcode.com/problems/find-the-duplicate-number/) | Fast and Slow Pointers | Floyd's cycle detection |
| 011 | [Palindrome Linked List](https://leetcode.com/problems/palindrome-linked-list/) | Fast and Slow Pointers | |
| 012 | [Repeated DNS Sequence](https://leetcode.com/problems/repeated-dna-sequences/) | Sliding Window | |
| 013 | [Sliding Window Maximum](https://leetcode.com/problems/sliding-window-maximum/) | Sliding Window | |
| 014 | [Longest Repeating Character Replacement](https://leetcode.com/problems/longest-repeating-character-replacement/) | Sliding Window | |
| 015 | [Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters/) | Sliding Window | |
| 016 | [Minimum Size Subarray Sum](https://leetcode.com/problems/minimum-size-subarray-sum/) | Sliding Window | |
| 017 | [Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/) | Sliding Window | |
| 018 | [Minimum Window Substring](https://leetcode.com/problems/minimum-window-substring/) | Sliding Window | |
| 019 | [Island Perimeter](https://leetcode.com/problems/island-perimeter/) | Graphs | DFS |
| 020 | [Number of Islands](https://leetcode.com/problems/number-of-islands/) | Graphs | DFS |
| 021 | [Clone Graph](https://leetcode.com/problems/clone-graph/) | Graphs | DFS |
| 022 | [Max Area of Island](https://leetcode.com/problems/max-area-of-island/) | Graphs | DFS |
| 023 | [Count Sub Islands](https://leetcode.com/problems/count-sub-islands/) | Graphs | DFS |
| 024 | [Pacific Atlantic Water Flow](https://leetcode.com/problems/pacific-atlantic-water-flow/) | Graphs | DFS |
| 025 | [Surrounded Regions](https://leetcode.com/problems/surrounded-regions/) | Graphs | DFS |
| 026 | [Rotting Oranges](https://leetcode.com/problems/rotting-oranges/) | Graphs | BFS |
| 027 | [Islands and Treasure](https://neetcode.io/problems/islands-and-treasure) | Graphs | BFS |
| 028 | [Course Schedule](https://leetcode.com/problems/course-schedule/) | Graphs | DFS |
| 029 | [Course Schedule II](https://leetcode.com/problems/course-schedule-ii/) | Graphs | Topological Sort |

### LeetCode Questions

| QNo | Problem | Difficulty |
| ---- | ------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| 001 | [Two Sum](https://leetcode.com/problems/two-sum/) | Easy |
| 003 | [Longest Substring without repeating characters](https://leetcode.com/problems/longest-substring-without-repeating-characters/) | Medium |
| 009 | [Palindrome Number](https://leetcode.com/problems/palindrome-number/) | Easy |
| 011 | [Container With Most Water](https://leetcode.com/problems/container-with-most-water/) | Medium |
| 013 | [Roman to Integer](https://leetcode.com/problems/roman-to-integer/) | Easy |
| 014 | [Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix/) | Easy |
| 015 | [3Sum](https://leetcode.com/problems/3sum/) | Medium |
| 020 | [Valid Parentheses](https://leetcode.com/problems/valid-parentheses/) | Easy |
| 021 | [Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists/) | Easy |
| 036 | [Valid Sudoku](https://leetcode.com/problems/valid-sudoku/) | Medium |
| 049 | [Group Anagrams](https://leetcode.com/problems/group-anagrams/) | Medium |
| 058 | [Length of Last Word](https://leetcode.com/problems/length-of-last-word/) | Easy |
| 066 | [Plus One](https://leetcode.com/problems/plus-one/) | Easy |
| 067 | [Add Binary](https://leetcode.com/problems/add-binary/) | Easy |
| 070 | [Climbing Stairs](https://leetcode.com/problems/climbing-stairs/) | Easy |
| 083 | [Remove Duplicates from Sorted List](https://leetcode.com/problems/remove-duplicates-from-sorted-list/) | Easy |
| 121 | [Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/) | Easy |
| 125 | [Valid Palindrome](https://leetcode.com/problems/valid-palindrome/) | Easy |
| 128 | [Longest Consecutive Sequence](https://leetcode.com/problems/longest-consecutive-sequence/) | Medium |
| 136 | [Single Number](https://leetcode.com/problems/single-number/) | Easy |
| 160 | [Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists/) | Easy |
| 167 | [Two Sum II - Input array is sorted](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) | Easy |
| 169 | [Majority Element](https://leetcode.com/problems/majority-element/) | Easy |
| 203 | [Remove Linked List Elements](https://leetcode.com/problems/remove-linked-list-elements/) | Easy |
| 206 | [Reverse Linked List](https://leetcode.com/problems/reverse-linked-list/) | Easy |
| 217 | [Contains Duplicate](https://leetcode.com/problems/contains-duplicate/) | Easy |
| 219 | [Contains Duplicate II](https://leetcode.com/problems/contains-duplicate-ii/) | Easy |
| 238 | [Product of Array Except Self](https://leetcode.com/problems/product-of-array-except-self/) | Medium |
| 242 | [Valid Anagram](https://leetcode.com/problems/valid-anagram/) | Easy |
| 263 | [Ugly Number](https://leetcode.com/problems/ugly-number/) | Easy |
| 268 | [Missing Number](https://leetcode.com/problems/missing-number/) | Easy |
| 300 | [Longest Increasing Subsequence](https://leetcode.com/problems/longest-increasing-subsequence/) | Medium |
| 347 | [Top K Frequent Elements](https://leetcode.com/problems/top-k-frequent-elements/) | Medium |
| 392 | [Is Subsequence](https://leetcode.com/problems/is-subsequence/) | Easy |
| 441 | [Arranging Coins](https://leetcode.com/problems/arranging-coins/) | Easy |
| 509 | [Fibonacci Number](https://leetcode.com/problems/fibonacci-number/) | Easy |
| 682 | [Baseball Game](https://leetcode.com/problems/baseball-game/) | Easy |
| 704 | [Binary Search](https://leetcode.com/problems/binary-search/) | Easy |
| 771 | [Jewels and Stones](https://leetcode.com/problems/jewels-and-stones/) | Easy |
| 876 | [Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list/) | Easy |
| 1748 | [Sum of Unique Elements](https://leetcode.com/problems/sum-of-unique-elements/) | Easy |