Skip to content

Repository files navigation

DSA Practice

This repository contains my data structures and algorithms practice solutions, organized by topic and practice set.

Structure

  • DSA quest/
    • Array I/
    • Array II/
    • Stack /
  • arrays/
  • binary-search/
  • binary-trees/
  • dp/
  • strings/

Solved Problems

Arrays

  • lc_46_permutations.py - LeetCode 46, Permutations
  • lc_78_subsets.py - LeetCode 78, Subsets
  • lc_1291_sequential_digits.py - LeetCode 1291, Sequential Digits
  • lc_1331_rank_transform_of_an_array.py - LeetCode 1331, Rank Transform of an Array
  • lc_1979_greatest_common_divisor_of_array.py - LeetCode 1979, Find Greatest Common Divisor of Array
  • lc_2069_walking_robot_simulation_II.py - LeetCode 2069, Walking Robot Simulation II
  • lc_2574_left_and_right_sum_differences.py - LeetCode 2574, Left and Right Sum Differences
  • lc_3689_maximum_total_subarray_value_I.py - LeetCode 3689, Maximum Total Subarray Value I

Binary Search

  • lc_154_rotated_sorted_arrayII.py - LeetCode 154, Find Minimum in Rotated Sorted Array II

Binary Trees

  • lc_2196_create_binary_trees_from_description.py - LeetCode 2196, Create Binary Tree From Descriptions

Strings

  • lc_3751_total_waviness_of_numbers_in_range_I.py - LeetCode 3751, Total Waviness of Numbers in Range I
  • lc_3612_process_string_with_special_operations.py - LeetCode 3612, Process String with Special Operations I

Other LeetCode

  • lc_1288_remove_covered_intervals.py - LeetCode 1288, Remove Covered Intervals
  • lc_3336_subsequences_with_equal_gcd.py - LeetCode 3336, Find the Number of Subsequences With Equal GCD
  • lc_3754_concatenate_non_zero_digits_and_multiply_by_sum_I.py - LeetCode 3754, Concatenate Non-Zero Digits and Multiply by Sum I
  • lc_3756_concatenate_non_zero_digits_and_multiply_by_sum_II.py - LeetCode 3756, Concatenate Non-Zero Digits and Multiply by Sum II

DSA Quest

  • Array I/ - Practice questions Q1 to Q3
  • Array II/ - Practice questions Q1 to Q3
  • Stack / - Practice questions Q1 to Q2

Notes

  • Filenames follow the pattern lc_<problem_number>_<problem_name>.py
  • LeetCode solutions are grouped by primary topic for easier review
  • DSA quest/ contains numbered practice-set solutions

About

A topic-wise collection of my Data Structures and Algorithms practice solutions. Includes clean Python solutions for LeetCode-style problems, organized for quick revision and tracking progress.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages