Skip to content

This repository contains my solutions to various coding problems from LeetCode. It's part of my effort to improve problem-solving skills, strengthen my grasp of data structures and algorithms, and prepare for technical interviews.

Notifications You must be signed in to change notification settings

choppanitheesh/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Topics

Array

0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0054-spiral-matrix
0075-sort-colors
0153-find-minimum-in-rotated-sorted-array
0566-reshape-the-matrix
0777-toeplitz-matrix
0861-flipping-an-image
0898-transpose-matrix
1249-snapshot-array
1378-cells-with-odd-values-in-a-matrix
1476-count-negative-numbers-in-a-sorted-matrix
1677-matrix-diagonal-sum
1802-number-of-students-unable-to-eat-lunch
2144-maximum-difference-between-increasing-elements
3321-type-of-triangle
3639-zero-array-transformation-i
3747-maximum-difference-between-adjacent-elements-in-a-circular-array

Matrix

0054-spiral-matrix
0566-reshape-the-matrix
0777-toeplitz-matrix
0861-flipping-an-image
0898-transpose-matrix
1476-count-negative-numbers-in-a-sorted-matrix
1677-matrix-diagonal-sum

Simulation

0054-spiral-matrix
0566-reshape-the-matrix
0861-flipping-an-image
0898-transpose-matrix
1378-cells-with-odd-values-in-a-matrix
1802-number-of-students-unable-to-eat-lunch

Binary Search

0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0153-find-minimum-in-rotated-sorted-array
1249-snapshot-array
1476-count-negative-numbers-in-a-sorted-matrix

Math

0050-powx-n
1378-cells-with-odd-values-in-a-matrix
1529-max-difference-you-can-get-from-changing-an-integer
3172-divisible-and-non-divisible-sums-difference
3321-type-of-triangle

Two Pointers

0019-remove-nth-node-from-end-of-list
0075-sort-colors
0141-linked-list-cycle
0148-sort-list
0234-palindrome-linked-list
0861-flipping-an-image

Sorting

0075-sort-colors
0148-sort-list
3321-type-of-triangle
3360-minimum-deletions-to-make-string-k-special

Bit Manipulation

0861-flipping-an-image

Prefix Sum

3639-zero-array-transformation-i

Recursion

0050-powx-n
0203-remove-linked-list-elements
0206-reverse-linked-list
0234-palindrome-linked-list

Linked List

0019-remove-nth-node-from-end-of-list
0141-linked-list-cycle
0148-sort-list
0203-remove-linked-list-elements
0206-reverse-linked-list
0234-palindrome-linked-list
0237-delete-node-in-a-linked-list

Hash Table

0141-linked-list-cycle
1249-snapshot-array
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3360-minimum-deletions-to-make-string-k-special

Stack

0094-binary-tree-inorder-traversal
0234-palindrome-linked-list
1802-number-of-students-unable-to-eat-lunch
2520-using-a-robot-to-print-the-lexicographically-smallest-string

Divide and Conquer

0148-sort-list

Merge Sort

0148-sort-list

String

0649-dota2-senate
1058-lexicographically-smallest-equivalent-string
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3360-minimum-deletions-to-make-string-k-special

Union Find

1058-lexicographically-smallest-equivalent-string

Greedy

0649-dota2-senate
1529-max-difference-you-can-get-from-changing-an-integer
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3360-minimum-deletions-to-make-string-k-special

Queue

0649-dota2-senate
1802-number-of-students-unable-to-eat-lunch

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0226-invert-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0226-invert-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree

Binary Search Tree

0235-lowest-common-ancestor-of-a-binary-search-tree

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0226-invert-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree

Breadth-First Search

0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0226-invert-binary-tree

Counting

3360-minimum-deletions-to-make-string-k-special

Design

1249-snapshot-array

About

This repository contains my solutions to various coding problems from LeetCode. It's part of my effort to improve problem-solving skills, strengthen my grasp of data structures and algorithms, and prepare for technical interviews.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published