Skip to content

glowfi/DS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS

A collection of data-structures and algorithms

LOGO

Questions

# Type Problem Link Difficulty Code
0 Array&Hashing Merge Sort https://practice.geeksforgeeks.org/problems/merge-sort/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/1_Merge_Sort.py
1 Array&Hashing Largest Element in Array https://practice.geeksforgeeks.org/problems/largest-element-in-array4009/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/2_Largest_Element_in_Array.py
2 Array&Hashing Second Largest Second Smallest https://practice.geeksforgeeks.org/problems/second-largest3735/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/3_Second_Largest_Second_Smallest.py
3 Array&Hashing Check Array Sorted Rotated https://leetcode.com/problems/check-if-array-is-sorted-and-rotated/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/4_Check_Array_Sorted_Rotated.py
4 Array&Hashing Check Array Sorted https://practice.geeksforgeeks.org/problems/check-if-an-array-is-sorted0701/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/5_Check_Array_Sorted.py
5 Array&Hashing Remove Duplicates Sorted Array https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/6_Remove_Duplicates_Sorted_Array.py
6 Array&Hashing Left Right rotate an array one place nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/7_Left_Right_rotate_an_array_one_place.py
7 Array&Hashing Rotate Left K places https://practice.geeksforgeeks.org/problems/reversal-algorithm5340/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/8_Rotate_Left_K_places.py
8 Array&Hashing Rotate Right K Places https://leetcode.com/problems/rotate-array/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/9_Rotate_Right_K_Places.py
9 Array&Hashing Move Zeroes At the end https://leetcode.com/problems/move-zeroes/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/10_Move_Zeroes_At_the_end.py
10 Array&Hashing Linear Search https://practice.geeksforgeeks.org/problems/who-will-win-1587115621/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/11_Linear_Search.py
11 Array&Hashing Union Two Arrays https://www.codingninjas.com/codestudio/problems/sorted-array_6613259 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/12_Union_Two_Arrays.py
12 Array&Hashing Intersection of 2 sorted arrays https://www.codingninjas.com/codestudio/problems/intersection-of-2-arrays_1082149 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/13_Intersection_of_2_sorted_arrays.py
13 Array&Hashing Missing Number https://www.codingninjas.com/codestudio/problems/missing-number_6680467 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/14_Missing_Number.py
14 Array&Hashing Max Consective Ones https://www.codingninjas.com/codestudio/problems/maximum-consecutive-ones_3843993 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/15_Max_Consective_Ones.py
15 Array&Hashing Find element that appears once https://www.codingninjas.com/codestudio/problems/find-the-single-element_6680465 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/16_Find_element_that_appears_once.py
16 Array&Hashing 2 Sum I https://leetcode.com/problems/two-sum/description/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/17_2_Sum_I.py
17 Array&Hashing 2 Sum II https://www.codingninjas.com/codestudio/problems/reading_6845742 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/18_2_Sum_II.py
18 Array&Hashing Sort an array of 0's 1's & 2's https://leetcode.com/problems/sort-colors/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/19_Sort_an_array_of_0's_1's_&_2's.py
19 Array&Hashing Longest Subarray 0 Sum https://practice.geeksforgeeks.org/problems/largest-subarray-with-0-sum/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/20_Longest_Subarray_0_Sum.py
20 Array&Hashing Longest Subarry with Sum K https://practice.geeksforgeeks.org/problems/longest-sub-array-with-sum-k0809/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/21_Longest_Subarry_with_Sum_K.py
21 Array&Hashing Longest Subarray Sum Divisible K https://practice.geeksforgeeks.org/problems/longest-subarray-with-sum-divisible-by-k1259/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/22_Longest_Subarray_Sum_Divisible_K.py
22 Array&Hashing Count of Subarray K Sum https://leetcode.com/problems/subarray-sum-equals-k/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/23_Count_of_Subarray_K_Sum.py
23 Array&Hashing Count of Subarray K XOR https://www.codingninjas.com/codestudio/problems/count-subarrays-with-given-xor_1115652 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/24_Count_of_Subarray_K_XOR.py
24 Array&Hashing Maximum Subarray Sum https://leetcode.com/problems/maximum-subarray/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/25_Maximum_Subarray_Sum.py
25 Array&Hashing Majority Element https://leetcode.com/problems/majority-element/description/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/26_Majority_Element.py
26 Array&Hashing Rearrange Elements By Sign I https://leetcode.com/problems/rearrange-array-elements-by-sign/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/27_Rearrange_Elements_By_Sign_I.py
27 Array&Hashing Rearrange Elements By Sign II nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/28_Rearrange_Elements_By_Sign_II.py
28 Array&Hashing Best Time To Buy and Sell Stock https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/29_Best_Time_To_Buy_and_Sell_Stock.py
29 Array&Hashing Next Permutation https://leetcode.com/problems/next-permutation/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/30_Next_Permutation.py
30 Array&Hashing Leaders in array https://practice.geeksforgeeks.org/problems/leaders-in-an-array-1587115620/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/31_Leaders_in_array.py
31 Array&Hashing Longest Consecutive Sequence https://leetcode.com/problems/longest-consecutive-sequence/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/32_Longest_Consecutive_Sequence.py
32 Array&Hashing Set Matrix Zeroes https://leetcode.com/problems/set-matrix-zeroes/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/33_Set_Matrix_Zeroes.py
33 Array&Hashing Rotate Image 90 https://leetcode.com/problems/rotate-image/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/34_Rotate_Image_90.py
34 Array&Hashing Spiral Matrix https://leetcode.com/problems/spiral-matrix/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/35_Spiral_Matrix.py
35 Array&Hashing Pascals Triangle https://leetcode.com/problems/pascals-triangle/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/36_Pascals_Triangle.py
36 Array&Hashing Majority Element II https://leetcode.com/problems/majority-element-ii/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/37_Majority_Element_II.py
37 Array&Hashing 3 Sum https://leetcode.com/problems/3sum/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/38_3_Sum.py
38 Array&Hashing 4 Sum https://leetcode.com/problems/4sum/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/39_4_Sum.py
39 Array&Hashing Merge Overlapping Intervals https://leetcode.com/problems/merge-intervals/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/40_Merge_Overlapping_Intervals.py
40 Array&Hashing Merge Sorted Arrays Without Extra Space https://practice.geeksforgeeks.org/problems/merge-two-sorted-arrays-1587115620/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/41_Merge_Sorted_Arrays_Without_Extra_Space.py
41 Array&Hashing Find the Missing Repeating Number https://www.codingninjas.com/codestudio/problems/missing-and-repeating-numbers_6828164 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/42_Find_the_Missing_Repeating_Number.py
42 Array&Hashing Count Inversions https://www.codingninjas.com/codestudio/problems/number-of-inversions_6840276 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/43_Count_Inversions.py
43 Array&Hashing Reverse Pairs https://leetcode.com/problems/reverse-pairs/description/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/44_Reverse_Pairs.py
44 Array&Hashing Maximum Product Subarray https://leetcode.com/problems/maximum-product-subarray/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/45_Maximum_Product_Subarray.py
45 Array&Hashing All Pairs Minimum Absolute Difference https://leetcode.com/problems/minimum-absolute-difference/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/46_All_Pairs_Minimum_Absolute_Difference.py
46 Array&Hashing Absolute Difference Between any pair https://practice.geeksforgeeks.org/problems/minimum-difference-pair5444/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/47_Absolute_Difference_Between_any_pair.py
47 Array&Hashing Cyclic Sort nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/48_Cyclic_Sort.py
48 Array&Hashing Missing Number https://leetcode.com/problems/missing-number/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/49_Missing_Number.py
49 Array&Hashing Find All Numbers Disappeared in an Array https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/50_Find_All_Numbers_Disappeared_in_an_Array.py
50 Array&Hashing Find Duplicate Number https://leetcode.com/problems/find-the-duplicate-number/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/51_Find_Duplicate_Number.py
51 Array&Hashing Find All Duplicates in an Array https://leetcode.com/problems/find-all-duplicates-in-an-array/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/52_Find_All_Duplicates_in_an_Array.py
52 Array&Hashing Find set Missmatch https://leetcode.com/problems/set-mismatch/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/53_Find_set_Missmatch.py
53 Array&Hashing First Missing Positive https://leetcode.com/problems/first-missing-positive/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/54_First_Missing_Positive.py
54 Array&Hashing Bubble Sort https://practice.geeksforgeeks.org/problems/bubble-sort/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/55_Bubble_Sort.py
55 Array&Hashing Selection Sort https://practice.geeksforgeeks.org/problems/bubble-sort/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/1_Array&Hashing/56_Selection_Sort.py
56 BinarySearch Binary Search https://leetcode.com/problems/binary-search/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/1_Binary_Search.py
57 BinarySearch Lower Bound https://www.codingninjas.com/codestudio/problems/lower-bound_8165382 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/2_Lower_Bound.py
58 BinarySearch Upper Bound https://www.codingninjas.com/codestudio/problems/implement-upper-bound_8165383 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/3_Upper_Bound.py
59 BinarySearch Search Insert Position https://leetcode.com/problems/search-insert-position/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/4_Search_Insert_Position.py
60 BinarySearch Floor Ceil Sorted Array https://www.codingninjas.com/codestudio/problems/ceiling-in-a-sorted-array_1825401 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/5_Floor_Ceil_Sorted_Array.py
61 BinarySearch First Last Occurence Of Element Sorted Array https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/6_First_Last_Occurence_Of_Element_Sorted_Array.py
62 BinarySearch Count Number of Occurences https://www.codingninjas.com/codestudio/problems/occurrence-of-x-in-a-sorted-array_630456 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/7_Count_Number_of_Occurences.py
63 BinarySearch Binary Search Descending nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/8_Binary_Search_Descending.py
64 BinarySearch Order Not Known Search nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/9_Order_Not_Known_Search.py
65 BinarySearch Search in Rotated Sorted Array https://leetcode.com/problems/search-in-rotated-sorted-array/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/10_Search_in_Rotated_Sorted_Array.py
66 BinarySearch Search in Rotated Sorted Array II https://leetcode.com/problems/search-in-rotated-sorted-array-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/11_Search_in_Rotated_Sorted_Array_II.py
67 BinarySearch Minimum Rotated Sorted Array https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/12_Minimum_Rotated_Sorted_Array.py
68 BinarySearch Find Times Array Rotated https://practice.geeksforgeeks.org/problems/rotation4723/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/13_Find_Times_Array_Rotated.py
69 BinarySearch Find Single Element in a Sorted Array https://leetcode.com/problems/single-element-in-a-sorted-array/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/14_Find_Single_Element_in_a_Sorted_Array.py
70 BinarySearch Find Peak Element https://leetcode.com/problems/find-peak-element/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/15_Find_Peak_Element.py
71 BinarySearch Next Alphabet nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/16_Next_Alphabet.py
72 BinarySearch Position of an element in infinite Sorted Array nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/17_Position_of_an_element_in_infinite_Sorted_Array.py
73 BinarySearch Index of First 1 Binary Infinte Array nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/18_Index_of_First_1_Binary_Infinte_Array.py
74 BinarySearch Minimum Difference Element in a Sorted Array nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/19_Minimum_Difference_Element_in_a_Sorted_Array.py
75 BinarySearch Find Maximum Bitonic Arary https://practice.geeksforgeeks.org/problems/maximum-value-in-a-bitonic-array3001/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/20_Find_Maximum_Bitonic_Arary.py
76 BinarySearch Search in Bitonic Array nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/21_Search_in_Bitonic_Array.py
77 BinarySearch Find Square Root of Number https://practice.geeksforgeeks.org/problems/square-root/0 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/22_Find_Square_Root_of_Number.py
78 BinarySearch Find Nth root of Number https://practice.geeksforgeeks.org/problems/find-nth-root-of-m5843/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/23_Find_Nth_root_of_Number.py
79 BinarySearch Koko Eating Bananas https://leetcode.com/problems/koko-eating-bananas/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/24_Koko_Eating_Bananas.py
80 BinarySearch Minimum Number of Days to Make m Bouquets https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/25_Minimum_Number_of_Days_to_Make_m_Bouquets.py
81 BinarySearch Find the Smallest Divisor Given a Threshold https://leetcode.com/problems/find-the-smallest-divisor-given-a-threshold/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/26_Find_the_Smallest_Divisor_Given_a_Threshold.py
82 BinarySearch Capacity to Ship Packages Within D Days https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/27_Capacity_to_Ship_Packages_Within_D_Days.py
83 BinarySearch Kth Missing Positive Number https://leetcode.com/problems/kth-missing-positive-number/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/28_Kth_Missing_Positive_Number.py
84 BinarySearch Aggressive Cows https://www.codingninjas.com/studio/problems/aggressive-cows_1082559 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/29_Aggressive_Cows.py
85 BinarySearch Allocate Books https://www.codingninjas.com/studio/problems/allocate-books_1090540 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/30_Allocate_Books.py
86 BinarySearch Painters Partition https://www.codingninjas.com/studio/problems/painter-s-partition-problem_1089557 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/31_Painters_Partition.py
87 BinarySearch Split Array Largest Sum https://leetcode.com/problems/split-array-largest-sum/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/32_Split_Array_Largest_Sum.py
88 BinarySearch Minimize Max Distance to Gas Stations https://www.codingninjas.com/studio/problems/minimise-max-distance_7541449 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/33_Minimize_Max_Distance_to_Gas_Stations.py
89 BinarySearch Median of 2 Sorted Arrays https://leetcode.com/problems/median-of-two-sorted-arrays/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/34_Median_of_2_Sorted_Arrays.py
90 BinarySearch Kth Elements of 2 sorted arrays https://www.codingninjas.com/studio/problems/k-th-element-of-2-sorted-array_1164159 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/35_Kth_Elements_of_2_sorted_arrays.py
91 BinarySearch Rows with max number of 1s https://www.codingninjas.com/studio/problems/row-of-a-matrix-with-maximum-ones_982768 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/36_Rows_with_max_number_of_1s.py
92 BinarySearch Search in 2d matrix i https://leetcode.com/problems/search-a-2d-matrix/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/37_Search_in_2d_matrix_i.py
93 BinarySearch Search in 2d matrix ii rowise columnwise sorted https://leetcode.com/problems/search-a-2d-matrix-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/38_Search_in_2d_matrix_ii_rowise_columnwise_sorted.py
94 BinarySearch Peak Element in 2D Matrix https://leetcode.com/problems/find-a-peak-element-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/39_Peak_Element_in_2D_Matrix.py
95 BinarySearch Matrix Median https://www.codingninjas.com/studio/problems/median-of-a-row-wise-sorted-matrix_1115473 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/2_BinarySearch/40_Matrix_Median.py
96 String Remove outermost Paranthesis https://leetcode.com/problems/remove-outermost-parentheses/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/1_Remove_outermost_Paranthesis.py
97 String Reverse Words in a String https://leetcode.com/problems/reverse-words-in-a-string/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/2_Reverse_Words_in_a_String.py
98 String Largest odd number in a string https://leetcode.com/problems/largest-odd-number-in-string/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/3_Largest_odd_number_in_a_string.py
99 String Longest Common Prefix https://leetcode.com/problems/longest-common-prefix/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/4_Longest_Common_Prefix.py
100 String Isomorphic String https://leetcode.com/problems/isomorphic-strings/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/5_Isomorphic_String.py
101 String Rotate String https://leetcode.com/problems/rotate-string/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/6_Rotate_String.py
102 String Valid Anagram https://leetcode.com/problems/valid-anagram/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/7_Valid_Anagram.py
103 String Sort Character By Frequency https://leetcode.com/problems/sort-characters-by-frequency/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/8_Sort_Character_By_Frequency.py
104 String Maximum Nesting Depth of the Parentheses https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/9_Maximum_Nesting_Depth_of_the_Parentheses.py
105 String Roman to Integer https://leetcode.com/problems/roman-to-integer/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/10_Roman_to_Integer.py
106 String Implement atoi https://leetcode.com/problems/string-to-integer-atoi/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/11_Implement_atoi.py
107 String Count number of substring k different characters https://www.codingninjas.com/studio/problems/count-with-k-different-characters_1214627 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/12_Count_number_of_substring_k_different_characters.py
108 String Longest Palindromic Substring https://leetcode.com/problems/longest-palindromic-substring/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/13_Longest_Palindromic_Substring.py
109 String Count number of palindrome substrings https://leetcode.com/problems/palindromic-substrings/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/15_Count_number_of_palindrome_substrings.py
110 String Sum of Beauty of all substrings https://leetcode.com/problems/sum-of-beauty-of-all-substrings/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/3_String/16_Sum_of_Beauty_of_all_substrings.py
111 LinkedList Construct Linked List https://www.codingninjas.com/studio/problems/introduction-to-linked-list_8144737 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/1_Construct_Linked_List.py
112 LinkedList Insert Node At the Beginning Linked List https://www.codingninjas.com/studio/problems/insert-node-at-the-beginning_8144739 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/2_Insert_Node_At_the_Beginning_Linked_List.py
113 LinkedList Delete Node Linked List https://leetcode.com/problems/delete-node-in-a-linked-list/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/3_Delete_Node_Linked_List.py
114 LinkedList Find Length Linked List https://www.codingninjas.com/studio/problems/count-nodes-of-linked-list_5884 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/4_Find_Length_Linked_List.py
115 LinkedList Search in LinkedList https://www.codingninjas.com/studio/problems/search-in-a-linked-list_975381 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/5_Search_in_LinkedList.py
116 LinkedList Construct Doubly Linked List https://www.codingninjas.com/studio/problems/introduction-to-doubly-linked-list_8160413 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/6_Construct_Doubly_Linked_List.py
117 LinkedList Insert at the end of Double Linked List https://www.codingninjas.com/studio/problems/insert-at-end-of-doubly-linked-list_8160464 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/7_Insert_at_the_end_of_Double_Linked_List.py
118 LinkedList Delete Tail Node Double Linked List https://www.codingninjas.com/studio/problems/delete-last-node-of-a-doubly-linked-list_8160469 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/8_Delete_Tail_Node_Double_Linked_List.py
119 LinkedList Reverse Double Linked List https://www.codingninjas.com/studio/problems/reverse-a-doubly-linked-list_1116098 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/9_Reverse_Double_Linked_List.py
120 LinkedList Middle Linked List https://leetcode.com/problems/middle-of-the-linked-list/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/10_Middle_Linked_List.py
121 LinkedList Reverse Linked List https://leetcode.com/problems/reverse-linked-list/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/11_Reverse_Linked_List.py
122 LinkedList Linked List Cycle https://leetcode.com/problems/linked-list-cycle/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/12_Linked_List_Cycle.py
123 LinkedList Linked List Cycle II https://leetcode.com/problems/linked-list-cycle-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/13_Linked_List_Cycle_II.py
124 LinkedList Find length of Loop https://www.codingninjas.com/studio/problems/find-length-of-loop_8160455 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/14_Find_length_of_Loop.py
125 LinkedList Find Duplicate Number https://leetcode.com/problems/find-the-duplicate-number/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/15_Find_Duplicate_Number.py
126 LinkedList Check Palindromic Linked List https://leetcode.com/problems/palindrome-linked-list/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/16_Check_Palindromic_Linked_List.py
127 LinkedList Segragate Odd Even Nodes in Linked List https://leetcode.com/problems/odd-even-linked-list/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/17_Segragate_Odd_Even_Nodes_in_Linked_List.py
128 LinkedList Remove Nth Node from Linked List https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/18_Remove_Nth_Node_from_Linked_List.py
129 LinkedList Delete Middle Node Linked List https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/19_Delete_Middle_Node_Linked_List.py
130 LinkedList Sort Linked List https://leetcode.com/problems/sort-list/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/20_Sort_Linked_List.py
131 LinkedList Sort Linked List 0s 1s 2s https://www.codingninjas.com/studio/problems/sort-linked-list-of-0s-1s-2s_1071937 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/21_Sort_Linked_List_0s_1s_2s.py
132 LinkedList Intersection of Two Linked Lists https://leetcode.com/problems/intersection-of-two-linked-lists/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/22_Intersection_of_Two_Linked_Lists.py
133 LinkedList Add 2 Numbers in Linked List https://leetcode.com/problems/add-two-numbers/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/23_Add_2_Numbers_in_Linked_List.py
134 LinkedList Add one to a number https://www.codingninjas.com/studio/problems/add-one-to-a-number-represented-as-linked-list_920557 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/24_Add_one_to_a_number.py
135 LinkedList Delete all occurrences of a given key in a Double Linked List https://www.codingninjas.com/studio/problems/delete-all-occurrences-of-a-given-key-in-a-doubly-linked-list_8160461 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/25_Delete_all_occurrences_of_a_given_key_in_a_Double_Linked_List.py
136 LinkedList Find Pairs with given sum Double Linked List https://www.codingninjas.com/studio/problems/find-pairs-with-given-sum-in-doubly-linked-list_1164172 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/26_Find_Pairs_with_given_sum_Double_Linked_List.py
137 LinkedList Remove Duplicates from sorted Double Linked List https://www.codingninjas.com/studio/problems/remove-duplicates-from-a-sorted-doubly-linked-list_2420283 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/27_Remove_Duplicates_from_sorted_Double_Linked_List.py
138 LinkedList Merge 2 Sorted Linked List https://leetcode.com/problems/merge-two-sorted-lists/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/28_Merge_2_Sorted_Linked_List.py
139 LinkedList Merge K Sorted Linked List https://leetcode.com/problems/merge-k-sorted-lists/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/29_Merge_K_Sorted_Linked_List.py
140 LinkedList Reverse Linked List in K groups https://leetcode.com/problems/reverse-nodes-in-k-group/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/30_Reverse_Linked_List_in_K_groups.py
141 LinkedList Flatten Linked List https://www.codingninjas.com/studio/problems/flatten-a-linked-list_1112655 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/31_Flatten_Linked_List.py
142 LinkedList Clone Linked List Random Pointers https://leetcode.com/problems/copy-list-with-random-pointer/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/32_Clone_Linked_List_Random_Pointers.py
143 LinkedList Rotate Linked List https://leetcode.com/problems/rotate-list/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/33_Rotate_Linked_List.py
144 LinkedList Design Hashmap https://leetcode.com/problems/design-hashmap/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/34_Design_Hashmap.py
145 LinkedList Design Hashset https://leetcode.com/problems/design-hashset/description/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/35_Design_Hashset.py
146 LinkedList Design Browser History https://leetcode.com/problems/design-browser-history/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/36_Design_Browser_History.py
147 LinkedList Design LRU Cache https://leetcode.com/problems/lru-cache/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/4_LinkedList/37_Design_LRU_Cache.py
148 Recursion Print n times https://www.codingninjas.com/studio/problems/-print-n-times_8380707 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/1_Print_n_times.py
149 Recursion 1 to N Without Loop https://www.codingninjas.com/studio/problems/print-1-to-n_628290 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/2_1_to N Without Loop.py
150 Recursion N to 1 Without Loop https://www.codingninjas.com/studio/problems/print-1-to-n_628290 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/3_N_to_1_Without_Loop.py
151 Recursion Sum Of First N Numbers https://www.codingninjas.com/studio/problems/sum-of-first-n-numbers_8876068 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/4_Sum Of First N Numbers.py
152 Recursion Factorial Numbers Not Greater Than N https://www.codingninjas.com/studio/problems/factorial-numbers-not-greater-than-n_8365435 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/5_Factorial Numbers Not Greater Than N.py
153 Recursion Sum of digits nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/6_Sum_of_digits.py
154 Recursion Product of digits nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/7_Product_of_digits.py
155 Recursion Reverse a number nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/8_Reverse_a_number.py
156 Recursion Palindrome Number nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/9_Palindrome_Number.py
157 Recursion Count Zeroes in a number nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/10_Count_Zeroes_in_a_number.py
158 Recursion Number of Steps to reduce to zero https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/11_Number_of_Steps_to_reduce_to_zero.py
159 Recursion Reverse an Array https://www.codingninjas.com/studio/problems/reverse-an-array_8365444 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/12_Reverse an Array.py
160 Recursion Valid Palindrome https://leetcode.com/problems/valid-palindrome/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/13_Valid Palindrome.py
161 Recursion Fibonacci Number https://leetcode.com/problems/fibonacci-number/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/14_Fibonacci_Number.py
162 Recursion Check Array Sorted nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/15_Check_Array_Sorted.py
163 Recursion Linear Search nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/16_Linear_Search.py
164 Recursion Linear Search Multi Occurences nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/17_Linear_Search_Multi_Occurences.py
165 Recursion Search in a rotated sorted array https://leetcode.com/problems/search-in-rotated-sorted-array/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/18_Search_in_a_rotated_sorted_array.py
166 Recursion Pow x n Binary Exponentiation https://leetcode.com/problems/powx-n/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/19_Pow_x_n_Binary_Exponentiation.py
167 Recursion Count Good Numbers https://leetcode.com/problems/count-good-numbers/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/20_Count_Good_Numbers.py
168 Recursion Merge Sort nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/21_Merge_Sort.py
169 Recursion Quick Sort https://www.codingninjas.com/studio/problems/quick-sort_5844 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/22_Quick_Sort.py
170 Recursion Skip a character nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/23_Skip_a_character.py
171 Recursion Skip string nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/24_Skip_string.py
172 Recursion Skip string when not starts with some string nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/25_Skip_string_when_not_starts_with_some_string.py
173 Recursion Subsequences nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/26_Subsequences.py
174 Recursion Subsequences ASCII nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/27_Subsequences_ASCII.py
175 Recursion Iterative Subsequence nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/28_Iterative_Subsequence.py
176 Recursion Generate Permutation https://leetcode.com/problems/permutations/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/29_Generate_Permutation.py
177 Recursion Generate Permutation optimized https://leetcode.com/problems/permutations/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/30_Generate_Permutation_optimized.py
178 Recursion Count Permutations nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/31_Count_Permutations.py
179 Recursion Generate Combinations nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/32_Generate_Combinations.py
180 Recursion Combinations https://leetcode.com/problems/combinations/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/33_Combinations.py
181 Recursion Combination Sum I https://leetcode.com/problems/combination-sum/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/34_Combination_Sum_I.py
182 Recursion Combination Sum II https://leetcode.com/problems/combination-sum-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/35_Combination_Sum_II.py
183 Recursion Combination Sum III https://leetcode.com/problems/combination-sum-iii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/36_Combination_Sum_III.py
184 Recursion Combination Sum IV https://leetcode.com/problems/combination-sum-iv/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/37_Combination_Sum_IV.py
185 Recursion Subset Sum I https://practice.geeksforgeeks.org/problems/subset-sums2234/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/38_Subset_Sum_I.py
186 Recursion Subsets II https://leetcode.com/problems/subsets-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/39_Subsets_II.py
187 Recursion Letter Combination of Phone Number https://leetcode.com/problems/letter-combinations-of-a-phone-number/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/40_Letter_Combination_of_Phone_Number.py
188 Recursion Number of Dice Rolls With Target Sum https://leetcode.com/problems/number-of-dice-rolls-with-target-sum Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/41_Number_of_Dice_Rolls_With_Target_Sum.py
189 Recursion Given 2 strings return string with more distinct subsequences https://practice.geeksforgeeks.org/problems/better-string/1 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/42_Given_2_strings_return_string_with_more_distinct_subsequences.py
190 Recursion Count and say https://leetcode.com/problems/count-and-say/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/43_Count_and_say.py
191 Recursion Kth Symbol in Grammar https://leetcode.com/problems/k-th-symbol-in-grammar/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/44_Kth_Symbol_in_Grammar.py
192 Recursion Generate Parentheses https://leetcode.com/problems/generate-parentheses/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/45_Generate_Parentheses.py
193 Recursion Generate Binary Strings https://practice.geeksforgeeks.org/problems/generate-all-binary-strings/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/46_Generate_Binary_Strings.py
194 Recursion Count all Subsequences with Sum K https://practice.geeksforgeeks.org/problems/perfect-sum-problem5633/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/47_Count_all_Subsequences_with_Sum_K.py
195 Recursion Check If a Subset exists with given sum k https://practice.geeksforgeeks.org/problems/subset-sum-problem-1611555638/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/48_Check_If_a Subset_exists_with_given_sum_k.py
196 Recursion Sort array using recursion nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/49_Sort_array_using_recursion.py
197 Recursion Delete Middle Element of Stack using recursion nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/50_Delete_Middle_Element_of_Stack_using_recursion.py
198 Recursion Reverse a Stack using recursion nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/51_Reverse_a _Stack_using_recursion.py
199 Recursion Tower of Hanoi https://www.geeksforgeeks.org/problems/tower-of-hanoi-1587115621/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/52_Tower_of_Hanoi.py
200 Recursion Permutation with spaces https://practice.geeksforgeeks.org/problems/permutation-with-spaces3627/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/53_Permutation_with_spaces.py
201 Recursion Permutation with case change nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/54_Permutation_with_case_change.py
202 Recursion Letter case Permutation https://leetcode.com/problems/letter-case-permutation/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/55_Letter_case_Permutation.py
203 Recursion Print N bit binary with more ones than 0 https://practice.geeksforgeeks.org/problems/print-n-bit-binary-numbers-having-more-1s-than-0s0252/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/56_Print_N_bit_binary_with_more_ones_than_0.py
204 Recursion Josephus Problem https://leetcode.com/problems/find-the-winner-of-the-circular-game/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/57_Josephus_Problem.py
205 Recursion Count Paths to reach the end in a maze https://leetcode.com/problems/unique-paths/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/58_Count_Paths_to_reach_the_end_in_a_maze.py
206 Recursion Print Paths to reach the end in a maze nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/59_Print_Paths_to_reach_the_end_in_a_maze.py
207 Recursion Maze with Obstacles https://leetcode.com/problems/unique-paths-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/60_Maze_with_Obstacles.py
208 Recursion Rat in a Maze include all path to reach the end https://practice.geeksforgeeks.org/problems/rat-in-a-maze-problem/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/61_Rat_in_a_Maze_include_all_path_to_reach_the_end.py
209 Recursion N QUEEN https://leetcode.com/problems/n-queens/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/62_N_QUEEN.py
210 Recursion N Knights https://practice.geeksforgeeks.org/problems/save-knights2718/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/63_N_Knights.py
211 Recursion Palindrome Partitioning https://leetcode.com/problems/palindrome-partitioning/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/64_Palindrome_Partitioning.py
212 Recursion Word Search https://leetcode.com/problems/word-search/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/65_Word_Search.py
213 Recursion Word Break https://leetcode.com/problems/word-break/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/66_Word_Break.py
214 Recursion M Coloring Problem https://practice.geeksforgeeks.org/problems/m-coloring-problem-1587115620/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/67_M_Coloring_Problem.py
215 Recursion Sudoku Solver https://leetcode.com/problems/sudoku-solver/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/68_Sudoku_Solver.py
216 Recursion Expresion Add Operators https://leetcode.com/problems/expression-add-operators/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/5_Recursion/69_Expresion_Add_Operators.py
217 Stack&Queues Implement Stack using Arrays nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/1_Implement_Stack_using_Arrays.py
218 Stack&Queues Implement Queue Using Array nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/2_Implement_Queue_Using_Array.py
219 Stack&Queues Implement Circular Queue using Array nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/3_Implement_Circular_Queue_using_Array.py
220 Stack&Queues Implement Stack using Queues https://leetcode.com/problems/implement-queue-using-stacks/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/4_Implement Stack using Queues.py
221 Stack&Queues Implement Queue using Stacks https://leetcode.com/problems/implement-queue-using-stacks/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/5_Implement_Queue_using_Stacks.py
222 Stack&Queues Implement Stack using linked list https://www.geeksforgeeks.org/problems/implement-stack-using-linked-list/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/6_Implement_Stack_using_linked_list.py
223 Stack&Queues Implement Queue using linked list https://www.geeksforgeeks.org/problems/implement-queue-using-linked-list/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/7_Implement_Queue_using_linked_list.py
224 Stack&Queues Min Stack https://leetcode.com/problems/min-stack/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/8_Min_Stack.py
225 Stack&Queues Check for balanced paranthesis https://leetcode.com/problems/valid-parentheses/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/9_Check for balanced paranthesis.py
226 Stack&Queues Next Greatest Element to Right https://www.geeksforgeeks.org/problems/next-larger-element-1587115620/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/11_Next_Greatest_Element_to_Right.py
227 Stack&Queues Next Greatest Element to Left nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/12_Next_Greatest_Element_to_Left.py
228 Stack&Queues Next Smaller Element to Right https://www.geeksforgeeks.org/problems/help-classmates--141631/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/13_Next_Smaller_Element_to_Right.py
229 Stack&Queues Next Smaller Element to Left https://www.geeksforgeeks.org/problems/smallest-number-on-left3403/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/6_Stack&Queues/14_Next_Smaller_Element_to_Left.py
230 Trees Preorder https://practice.geeksforgeeks.org/problems/preorder-traversal/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/1_Preorder.py
231 Trees Inorder https://practice.geeksforgeeks.org/problems/inorder-traversal/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/2_Inorder.py
232 Trees Post Order https://www.geeksforgeeks.org/problems/postorder-traversal/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/3_Post_Order.py
233 Trees All traversal in one pass nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/4_All_traversal_in_one_pass.py
234 Trees Max Depth in Binary Tree https://leetcode.com/problems/maximum-depth-of-binary-tree/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/5_Max_Depth_in_Binary_Tree.py
235 Trees Check 2 nodes siblings or not nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/6_Check_2_nodes_siblings_or_not.py
236 Trees Check 2 nodes cousins or not https://practice.geeksforgeeks.org/problems/check-if-two-nodes-are-cousins/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/7_Check_2_nodes_cousins_or_not.py
237 Trees Same tree https://leetcode.com/problems/same-tree/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/8_Same_tree.py
238 Trees Symmetric Tree https://leetcode.com/problems/symmetric-tree/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/9_Symmetric_Tree.py
239 Trees Balanced Binary Tree https://leetcode.com/problems/balanced-binary-tree/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/10_Balanced_Binary_Tree.py
240 Trees Path Sum https://leetcode.com/problems/path-sum Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/11_Path_Sum.py
241 Trees Sum Root to Leaf https://leetcode.com/problems/sum-root-to-leaf-numbers/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/12_Sum_Root_to_Leaf.py
242 Trees Diameter of Binary Tree https://leetcode.com/problems/diameter-of-binary-tree/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/13_Diameter_of_Binary_Tree.py
243 Trees Binary Tree max path sum https://leetcode.com/problems/binary-tree-maximum-path-sum/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/14_Binary_Tree_max_path_sum.py
244 Trees Print root to any node path nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/15_Print_root_to_any_node_path.py
245 Trees Print root to leaf all Paths https://www.geeksforgeeks.org/problems/root-to-leaf-paths/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/16_Print_root_to_leaf_all_Paths.py
246 Trees Path Exists from root to leaf nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/17_Path_Exists_from_root_to_leaf.py
247 Trees Print All Paths with required Sum nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/18_Print_All_Paths_with_required_Sum.py
248 Trees Binary Tree Level Order Traversal https://leetcode.com/problems/binary-tree-level-order-traversal/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/19_Binary_Tree_Level_Order_Traversal.py
249 Trees Binary Tree Level Order Traversal II https://leetcode.com/problems/binary-tree-level-order-traversal-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/20_Binary_Tree_Level_Order_Traversal_II.py
250 Trees Average of levels in a Binary Tree https://leetcode.com/problems/average-of-levels-in-binary-tree/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/21_Average_of_levels_in_a_Binary_Tree.py
251 Trees Level Order Succesor of node nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/22_Level_Order_Succesor_of_node.py
252 Trees Level Order Predecessor of node nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/23_Level_Order_Predecessor_of_node.py
253 Trees Zig Zag Traversal https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/24_Zig_Zag_Traversal.py
254 Trees Populating Next Right Pointers in Each Node https://leetcode.com/problems/populating-next-right-pointers-in-each-node/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/25_Populating_Next_Right_Pointers_in_Each_Node.py
255 Trees Boundary Traversal of a Binary Tree https://www.geeksforgeeks.org/problems/boundary-traversal-of-binary-tree/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/26_Boundary_Traversal_of_a_Binary_Tree.py
256 Trees Vertical Order Traversal of a Binary Tree https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/27_Vertical_Order_Traversal_of_a_Binary_Tree.py
257 Trees Top View of a Binary Tree https://www.geeksforgeeks.org/problems/top-view-of-binary-tree/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/28_Top_View_of_a_Binary_Tree.py
258 Trees Bottom View of a Binary Tree https://practice.geeksforgeeks.org/problems/bottom-view-of-binary-tree/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/29_Bottom_View_of_a_Binary_Tree.py
259 Trees Right View of a Binary Tree https://leetcode.com/problems/binary-tree-right-side-view/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/30_Right_View_of_a_Binary_Tree.py
260 Trees Left View of a Binary Tree https://practice.geeksforgeeks.org/problems/left-view-of-binary-tree/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/31_Left_View_of_a_Binary_Tree.py
261 Trees Count good nodes in Binary Tree https://leetcode.com/problems/count-good-nodes-in-binary-tree/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/32_Count_good_nodes_in_Binary_Tree.py
262 Trees LCA I https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/33_LCA_I.py
263 Trees LCA II https://practice.geeksforgeeks.org/problems/lowest-common-ancestor-in-a-binary-tree/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/34_LCA_II.py
264 Trees LCA III nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/35_LCA_III.py
265 Trees LCA IV nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/36_LCA_IV.py
266 Trees LCA of Deepes Leaves https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/37_LCA_of_Deepes_Leaves.py
267 Trees Max width of a Binary Tree https://leetcode.com/problems/maximum-width-of-binary-tree/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/38_Max_width_of_a_Binary_Tree.py
268 Trees All nodes at k distance https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/39_All_nodes_at_k_distance.py
269 Trees Time Taken to burn tree from any nodes https://practice.geeksforgeeks.org/problems/burning-tree/1 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/40_Time_Taken_to_burn_tree_from_any_nodes.py
270 Trees Construct Tree from preorder inorder https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/41_Construct_Tree_from_preorder_inorder.py
271 Trees Construct Tree from postorder inorder https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/42_Construct_Tree_from_postorder_inorder.py
272 Trees Serialize Deserialize Tree https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/43_Serialize_Deserialize_Tree.py
273 Trees Morris Traversal Inorder https://leetcode.com/problems/binary-tree-inorder-traversal/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/44_Morris_Traversal_Inorder.py
274 Trees Morris Traversal Preorder https://leetcode.com/problems/binary-tree-preorder-traversal/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/45_Morris_Traversal_Preorder.py
275 Trees Flatten Binary Tree to Linked List https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/46_Flatten_Binary_Tree_to_Linked_List.py
276 Trees Subtree of another tree https://leetcode.com/problems/subtree-of-another-tree/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/47_Subtree_of_another_tree.py
277 Trees Invert Binary Tree https://leetcode.com/problems/invert-binary-tree/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/48_Invert_Binary_Tree.py
278 Trees Search in BST https://leetcode.com/problems/search-in-a-binary-search-tree/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/49_Search_in_BST.py
279 Trees Ceil in BST https://www.geeksforgeeks.org/problems/implementing-ceil-in-bst/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/50_Ceil_in_BST.py
280 Trees Floor in BST https://practice.geeksforgeeks.org/problems/floor-in-bst/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/51_Floor_in_BST.py
281 Trees Insert a given node in A BST https://leetcode.com/problems/insert-into-a-binary-search-tree/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/52_Insert_a_given_node_in_A_BST.py
282 Trees Delete a given node in A BST https://leetcode.com/problems/delete-node-in-a-bst/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/53_Delete_a_given_node_in_A_BST.py
283 Trees Kth Smallest in BST https://leetcode.com/problems/kth-smallest-element-in-a-bst/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/54_Kth_Smallest_in_BST.py
284 Trees Kth Largest in BST https://www.geeksforgeeks.org/problems/kth-largest-element-in-bst/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/55_Kth_Largest_in_BST.py
285 Trees Validate BST https://leetcode.com/problems/validate-binary-search-tree/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/56_Validate_BST.py
286 Trees LCA in BST https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/57_LCA_in_BST.py
287 Trees Construct BST from preorder https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/58_Construct_BST_from_preorder.py
288 Trees Inorder Successor BST https://www.geeksforgeeks.org/problems/inorder-successor-in-bst/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/59_Inorder_Successor_BST.py
289 Trees Inorder Predecessor BST nan Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/60_Inorder_Predecessor_BST.py
290 Trees BST Iterator https://leetcode.com/problems/binary-search-tree-iterator/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/61_BST_Iterator.py
291 Trees Two Sum IV BST https://leetcode.com/problems/two-sum-iv-input-is-a-bst/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/62_Two_Sum_IV_BST.py
292 Trees Recover BST with 2 nodes swapped https://leetcode.com/problems/recover-binary-search-tree/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/63_Recover_BST_with_2_nodes_swapped.py
293 Trees Largest BST in Binary Tree https://www.geeksforgeeks.org/problems/largest-bst/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/64_Largest_BST_in_Binary_Tree.py
294 Trees Linked List in Binary Tree https://leetcode.com/problems/linked-list-in-binary-tree/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/7_Trees/65_Linked_List_in_Binary_Tree.py
295 Graphs DFS Graph https://practice.geeksforgeeks.org/problems/depth-first-traversal-for-a-graph/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/1_DFS_Graph.py
296 Graphs BFS Graph https://www.geeksforgeeks.org/problems/bfs-traversal-of-graph/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/2_BFS_Graph.py
297 Graphs Number of Provinces https://leetcode.com/problems/number-of-provinces/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/3_Number_of_Provinces.py
298 Graphs Number of Islands https://leetcode.com/problems/number-of-islands/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/4_Number_of_Islands.py
299 Graphs Flood Fill https://leetcode.com/problems/flood-fill/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/5_Flood_Fill.py
300 Graphs Rotten Oranges https://leetcode.com/problems/rotting-oranges/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/6_Rotten_Oranges.py
301 Graphs Detect Cycle in Undirected Graph BFS https://www.geeksforgeeks.org/problems/detect-cycle-in-an-undirected-graph/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/7_Detect_Cycle_in_Undirected_Graph_BFS.py
302 Graphs Detect Cycle in Udirected Graph DFS https://www.geeksforgeeks.org/problems/detect-cycle-in-an-undirected-graph/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/8_Detect_Cycle_in_Udirected_Graph.py_DFS.py
303 Graphs Distance of nearest cell having 1 https://leetcode.com/problems/01-matrix/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/9_Distance_of_nearest_cell_having_1.py
304 Graphs Surrounded Regions Replace Os with X https://leetcode.com/problems/surrounded-regions/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/10_Surrounded_Regions_Replace_Os_with_X.py
305 Graphs Number of Enclaves https://leetcode.com/problems/number-of-enclaves/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/11_Number_of_Enclaves.py
306 Graphs Number of Distinct Islands https://www.geeksforgeeks.org/problems/number-of-distinct-islands/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/12_Number_of_Distinct_Islands.py
307 Graphs Bipartite Graph DFS https://leetcode.com/problems/is-graph-bipartite/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/13_Bipartite_Graph_DFS.py
308 Graphs Bipartite graph BFS https://leetcode.com/problems/is-graph-bipartite/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/13_Bipartite_graph_BFS.py
309 Graphs Detect Cycle in directed graph https://www.geeksforgeeks.org/problems/detect-cycle-in-a-directed-graph/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/14_Detect_Cycle_in_directed_graph.py
310 Graphs Find Eventual Safe States DFS https://leetcode.com/problems/find-eventual-safe-states/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/15_Find_Eventual_Safe_States_DFS.py
311 Graphs Topological Sort DFS https://practice.geeksforgeeks.org/problems/topological-sort/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/16_Topological_Sort_DFS.py
312 Graphs Topological Sort BFS Kahns Algorithm https://practice.geeksforgeeks.org/problems/topological-sort/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/17_Topological_Sort_BFS_Kahns_Algorithm.py
313 Graphs Detect Cycle in Directed Graph Topo Sort https://www.geeksforgeeks.org/problems/detect-cycle-in-a-directed-graph/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/18_Detect_Cycle_in_Directed_Graph_Topo_Sort.py
314 Graphs Course Schedule I https://leetcode.com/problems/course-schedule/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/19_Course_Schedule_I.py
315 Graphs Course Schedule II https://leetcode.com/problems/course-schedule/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/20_Course_Schedule_II.py
316 Graphs Alien Dictionary https://www.geeksforgeeks.org/problems/alien-dictionary/1 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/21_Alien_Dictionary.py
317 Graphs Shortest Path in Directed Acyclic Graph https://practice.geeksforgeeks.org/problems/shortest-path-in-undirected-graph/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/22_Shortest_Path_in_Directed_Acyclic_Graph.py
318 Graphs Shortest Path in Undirected Graph unit distance https://practice.geeksforgeeks.org/problems/shortest-path-in-undirected-graph-having-unit-distance/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/23_Shortest_Path_in_Undirected_Graph_unit_distance.py
319 Graphs Word Ladder I https://leetcode.com/problems/word-ladder/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/24_Word_Ladder_I.py
320 Graphs Word Ladder II https://leetcode.com/problems/word-ladder-ii/description/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/25_Word_Ladder_II.py
321 Graphs Dijkstras Algorithm Min Heap Priority Queue https://practice.geeksforgeeks.org/problems/implementing-dijkstra-set-1-adjacency-matrix/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/26_Dijkstras_Algorithm_Min_Heap_Priority_Queue.py
322 Graphs Dijkstras Algorithm Sets https://practice.geeksforgeeks.org/problems/implementing-dijkstra-set-1-adjacency-matrix/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/27_Dijkstras_Algorithm_Sets.py
323 Graphs Print Shortest Path nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/28_Print_Shortest_Path.py
324 Graphs Shortest Path in Binary Matrix https://leetcode.com/problems/shortest-path-in-binary-matrix/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/29_Shortest_Path_in_Binary_Matrix.py
325 Graphs Path with min effort https://leetcode.com/problems/path-with-minimum-effort/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/30_Path_with_min_effort.py
326 Graphs Cheapest Flights with K Stops https://leetcode.com/problems/cheapest-flights-within-k-stops/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/31_Cheapest_Flights_with_K_Stops.py
327 Graphs Minimum Multiplication to reach end https://leetcode.com/problems/cheapest-flights-within-k-stops/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/32_Minimum_Multiplication_to_reach_end.py
328 Graphs Number of ways to Arrive at Destination https://leetcode.com/problems/cheapest-flights-within-k-stops/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/33_Number_of_ways_to_Arrive_at_Destination.py
329 Graphs Bellman Ford Algorithm https://practice.geeksforgeeks.org/problems/distance-from-the-source-bellman-ford-algorithm/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/34_Bellman_Ford_Algorithm.py
330 Graphs Floyd Warshall Algorithm https://practice.geeksforgeeks.org/problems/implementing-floyd-warshall2042/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/35_Floyd_Warshall_Algorithm.py
331 Graphs Cities with Smallest Number of Neighbours at a threshold distance https://practice.geeksforgeeks.org/problems/city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/36_Cities_with_Smallest_Number_of_Neighbours_at_a_threshold_distance.py
332 Graphs Prims MST https://practice.geeksforgeeks.org/problems/minimum-spanning-tree/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/37_Prims_MST.py
333 Graphs Disjoint Set Union By Rank Union By Size Path Compression nan Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/38_Disjoint_Set_Union_By_Rank_Union_By_Size_Path_Compression.py
334 Graphs Kruskal MST https://practice.geeksforgeeks.org/problems/minimum-spanning-tree/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/39_Kruskal_MST.py
335 Graphs Number of Provinces https://practice.geeksforgeeks.org/problems/number-of-provinces/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/40_Number_of_Provinces.py
336 Graphs Accounts Merge https://leetcode.com/problems/accounts-merge/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/41_Accounts_Merge.py
337 Graphs Number of Islands II https://practice.geeksforgeeks.org/problems/number-of-islands/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/42_Number_of_Islands_II.py
338 Graphs Making a Large Island https://leetcode.com/problems/making-a-large-island/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/43_Making_a_Large_Island.py
339 Graphs Most Stones Removed with same row or column https://leetcode.com/problems/most-stones-removed-with-same-row-or-column/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/44_Most_Stones_Removed_with_same_row_or_column.py
340 Graphs Strongly Connected Components Kosarajus Algorithm https://practice.geeksforgeeks.org/problems/strongly-connected-components-kosarajus-algo/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/45_Strongly_Connected_Components_Kosarajus_Algorithm.py
341 Graphs Bridges in Graph https://leetcode.com/problems/critical-connections-in-a-network/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/50_Bridges_in_Graph.py
342 Graphs Articulation Point in Graph https://practice.geeksforgeeks.org/problems/articulation-point-1/1 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/8_Graphs/51_Articulation_Point_in_Graph.py
343 DynamicProgramming Fibonacci https://leetcode.com/problems/fibonacci-number/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/1_Fibonacci.py
344 DynamicProgramming Climbing Stairs https://leetcode.com/problems/climbing-stairs/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/2_Climbing_Stairs.py
345 DynamicProgramming Geek Jump https://www.geeksforgeeks.org/problems/geek-jump/1 Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/3_Geek_Jump.py
346 DynamicProgramming House Robber https://leetcode.com/problems/house-robber/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/4_House_Robber.py
347 DynamicProgramming House Robber II https://leetcode.com/problems/house-robber-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/5_House_Robber_II.py
348 DynamicProgramming Geeks Training https://www.geeksforgeeks.org/problems/geeks-training/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/6_Geeks_Training.py
349 DynamicProgramming Unique Paths https://leetcode.com/problems/unique-paths/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/7_Unique_Paths.py
350 DynamicProgramming Unique Paths II https://leetcode.com/problems/unique-paths-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/8_Unique_Paths_II.py
351 DynamicProgramming Minimum Path Sum in grid https://leetcode.com/problems/minimum-path-sum/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/9_Minimum_Path_Sum_in_grid.py
352 DynamicProgramming Triangle Grid Min Path Sum https://leetcode.com/problems/triangle/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/10_Triangle_Grid_Min_Path_Sum.py
353 DynamicProgramming Minimum Falling Path Sum https://leetcode.com/problems/minimum-falling-path-sum/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/11_Minimum_Falling_Path_Sum.py
354 DynamicProgramming Cherry Pickup I https://leetcode.com/problems/cherry-pickup/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/12_Cherry_Pickup_I.py
355 DynamicProgramming Cherry Pickup II https://leetcode.com/problems/cherry-pickup-ii/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/13_Cherry_Pickup_II.py
356 DynamicProgramming 0 1 Knapsack https://www.geeksforgeeks.org/problems/0-1-knapsack-problem0945/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/15_0_1_Knapsack.py
357 DynamicProgramming Target Sum with Symbols + - https://leetcode.com/problems/target-sum/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/16_Target_Sum_with_Symbols_+_-.py
358 DynamicProgramming Target Sum Equals to Target https://www.geeksforgeeks.org/problems/subset-sum-problem-1611555638/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/17_Target_Sum_Equals_to_Target.py
359 DynamicProgramming Equal Sum Partition Problem https://leetcode.com/problems/partition-equal-subset-sum/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/18_Equal_Sum_Partition_Problem.py
360 DynamicProgramming Minimum Sum Partition https://www.geeksforgeeks.org/problems/minimum-sum-partition3317/1 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/19_Minimum_Sum_Partition.py
361 DynamicProgramming Count Subsets with given difference https://www.geeksforgeeks.org/problems/partitions-with-given-difference/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/20_Count_Subsets_with_given_difference.py
362 DynamicProgramming Unbound Knapsack https://www.geeksforgeeks.org/problems/knapsack-with-duplicate-items4201/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/21_Unbound_Knapsack.py
363 DynamicProgramming Rod Cutting https://www.geeksforgeeks.org/problems/rod-cutting0840/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/22_Rod_Cutting.py
364 DynamicProgramming Coin Change I https://leetcode.com/problems/coin-change/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/23_Coin_Change_I.py
365 DynamicProgramming Coin Change II https://leetcode.com/problems/coin-change-ii/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/24_Coin_Change_II.py
366 DynamicProgramming Longest Common Subsequence https://leetcode.com/problems/longest-common-subsequence/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/25_Longest_Common_Subsequence.py
367 DynamicProgramming Print All LCS https://www.geeksforgeeks.org/problems/print-all-lcs-sequences3413/1 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/26_Print_All_LCS.py
368 DynamicProgramming Longest Common Substring https://www.geeksforgeeks.org/problems/longest-common-substring1452/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/27_Longest_Common_Substring.py
369 DynamicProgramming Maximum Length of Repeated Subarray https://leetcode.com/problems/maximum-length-of-repeated-subarray/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/28_Maximum_Length_of_Repeated_Subarray.py
370 DynamicProgramming Longest Palindromic Subsequence https://leetcode.com/problems/longest-palindromic-subsequence/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/29_Longest_Palindromic_Subsequence.py
371 DynamicProgramming Minimum Insertions to make string palindrome https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/30_Minimum_Insertions_to_make_string_palindrome.py
372 DynamicProgramming Minimun Insertions Deletions to Convert String A to String B https://www.geeksforgeeks.org/problems/minimum-number-of-deletions-and-insertions0209/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/31_Minimun_Insertions_Deletions_to_Convert_String_A_to_String_B.py
373 DynamicProgramming Length of Shortest Common Supersequence https://www.geeksforgeeks.org/problems/shortest-common-supersequence0322/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/32_Length_of_Shortest_Common_Supersequence.py
374 DynamicProgramming Print Shortest Common Supersequence https://leetcode.com/problems/shortest-common-supersequence/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/33_Print_Shortest_Common_Supersequence.py
375 DynamicProgramming Longest Palindromic Substring https://leetcode.com/problems/longest-palindromic-substring/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/34_Longest_Palindromic_Substring.py
376 DynamicProgramming Distinct Subsequences https://leetcode.com/problems/distinct-subsequences/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/35_Distinct_Subsequences.py
377 DynamicProgramming Wildcard Matching https://leetcode.com/problems/wildcard-matching/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/36_Wildcard_Matching.py
378 DynamicProgramming Regular Expression https://leetcode.com/problems/regular-expression-matching/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/37_Regular_Expression.py
379 DynamicProgramming Edit Distance https://leetcode.com/problems/edit-distance/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/38_Edit_Distance.py
380 DynamicProgramming Best Time to Buy and Sell Stock 1 Transaction https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ Easy https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/39_Best_Time_to_Buy_and_Sell_Stock_1_Transaction.py.py
381 DynamicProgramming Best Time to Buy and Sell Stock II Unlimited Transaction https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/description/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/40_Best_Time_to_Buy_and_Sell_Stock II_Unlimited_Transaction.py
382 DynamicProgramming Best Time to Buy and Sell Stock III 2 Transactions https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/41_Best_Time_to_Buy_and_Sell_Stock_III_2_Transactions.py
383 DynamicProgramming Best Time to Buy and Sell Stock IV k Transactions https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/42_Best_Time_to_Buy_and_Sell_Stock_IV_k_Transactions.py
384 DynamicProgramming Best Time To Buy and Sell Stock with Cooldown https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/ Mediun https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/43_Best_Time_To_Buy_and_Sell_Stock_with_Cooldown.py
385 DynamicProgramming Best Time to Buy and Sell Stock with Transaction Fee https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/44_Best_Time_to_Buy_and_Sell_Stock_with_Transaction_Fee.py
386 DynamicProgramming Maximum Alternating Subsequence Sum https://leetcode.com/problems/maximum-alternating-subsequence-sum/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/45_Maximum Alternating Subsequence Sum.py
387 DynamicProgramming Longest Increasing Subsequence https://leetcode.com/problems/longest-increasing-subsequence/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/46_Longest_Increasing_Subsequence.py
388 DynamicProgramming Maximum Length of Pair Chain https://leetcode.com/problems/maximum-length-of-pair-chain/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/47_Maximum_Length_of_Pair_Chain.py
389 DynamicProgramming Longest String Chain https://leetcode.com/problems/longest-string-chain/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/48_Longest_String_Chain.py
390 DynamicProgramming Longest Increasing Path in a Matrix https://leetcode.com/problems/longest-increasing-path-in-a-matrix/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/49_Longest_Increasing_Path_in_a_Matrix.py
391 DynamicProgramming Print LIS https://www.geeksforgeeks.org/problems/printing-longest-increasing-subsequence/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/50_Print_LIS.py
392 DynamicProgramming Largest Divisible Subset https://leetcode.com/problems/largest-divisible-subset/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/51_Largest_Divisible_Subset.py
393 DynamicProgramming Longest Bitonic Subsequences https://www.geeksforgeeks.org/problems/longest-bitonic-subsequence0824/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/52_Longest_Bitonic_Subsequences.py
394 DynamicProgramming Matrix Chain Multiplication https://www.geeksforgeeks.org/problems/matrix-chain-multiplication0303/1 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/53_Matrix_Chain_Multiplication.py
395 DynamicProgramming Palindrome Partitioning II https://leetcode.com/problems/palindrome-partitioning-ii/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/54_Palindrome_Partitioning_II.py
396 DynamicProgramming Partition Array for Maximum Sum https://leetcode.com/problems/partition-array-for-maximum-sum/ Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/55_Partition_Array_for_Maximum_Sum.py
397 DynamicProgramming Evaluate Expression to True Boolean Parenthesization https://www.geeksforgeeks.org/problems/boolean-parenthesization5610/1 Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/56_Evaluate_Expression_to_True_Boolean_Parenthesization.py
398 DynamicProgramming Scrambled String https://leetcode.com/problems/scramble-string/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/57_Scrambled_String.py
399 DynamicProgramming Egg Dropping https://www.geeksforgeeks.org/problems/egg-dropping-puzzle-1587115620/1 Medium https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/58_Egg_Dropping.py
400 DynamicProgramming Minimum cost to cut stick https://leetcode.com/problems/minimum-cost-to-cut-a-stick/description/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/59_Minimum_cost_to_cut_stick.py
401 DynamicProgramming Burst Ballons https://leetcode.com/problems/burst-balloons/description/ Hard https://raw.githubusercontent.com/glowfi/DS/main/Programs/9_DynamicProgramming/60_Burst_Ballons.py