Skip to content

A collection of my solutions to daily LeetCode problems.This repository contains my journey of solving algorithm and data structure challenges to improve my problem-solving skills and prepare for technical interviews. The solutions are organized by difficulty level, with clear explanations and optimized code.

Notifications You must be signed in to change notification settings

abdullahxyz85/Daily_Leetcoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode Stats

LeetCode Stats

Daily_LeetCoding

Welcome to the Daily_LeetCoding repository! This repository is dedicated to documenting my journey of solving LeetCode problems on a daily basis. By consistently tackling these coding challenges, I aim to improve my problem-solving skills, algorithmic thinking, and coding proficiency.

About

This repository contains solutions to various LeetCode problems categorized by their respective difficulty levels (Easy, Medium, Hard). Each problem solution is accompanied by a detailed explanation of the approach taken and the reasoning behind it. Additionally, you will find code implementations in popular programming languages such as Python, Java, and C++.

Why Daily_LeetCoding?

  • Skill Enhancement: Regular practice of problem-solving enhances algorithmic thinking and coding skills.
  • Learning Experience: Explaining solutions helps in better understanding of concepts and techniques.
  • Consistency: Daily practice builds momentum and consistency, leading to better long-term results.
  • Community Engagement: Sharing solutions and insights fosters collaboration and learning within the programming community.

Getting Started

To get started with Daily_Leetcoding, follow these steps:

  1. Clone the repository to your local machine:
    git clone https://github.com/SaifRasool92/Daily-Leetcoding.git

LeetSync Integration

This repository is authorized with LeetCode using LeetSync. LeetSync automatically synchronizes your LeetCode submissions with this repository, ensuring that your progress is accurately reflected here.

Contribution Guidelines

Contributions to Daily_Leetcoding are welcome! If you have a solution to a LeetCode problem that is not already included in this repository, or if you have suggestions for improving existing solutions, feel free to open a pull request. Please adhere to the following guidelines:

  • Ensure that your code is well-documented and follows best practices.
  • Provide a clear explanation of the solution approach.
  • Use descriptive commit messages and follow the existing directory structure.

LeetCode Topics

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0121-best-time-to-buy-and-sell-stock
0137-single-number-ii
0219-contains-duplicate-ii
0228-summary-ranges
0525-contiguous-array
0643-maximum-average-subarray-i
0717-1-bit-and-2-bit-characters
0824-number-of-lines-to-write-string
0841-shortest-distance-to-a-character
0861-flipping-an-image
1001-n-repeated-element-in-size-2n-array
1217-relative-sort-array
1231-replace-elements-with-greatest-element-on-right-side
1306-minimum-absolute-difference
1510-find-lucky-integer-in-an-array
1626-can-make-arithmetic-progression-from-sequence
1730-special-array-with-x-elements-greater-than-or-equal-x
1769-get-maximum-in-generated-array
1839-decode-xored-array
2042-maximum-product-difference-between-two-pairs
2737-row-with-maximum-ones
3799-unique-3-digit-even-numbers
3914-check-if-any-element-has-prime-frequency
3952-trionic-array-i

Hash Table

0001-two-sum
0219-contains-duplicate-ii
0525-contiguous-array
0782-jewels-and-stones
0889-buddy-strings
0920-uncommon-words-from-two-sentences
1001-n-repeated-element-in-size-2n-array
1217-relative-sort-array
1510-find-lucky-integer-in-an-array
2532-remove-letter-to-equalize-frequency
3799-unique-3-digit-even-numbers
3914-check-if-any-element-has-prime-frequency

Sorting

1217-relative-sort-array
1306-minimum-absolute-difference
1626-can-make-arithmetic-progression-from-sequence
1730-special-array-with-x-elements-greater-than-or-equal-x
2042-maximum-product-difference-between-two-pairs

Counting Sort

0920-uncommon-words-from-two-sentences
1217-relative-sort-array
1510-find-lucky-integer-in-an-array
2532-remove-letter-to-equalize-frequency
3914-check-if-any-element-has-prime-frequency

Linked List

0021-merge-two-sorted-lists
0083-remove-duplicates-from-sorted-list

Recursion

0021-merge-two-sorted-lists
1013-fibonacci-number
3799-unique-3-digit-even-numbers

Bit Manipulation

0137-single-number-ii
0861-flipping-an-image
1610-xor-operation-in-an-array
1839-decode-xored-array

Two Pointers

0026-remove-duplicates-from-sorted-array
0557-reverse-words-in-a-string-iii
0841-shortest-distance-to-a-character
0861-flipping-an-image

Matrix

0861-flipping-an-image
2737-row-with-maximum-ones

Simulation

0861-flipping-an-image
1769-get-maximum-in-generated-array

Math

1013-fibonacci-number
1440-convert-integer-to-the-sum-of-two-no-zero-integers
1610-xor-operation-in-an-array
1630-count-odd-numbers-in-an-interval-range
1965-sum-of-digits-in-base-k
2083-three-divisors
2507-number-of-common-factors
2812-find-the-maximum-achievable-number
3914-check-if-any-element-has-prime-frequency

Sliding Window

0219-contains-duplicate-ii
0643-maximum-average-subarray-i

Enumeration

2083-three-divisors
2507-number-of-common-factors
3799-unique-3-digit-even-numbers

Number Theory

2083-three-divisors
2507-number-of-common-factors
3914-check-if-any-element-has-prime-frequency

Prefix Sum

0525-contiguous-array

String

0521-longest-uncommon-subsequence-i
0551-student-attendance-record-i
0557-reverse-words-in-a-string-iii
0782-jewels-and-stones
0824-number-of-lines-to-write-string
0841-shortest-distance-to-a-character
0889-buddy-strings
0920-uncommon-words-from-two-sentences
1660-thousand-separator
1858-latest-time-by-replacing-hidden-digits
2532-remove-letter-to-equalize-frequency

Tree

0783-search-in-a-binary-search-tree

Binary Search Tree

0374-guess-number-higher-or-lower
0783-search-in-a-binary-search-tree
1730-special-array-with-x-elements-greater-than-or-equal-x

Binary Tree

0783-search-in-a-binary-search-tree

Interactive

0374-guess-number-higher-or-lower

Depth-First Search

0207-course-schedule

Breadth-First Search

0207-course-schedule

Graph

0207-course-schedule

Topological Sort

0207-course-schedule

Greedy

1858-latest-time-by-replacing-hidden-digits

Dynamic Programming

0121-best-time-to-buy-and-sell-stock
1013-fibonacci-number

Memoization

1013-fibonacci-number

About

A collection of my solutions to daily LeetCode problems.This repository contains my journey of solving algorithm and data structure challenges to improve my problem-solving skills and prepare for technical interviews. The solutions are organized by difficulty level, with clear explanations and optimized code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published