Skip to content

✨ My daily problem-solving journey covering DSA and coding questions from PrepInsta, LeetCode, GFG and other sources πŸš€πŸš€

Notifications You must be signed in to change notification settings

vijayvaddi11/Daily-Coding-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Daily Coding Practice 🧠

Welcome to my daily coding practice repo!

Here, I solve basic to advanced coding problems from various sources like PrepInsta, LeetCode, GeeksforGeeks, etc.

I solve interesting problems regularly to improve my skills in:

  • Problem Solving
  • Data Structures and Algorithms (DSA)
  • Coding for Interviews
  • Logical Thinking

Structure

  • Each Day-X folder contains 1 or more problems solved on that day.
  • Files are named as Q1, Q2, ... based on the number of questions solved.

πŸ“š What you will find here

  • βœ… Daily coding questions
  • βœ… PrepInsta / LeetCode / GFG / Practice sets
  • βœ… Clean and optimized Python solutions
  • βœ… Simple code explanations

My Goal

To build consistency and strong problem-solving skills! πŸš€. "Consistency is the key to mastery. Solving problems daily to strengthen my DSA skills and get better every day."

LeetCode Topics

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0053-maximum-subarray
0074-search-a-2d-matrix
0075-sort-colors
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0121-best-time-to-buy-and-sell-stock
0136-single-number
0167-two-sum-ii-input-array-is-sorted
0215-kth-largest-element-in-an-array
0349-intersection-of-two-arrays
0792-binary-search
0882-peak-index-in-a-mountain-array
0941-sort-array-by-parity
0948-sort-an-array
1482-how-many-numbers-are-smaller-than-the-current-number
1580-shuffle-the-array
1603-running-sum-of-1d-array
1791-richest-customer-wealth

Dynamic Programming

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

Two Pointers

0019-remove-nth-node-from-end-of-list
0026-remove-duplicates-from-sorted-array
0061-rotate-list
0075-sort-colors
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0125-valid-palindrome
0142-linked-list-cycle-ii
0143-reorder-list
0151-reverse-words-in-a-string
0160-intersection-of-two-linked-lists
0167-two-sum-ii-input-array-is-sorted
0234-palindrome-linked-list
0344-reverse-string
0349-intersection-of-two-arrays
0874-backspace-string-compare
0908-middle-of-the-linked-list
0941-sort-array-by-parity

String

0020-valid-parentheses
0058-length-of-last-word
0125-valid-palindrome
0151-reverse-words-in-a-string
0344-reverse-string
0387-first-unique-character-in-a-string
0412-fizz-buzz
0874-backspace-string-compare

Math

0002-add-two-numbers
0009-palindrome-number
0069-sqrtx
0231-power-of-two
0326-power-of-three
0412-fizz-buzz
1013-fibonacci-number
1406-subtract-the-product-and-sum-of-digits-of-an-integer
1630-count-odd-numbers-in-an-interval-range
2608-count-the-digits-that-divide-a-number

Recursion

0002-add-two-numbers
0021-merge-two-sorted-lists
0143-reorder-list
0206-reverse-linked-list
0231-power-of-two
0234-palindrome-linked-list
0326-power-of-three
1013-fibonacci-number

Memoization

1013-fibonacci-number

Simulation

0412-fizz-buzz
0874-backspace-string-compare

Hash Table

0001-two-sum
0142-linked-list-cycle-ii
0160-intersection-of-two-linked-lists
0349-intersection-of-two-arrays
0387-first-unique-character-in-a-string
1482-how-many-numbers-are-smaller-than-the-current-number

Sorting

0075-sort-colors
0088-merge-sorted-array
0215-kth-largest-element-in-an-array
0349-intersection-of-two-arrays
0941-sort-array-by-parity
0948-sort-an-array
1482-how-many-numbers-are-smaller-than-the-current-number

Counting Sort

0387-first-unique-character-in-a-string
0948-sort-an-array
1482-how-many-numbers-are-smaller-than-the-current-number

Bit Manipulation

0136-single-number
0231-power-of-two

Prefix Sum

1603-running-sum-of-1d-array

Divide and Conquer

0053-maximum-subarray
0215-kth-largest-element-in-an-array
0948-sort-an-array

Matrix

0074-search-a-2d-matrix
1791-richest-customer-wealth

Binary Search

0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0069-sqrtx
0074-search-a-2d-matrix
0167-two-sum-ii-input-array-is-sorted
0349-intersection-of-two-arrays
0792-binary-search
0882-peak-index-in-a-mountain-array

Queue

0225-implement-stack-using-queues
0232-implement-queue-using-stacks
0387-first-unique-character-in-a-string

Heap (Priority Queue)

0215-kth-largest-element-in-an-array
0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Linked List

0002-add-two-numbers
0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0061-rotate-list
0083-remove-duplicates-from-sorted-list
0142-linked-list-cycle-ii
0143-reorder-list
0160-intersection-of-two-linked-lists
0206-reverse-linked-list
0234-palindrome-linked-list
0237-delete-node-in-a-linked-list
0328-odd-even-linked-list
0908-middle-of-the-linked-list

Stack

0020-valid-parentheses
0143-reorder-list
0144-binary-tree-preorder-traversal
0225-implement-stack-using-queues
0232-implement-queue-using-stacks
0234-palindrome-linked-list
0874-backspace-string-compare

Design

0225-implement-stack-using-queues
0232-implement-queue-using-stacks

Tree

0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0107-binary-tree-level-order-traversal-ii
0144-binary-tree-preorder-traversal
0199-binary-tree-right-side-view
0637-average-of-levels-in-binary-tree
0783-search-in-a-binary-search-tree
0784-insert-into-a-binary-search-tree

Depth-First Search

0104-maximum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0199-binary-tree-right-side-view
0637-average-of-levels-in-binary-tree

Binary Tree

0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0107-binary-tree-level-order-traversal-ii
0144-binary-tree-preorder-traversal
0199-binary-tree-right-side-view
0637-average-of-levels-in-binary-tree
0783-search-in-a-binary-search-tree
0784-insert-into-a-binary-search-tree

Breadth-First Search

0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0107-binary-tree-level-order-traversal-ii
0199-binary-tree-right-side-view
0637-average-of-levels-in-binary-tree

Binary Search Tree

0783-search-in-a-binary-search-tree
0784-insert-into-a-binary-search-tree

Quickselect

0215-kth-largest-element-in-an-array

About

✨ My daily problem-solving journey covering DSA and coding questions from PrepInsta, LeetCode, GFG and other sources πŸš€πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages