diff --git a/.gitignore b/.gitignore index 06f4ff9..6a97041 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # Created by https://www.toptal.com/developers/gitignore/api/node,java,python,c++ # Edit at https://www.toptal.com/developers/gitignore?templates=node,java,python,c++ .cursor* +*src/notes* +./src/notes/ *sync_leetcode.sh ### C++ ### # Prerequisites diff --git a/src/exercises/1.two-sum.py b/src/exercises/1.two-sum.py index 1024979..e98ae1c 100644 --- a/src/exercises/1.two-sum.py +++ b/src/exercises/1.two-sum.py @@ -1,6 +1,6 @@ from string import * from re import * -from datetime import * +erom datetime import * from collections import * from heapq import * from bisect import * @@ -50,6 +50,8 @@ class Solution: if complement in hash_map: return [i, hash_map[complement]] hash_map[nums[i]] = i + + return arr diff --git a/src/exercises/141.linked-list-cycle.py b/src/exercises/141.linked-list-cycle.py index 442ef85..43594a3 100644 --- a/src/exercises/141.linked-list-cycle.py +++ b/src/exercises/141.linked-list-cycle.py @@ -44,5 +44,14 @@ from typing import * class Solution: def hasCycle(self, head: Optional[ListNode]) -> bool: + m, n = head, head + while n and n.next: + m = m.next + n = n.next.next + if m == n: + return True + return False + + -# @leet end \ No newline at end of file +# @leet end diff --git a/src/exercises/2.add-two-numbers.py b/src/exercises/2.add-two-numbers.py index 922aded..3442a7b 100644 --- a/src/exercises/2.add-two-numbers.py +++ b/src/exercises/2.add-two-numbers.py @@ -41,18 +41,16 @@ from typing import * # self.val = val # self.next = next class Solution: - def node(self, val, next=None): + def node(self, val, next = None): self.val = val self.next = next - def addTwoNumbers( - self, l1: Optional[ListNode], l2: Optional[ListNode] - ) -> Optional[ListNode]: + def addTwoNumbers(self, l1: Optional[ListNode], l2: Optional[ListNode]) -> Optional[ListNode]: carry = 0 value_l1 = l1 value_l2 = l2 head = None - tail = None + tail = None while value_l1 or value_l2: l2_val = l2.val if l2 else 0 l1_val = l1.val if l1 else 0 @@ -80,6 +78,4 @@ class Solution: tail = new_node return head - - # @leet end diff --git a/src/exercises/3.longest-substring-without-repeating-characters.py b/src/exercises/3.longest-substring-without-repeating-characters.py index 0e1a933..b548def 100644 --- a/src/exercises/3.longest-substring-without-repeating-characters.py +++ b/src/exercises/3.longest-substring-without-repeating-characters.py @@ -43,16 +43,12 @@ class Solution: while j < len(s): if s[j] not in window: window[s[j]] = 1 - max_char = ( - len(window.keys()) if max_char < len(window.keys()) else max_char - ) + max_char = len(window.keys()) if max_char < len(window.keys()) else max_char j += 1 elif s[j] in window: del window[s[i]] i += 1 - + return max_char - - # @leet end diff --git a/src/exercises/4.median-of-two-sorted-arrays.py b/src/exercises/4.median-of-two-sorted-arrays.py index d5cf985..68749c9 100644 --- a/src/exercises/4.median-of-two-sorted-arrays.py +++ b/src/exercises/4.median-of-two-sorted-arrays.py @@ -1,3 +1,40 @@ +from string import * +from re import * +from datetime import * +from collections import * +from heapq import * +from bisect import * +from copy import * +from math import * +from random import * +from statistics import * +from itertools import * +from functools import * +from operator import * +from io import * +from sys import * +from json import * +from builtins import * +import string +import re +import datetime +import collections +import heapq +import bisect +import copy +import math +import random +import statistics +import itertools +import functools +import operator +import io +import sys +import json +from typing import * + + +# @leet start class Solution: def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -> float: N1, N2 = nums1, nums2 @@ -28,3 +65,5 @@ class Solution: h = midA - 1 else: l = midA + 1 + +# @leet end diff --git a/src/notes/001_two_sum.md b/src/notes/001_two_sum.md deleted file mode 100644 index dd111f3..0000000 --- a/src/notes/001_two_sum.md +++ /dev/null @@ -1,22 +0,0 @@ -# Two Sum - -**Problem Number:** 1 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/002_add_two_numbers.md b/src/notes/002_add_two_numbers.md deleted file mode 100644 index f785f24..0000000 --- a/src/notes/002_add_two_numbers.md +++ /dev/null @@ -1,22 +0,0 @@ -# Add Two Numbers - -**Problem Number:** 2 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/003_longest_substring_without_repeating_characters.md b/src/notes/003_longest_substring_without_repeating_characters.md deleted file mode 100644 index ff37681..0000000 --- a/src/notes/003_longest_substring_without_repeating_characters.md +++ /dev/null @@ -1,22 +0,0 @@ -# Longest Substring Without Repeating Characters - -**Problem Number:** 3 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/004_median_of_two_sorted_arrays.md b/src/notes/004_median_of_two_sorted_arrays.md deleted file mode 100644 index bf6490b..0000000 --- a/src/notes/004_median_of_two_sorted_arrays.md +++ /dev/null @@ -1,22 +0,0 @@ -# Median of Two Sorted Arrays - -**Problem Number:** 4 -**Difficulty:** Hard -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/005_longest_palindromic_substring.md b/src/notes/005_longest_palindromic_substring.md deleted file mode 100644 index 3c58c3d..0000000 --- a/src/notes/005_longest_palindromic_substring.md +++ /dev/null @@ -1,22 +0,0 @@ -# Longest Palindromic Substring - -**Problem Number:** 5 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/006_zigzag_conversion.md b/src/notes/006_zigzag_conversion.md deleted file mode 100644 index f60e1f3..0000000 --- a/src/notes/006_zigzag_conversion.md +++ /dev/null @@ -1,22 +0,0 @@ -# Zigzag Conversion - -**Problem Number:** 6 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/007_reverse_integer.md b/src/notes/007_reverse_integer.md deleted file mode 100644 index 471e79b..0000000 --- a/src/notes/007_reverse_integer.md +++ /dev/null @@ -1,22 +0,0 @@ -# Reverse Integer - -**Problem Number:** 7 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/009_palindrome_number.md b/src/notes/009_palindrome_number.md deleted file mode 100644 index 5600075..0000000 --- a/src/notes/009_palindrome_number.md +++ /dev/null @@ -1,22 +0,0 @@ -# Palindrome Number - -**Problem Number:** 9 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/010_regular_expression_matching.md b/src/notes/010_regular_expression_matching.md deleted file mode 100644 index bb8625d..0000000 --- a/src/notes/010_regular_expression_matching.md +++ /dev/null @@ -1,22 +0,0 @@ -# Regular Expression Matching - -**Problem Number:** 10 -**Difficulty:** Hard -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/011_container_with_most_water.md b/src/notes/011_container_with_most_water.md deleted file mode 100644 index e9c3d53..0000000 --- a/src/notes/011_container_with_most_water.md +++ /dev/null @@ -1,22 +0,0 @@ -# Container With Most Water - -**Problem Number:** 11 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/013_roman_to_integer.md b/src/notes/013_roman_to_integer.md deleted file mode 100644 index d10e4a9..0000000 --- a/src/notes/013_roman_to_integer.md +++ /dev/null @@ -1,22 +0,0 @@ -# Roman to Integer - -**Problem Number:** 13 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/014_longest_common_prefix.md b/src/notes/014_longest_common_prefix.md deleted file mode 100644 index 00546f1..0000000 --- a/src/notes/014_longest_common_prefix.md +++ /dev/null @@ -1,22 +0,0 @@ -# Longest Common Prefix - -**Problem Number:** 14 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/015_3sum.md b/src/notes/015_3sum.md deleted file mode 100644 index 5e54cb1..0000000 --- a/src/notes/015_3sum.md +++ /dev/null @@ -1,22 +0,0 @@ -# 3Sum - -**Problem Number:** 15 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/020_valid_parentheses.md b/src/notes/020_valid_parentheses.md deleted file mode 100644 index aa2b6e9..0000000 --- a/src/notes/020_valid_parentheses.md +++ /dev/null @@ -1,22 +0,0 @@ -# Valid Parentheses - -**Problem Number:** 20 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/021_merge_two_sorted_lists.md b/src/notes/021_merge_two_sorted_lists.md deleted file mode 100644 index f3f6918..0000000 --- a/src/notes/021_merge_two_sorted_lists.md +++ /dev/null @@ -1,22 +0,0 @@ -# Merge Two Sorted Lists - -**Problem Number:** 21 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/022_generate_parentheses.md b/src/notes/022_generate_parentheses.md deleted file mode 100644 index bf23a0e..0000000 --- a/src/notes/022_generate_parentheses.md +++ /dev/null @@ -1,22 +0,0 @@ -# Generate Parentheses - -**Problem Number:** 22 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/028_find_the_index_of_the_first_occurrence_in_a_string.md b/src/notes/028_find_the_index_of_the_first_occurrence_in_a_string.md deleted file mode 100644 index 2f375f3..0000000 --- a/src/notes/028_find_the_index_of_the_first_occurrence_in_a_string.md +++ /dev/null @@ -1,22 +0,0 @@ -# Find the Index of the First Occurrence in a String - -**Problem Number:** 28 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/035_search_insert_position.md b/src/notes/035_search_insert_position.md deleted file mode 100644 index f8f51c8..0000000 --- a/src/notes/035_search_insert_position.md +++ /dev/null @@ -1,22 +0,0 @@ -# Search Insert Position - -**Problem Number:** 35 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/036_valid_sudoku.md b/src/notes/036_valid_sudoku.md deleted file mode 100644 index 3a4d6e6..0000000 --- a/src/notes/036_valid_sudoku.md +++ /dev/null @@ -1,22 +0,0 @@ -# Valid Sudoku - -**Problem Number:** 36 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/042_trapping_rain_water.md b/src/notes/042_trapping_rain_water.md deleted file mode 100644 index f3e91ee..0000000 --- a/src/notes/042_trapping_rain_water.md +++ /dev/null @@ -1,22 +0,0 @@ -# Trapping Rain Water - -**Problem Number:** 42 -**Difficulty:** Hard -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/045_jump_game_ii.md b/src/notes/045_jump_game_ii.md deleted file mode 100644 index cb2e493..0000000 --- a/src/notes/045_jump_game_ii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Jump Game II - -**Problem Number:** 45 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/050_powx_n.md b/src/notes/050_powx_n.md deleted file mode 100644 index 04a6e59..0000000 --- a/src/notes/050_powx_n.md +++ /dev/null @@ -1,22 +0,0 @@ -# Pow(x, n) - -**Problem Number:** 50 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/055_jump_game.md b/src/notes/055_jump_game.md deleted file mode 100644 index ed4d2c1..0000000 --- a/src/notes/055_jump_game.md +++ /dev/null @@ -1,22 +0,0 @@ -# Jump Game - -**Problem Number:** 55 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/066_plus_one.md b/src/notes/066_plus_one.md deleted file mode 100644 index 8749b97..0000000 --- a/src/notes/066_plus_one.md +++ /dev/null @@ -1,22 +0,0 @@ -# Plus One - -**Problem Number:** 66 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/069_sqrtx.md b/src/notes/069_sqrtx.md deleted file mode 100644 index 8e6dcc8..0000000 --- a/src/notes/069_sqrtx.md +++ /dev/null @@ -1,22 +0,0 @@ -# Sqrt(x) - -**Problem Number:** 69 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/074_search_a_2d_matrix.md b/src/notes/074_search_a_2d_matrix.md deleted file mode 100644 index d03f230..0000000 --- a/src/notes/074_search_a_2d_matrix.md +++ /dev/null @@ -1,22 +0,0 @@ -# Search a 2D Matrix - -**Problem Number:** 74 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/080_remove_duplicates_from_sorted_array_ii.md b/src/notes/080_remove_duplicates_from_sorted_array_ii.md deleted file mode 100644 index 7b702da..0000000 --- a/src/notes/080_remove_duplicates_from_sorted_array_ii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Remove Duplicates from Sorted Array II - -**Problem Number:** 80 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/088_merge_sorted_array.md b/src/notes/088_merge_sorted_array.md deleted file mode 100644 index c604b84..0000000 --- a/src/notes/088_merge_sorted_array.md +++ /dev/null @@ -1,22 +0,0 @@ -# Merge Sorted Array - -**Problem Number:** 88 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/089_gray_code.md b/src/notes/089_gray_code.md deleted file mode 100644 index 837397b..0000000 --- a/src/notes/089_gray_code.md +++ /dev/null @@ -1,22 +0,0 @@ -# Gray Code - -**Problem Number:** 89 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/090_subsets_ii.md b/src/notes/090_subsets_ii.md deleted file mode 100644 index cb2d592..0000000 --- a/src/notes/090_subsets_ii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Subsets II - -**Problem Number:** 90 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/091_decode_ways.md b/src/notes/091_decode_ways.md deleted file mode 100644 index 9e52269..0000000 --- a/src/notes/091_decode_ways.md +++ /dev/null @@ -1,22 +0,0 @@ -# Decode Ways - -**Problem Number:** 91 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/092_reverse_linked_list_ii.md b/src/notes/092_reverse_linked_list_ii.md deleted file mode 100644 index 4c15148..0000000 --- a/src/notes/092_reverse_linked_list_ii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Reverse Linked List II - -**Problem Number:** 92 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/1200_minimum_absolute_difference.md b/src/notes/1200_minimum_absolute_difference.md deleted file mode 100644 index ab04c65..0000000 --- a/src/notes/1200_minimum_absolute_difference.md +++ /dev/null @@ -1,22 +0,0 @@ -# Minimum Absolute Difference - -**Problem Number:** 1200 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/121_best_time_to_buy_and_sell_stock.md b/src/notes/121_best_time_to_buy_and_sell_stock.md deleted file mode 100644 index 5da7985..0000000 --- a/src/notes/121_best_time_to_buy_and_sell_stock.md +++ /dev/null @@ -1,22 +0,0 @@ -# Best Time to Buy and Sell Stock - -**Problem Number:** 121 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/122_best_time_to_buy_and_sell_stock_ii.md b/src/notes/122_best_time_to_buy_and_sell_stock_ii.md deleted file mode 100644 index c792126..0000000 --- a/src/notes/122_best_time_to_buy_and_sell_stock_ii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Best Time to Buy and Sell Stock II - -**Problem Number:** 122 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/125_valid_palindrome.md b/src/notes/125_valid_palindrome.md deleted file mode 100644 index dcaf22d..0000000 --- a/src/notes/125_valid_palindrome.md +++ /dev/null @@ -1,22 +0,0 @@ -# Valid Palindrome - -**Problem Number:** 125 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/128_longest_consecutive_sequence.md b/src/notes/128_longest_consecutive_sequence.md deleted file mode 100644 index 45be91c..0000000 --- a/src/notes/128_longest_consecutive_sequence.md +++ /dev/null @@ -1,22 +0,0 @@ -# Longest Consecutive Sequence - -**Problem Number:** 128 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/1298_maximum_candies_you_can_get_from_boxes.md b/src/notes/1298_maximum_candies_you_can_get_from_boxes.md deleted file mode 100644 index c643b7d..0000000 --- a/src/notes/1298_maximum_candies_you_can_get_from_boxes.md +++ /dev/null @@ -1,22 +0,0 @@ -# Maximum Candies You Can Get from Boxes - -**Problem Number:** 1298 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/135_candy.md b/src/notes/135_candy.md deleted file mode 100644 index 308ab2b..0000000 --- a/src/notes/135_candy.md +++ /dev/null @@ -1,22 +0,0 @@ -# Candy - -**Problem Number:** 135 -**Difficulty:** Hard -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/141_linked_list_cycle.md b/src/notes/141_linked_list_cycle.md deleted file mode 100644 index 3970753..0000000 --- a/src/notes/141_linked_list_cycle.md +++ /dev/null @@ -1,22 +0,0 @@ -# Linked List Cycle - -**Problem Number:** 141 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/149_max_points_on_a_line.md b/src/notes/149_max_points_on_a_line.md deleted file mode 100644 index d743b12..0000000 --- a/src/notes/149_max_points_on_a_line.md +++ /dev/null @@ -1,22 +0,0 @@ -# Max Points on a Line - -**Problem Number:** 149 -**Difficulty:** Hard -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/150_evaluate_reverse_polish_notation.md b/src/notes/150_evaluate_reverse_polish_notation.md deleted file mode 100644 index 1f31bcd..0000000 --- a/src/notes/150_evaluate_reverse_polish_notation.md +++ /dev/null @@ -1,22 +0,0 @@ -# Evaluate Reverse Polish Notation - -**Problem Number:** 150 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/153_find_minimum_in_rotated_sorted_array.md b/src/notes/153_find_minimum_in_rotated_sorted_array.md deleted file mode 100644 index f29f721..0000000 --- a/src/notes/153_find_minimum_in_rotated_sorted_array.md +++ /dev/null @@ -1,22 +0,0 @@ -# Find Minimum in Rotated Sorted Array - -**Problem Number:** 153 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/155_min_stack.md b/src/notes/155_min_stack.md deleted file mode 100644 index 050b8b2..0000000 --- a/src/notes/155_min_stack.md +++ /dev/null @@ -1,22 +0,0 @@ -# Min Stack - -**Problem Number:** 155 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/167_two_sum_ii__input_array_is_sorted.md b/src/notes/167_two_sum_ii__input_array_is_sorted.md deleted file mode 100644 index 1990084..0000000 --- a/src/notes/167_two_sum_ii__input_array_is_sorted.md +++ /dev/null @@ -1,22 +0,0 @@ -# Two Sum II - Input Array Is Sorted - -**Problem Number:** 167 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/167_two_sum_ii_input_array_is_sorted.md b/src/notes/167_two_sum_ii_input_array_is_sorted.md deleted file mode 100644 index 42d58e6..0000000 --- a/src/notes/167_two_sum_ii_input_array_is_sorted.md +++ /dev/null @@ -1,32 +0,0 @@ -# two sum ii input array is sorted - -[![Problem 167](https://img.shields.io/badge/Problem-167-blue?style=for-the-badge&logo=leetcode)](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) -[![Difficulty](https://img.shields.io/badge/Difficulty-Medium-orange?style=for-the-badge)](https://leetcode.com/problemset/?difficulty=MEDIUM) -[![LeetCode](https://img.shields.io/badge/LeetCode-View%20Problem-orange?style=for-the-badge&logo=leetcode)](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) - -**Problem Number:** [167](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) -**Difficulty:** [Medium](https://leetcode.com/problemset/?difficulty=MEDIUM)(https://leetcode.com/problemset/?difficulty=MEDIUM) -**Category:** -**LeetCode Link:** [https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) - -## Problem Description - -> **View the full problem description on LeetCode:** [two sum ii input array is sorted](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- - -[![Back to Index](../../README.md#-problem-index)](../../README.md#-problem-index) | [![View Solution](../exercises/167.two-sum-ii-input-array-is-sorted.py)](../exercises/167.two-sum-ii-input-array-is-sorted.py) - -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/169_majority_element.md b/src/notes/169_majority_element.md deleted file mode 100644 index 734459f..0000000 --- a/src/notes/169_majority_element.md +++ /dev/null @@ -1,22 +0,0 @@ -# Majority Element - -**Problem Number:** 169 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/172_factorial_trailing_zeroes.md b/src/notes/172_factorial_trailing_zeroes.md deleted file mode 100644 index 09a55a4..0000000 --- a/src/notes/172_factorial_trailing_zeroes.md +++ /dev/null @@ -1,22 +0,0 @@ -# Factorial Trailing Zeroes - -**Problem Number:** 172 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/1820_maximum_number_of_accepted_invitations.md b/src/notes/1820_maximum_number_of_accepted_invitations.md deleted file mode 100644 index 75a9c6d..0000000 --- a/src/notes/1820_maximum_number_of_accepted_invitations.md +++ /dev/null @@ -1,22 +0,0 @@ -# Maximum Number of Accepted Invitations - -**Problem Number:** 1820 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/189_rotate_array.md b/src/notes/189_rotate_array.md deleted file mode 100644 index 0df5988..0000000 --- a/src/notes/189_rotate_array.md +++ /dev/null @@ -1,22 +0,0 @@ -# Rotate Array - -**Problem Number:** 189 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/202_happy_number.md b/src/notes/202_happy_number.md deleted file mode 100644 index d8283fa..0000000 --- a/src/notes/202_happy_number.md +++ /dev/null @@ -1,22 +0,0 @@ -# Happy Number - -**Problem Number:** 202 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/2040_kth_smallest_product_of_two_sorted_arrays.md b/src/notes/2040_kth_smallest_product_of_two_sorted_arrays.md deleted file mode 100644 index 21a3547..0000000 --- a/src/notes/2040_kth_smallest_product_of_two_sorted_arrays.md +++ /dev/null @@ -1,22 +0,0 @@ -# Kth Smallest Product of Two Sorted Arrays - -**Problem Number:** 2040 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/2053_kth_distinct_string_in_an_array.md b/src/notes/2053_kth_distinct_string_in_an_array.md deleted file mode 100644 index 4f959c5..0000000 --- a/src/notes/2053_kth_distinct_string_in_an_array.md +++ /dev/null @@ -1,22 +0,0 @@ -# Kth Distinct String in an Array - -**Problem Number:** 2053 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/205_isomorphic_strings.md b/src/notes/205_isomorphic_strings.md deleted file mode 100644 index 94cbbb3..0000000 --- a/src/notes/205_isomorphic_strings.md +++ /dev/null @@ -1,22 +0,0 @@ -# Isomorphic Strings - -**Problem Number:** 205 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/206_reverse_linked_list.md b/src/notes/206_reverse_linked_list.md deleted file mode 100644 index b9c73aa..0000000 --- a/src/notes/206_reverse_linked_list.md +++ /dev/null @@ -1,22 +0,0 @@ -# Reverse Linked List - -**Problem Number:** 206 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/2116_check_if_a_parentheses_string_can_be_valid.md b/src/notes/2116_check_if_a_parentheses_string_can_be_valid.md deleted file mode 100644 index 7e21c04..0000000 --- a/src/notes/2116_check_if_a_parentheses_string_can_be_valid.md +++ /dev/null @@ -1,22 +0,0 @@ -# Check if a Parentheses String Can Be Valid - -**Problem Number:** 2116 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/217_contains_duplicate.md b/src/notes/217_contains_duplicate.md deleted file mode 100644 index a61ebfd..0000000 --- a/src/notes/217_contains_duplicate.md +++ /dev/null @@ -1,22 +0,0 @@ -# Contains Duplicate - -**Problem Number:** 217 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/219_contains_duplicate_ii.md b/src/notes/219_contains_duplicate_ii.md deleted file mode 100644 index fc94d23..0000000 --- a/src/notes/219_contains_duplicate_ii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Contains Duplicate II - -**Problem Number:** 219 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/228_summary_ranges.md b/src/notes/228_summary_ranges.md deleted file mode 100644 index 2ba1b11..0000000 --- a/src/notes/228_summary_ranges.md +++ /dev/null @@ -1,22 +0,0 @@ -# Summary Ranges - -**Problem Number:** 228 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/2294_partition_array_such_that_maximum_difference_is_k.md b/src/notes/2294_partition_array_such_that_maximum_difference_is_k.md deleted file mode 100644 index 167d1d6..0000000 --- a/src/notes/2294_partition_array_such_that_maximum_difference_is_k.md +++ /dev/null @@ -1,22 +0,0 @@ -# Partition Array Such That Maximum Difference Is K - -**Problem Number:** 2294 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/238_product_of_array_except_self.md b/src/notes/238_product_of_array_except_self.md deleted file mode 100644 index e6c8070..0000000 --- a/src/notes/238_product_of_array_except_self.md +++ /dev/null @@ -1,22 +0,0 @@ -# Product of Array Except Self - -**Problem Number:** 238 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/242_valid_anagram.md b/src/notes/242_valid_anagram.md deleted file mode 100644 index 34f374d..0000000 --- a/src/notes/242_valid_anagram.md +++ /dev/null @@ -1,22 +0,0 @@ -# Valid Anagram - -**Problem Number:** 242 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/243_shortest_word_distance.md b/src/notes/243_shortest_word_distance.md deleted file mode 100644 index e02b236..0000000 --- a/src/notes/243_shortest_word_distance.md +++ /dev/null @@ -1,22 +0,0 @@ -# Shortest Word Distance - -**Problem Number:** 243 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/2441_largest_positive_integer_that_exists_with_its_negative.md b/src/notes/2441_largest_positive_integer_that_exists_with_its_negative.md deleted file mode 100644 index 0cbdb87..0000000 --- a/src/notes/2441_largest_positive_integer_that_exists_with_its_negative.md +++ /dev/null @@ -1,22 +0,0 @@ -# Largest Positive Integer That Exists With Its Negative - -**Problem Number:** 2441 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/244_shortest_word_distance_ii.md b/src/notes/244_shortest_word_distance_ii.md deleted file mode 100644 index dbd251b..0000000 --- a/src/notes/244_shortest_word_distance_ii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Shortest Word Distance II - -**Problem Number:** 244 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/245_shortest_word_distance_iii.md b/src/notes/245_shortest_word_distance_iii.md deleted file mode 100644 index feb9d52..0000000 --- a/src/notes/245_shortest_word_distance_iii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Shortest Word Distance III - -**Problem Number:** 245 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/246_strobogrammatic_number.md b/src/notes/246_strobogrammatic_number.md deleted file mode 100644 index dbf695c..0000000 --- a/src/notes/246_strobogrammatic_number.md +++ /dev/null @@ -1,22 +0,0 @@ -# Strobogrammatic Number - -**Problem Number:** 246 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/248_strobogrammatic_number_iii.md b/src/notes/248_strobogrammatic_number_iii.md deleted file mode 100644 index e8cb8f8..0000000 --- a/src/notes/248_strobogrammatic_number_iii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Strobogrammatic Number III - -**Problem Number:** 248 -**Difficulty:** Hard -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/2616_minimize_the_maximum_difference_of_pairs.md b/src/notes/2616_minimize_the_maximum_difference_of_pairs.md deleted file mode 100644 index ce68e93..0000000 --- a/src/notes/2616_minimize_the_maximum_difference_of_pairs.md +++ /dev/null @@ -1,22 +0,0 @@ -# Minimize the Maximum Difference of Pairs - -**Problem Number:** 2616 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/290_word_pattern.md b/src/notes/290_word_pattern.md deleted file mode 100644 index c671c4c..0000000 --- a/src/notes/290_word_pattern.md +++ /dev/null @@ -1,22 +0,0 @@ -# Word Pattern - -**Problem Number:** 290 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/2966_divide_array_into_arrays_with_max_difference.md b/src/notes/2966_divide_array_into_arrays_with_max_difference.md deleted file mode 100644 index 4e92409..0000000 --- a/src/notes/2966_divide_array_into_arrays_with_max_difference.md +++ /dev/null @@ -1,22 +0,0 @@ -# Divide Array Into Arrays With Max Difference - -**Problem Number:** 2966 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/3442_maximum_difference_between_even_and_odd_frequency_i.md b/src/notes/3442_maximum_difference_between_even_and_odd_frequency_i.md deleted file mode 100644 index 4afc71d..0000000 --- a/src/notes/3442_maximum_difference_between_even_and_odd_frequency_i.md +++ /dev/null @@ -1,22 +0,0 @@ -# Maximum Difference Between Even and Odd Frequency I - -**Problem Number:** 3442 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/3445_maximum_difference_between_even_and_odd_frequency_ii.md b/src/notes/3445_maximum_difference_between_even_and_odd_frequency_ii.md deleted file mode 100644 index 1dd84dd..0000000 --- a/src/notes/3445_maximum_difference_between_even_and_odd_frequency_ii.md +++ /dev/null @@ -1,22 +0,0 @@ -# Maximum Difference Between Even and Odd Frequency II - -**Problem Number:** 3445 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/383_ransom_note.md b/src/notes/383_ransom_note.md deleted file mode 100644 index 34a76a7..0000000 --- a/src/notes/383_ransom_note.md +++ /dev/null @@ -1,22 +0,0 @@ -# Ransom Note - -**Problem Number:** 383 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/392_is_subsequence.md b/src/notes/392_is_subsequence.md deleted file mode 100644 index 985ac26..0000000 --- a/src/notes/392_is_subsequence.md +++ /dev/null @@ -1,22 +0,0 @@ -# Is Subsequence - -**Problem Number:** 392 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/704_binary_search.md b/src/notes/704_binary_search.md deleted file mode 100644 index c3ba01b..0000000 --- a/src/notes/704_binary_search.md +++ /dev/null @@ -1,22 +0,0 @@ -# Binary Search - -**Problem Number:** 704 -**Difficulty:** Easy -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/875_koko_eating_bananas.md b/src/notes/875_koko_eating_bananas.md deleted file mode 100644 index 90307e2..0000000 --- a/src/notes/875_koko_eating_bananas.md +++ /dev/null @@ -1,22 +0,0 @@ -# Koko Eating Bananas - -**Problem Number:** 875 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.* diff --git a/src/notes/990_satisfiability_of_equality_equations.md b/src/notes/990_satisfiability_of_equality_equations.md deleted file mode 100644 index 679f8ff..0000000 --- a/src/notes/990_satisfiability_of_equality_equations.md +++ /dev/null @@ -1,22 +0,0 @@ -# Satisfiability of Equality Equations - -**Problem Number:** 990 -**Difficulty:** Medium -**Category:** - -## Problem Description - -## My Approach - -## Solution - -## Time & Space Complexity - -## Key Insights - -## Mistakes Made - -## Related Problems - ---- -*Note: This is a work in progress. I'll add more details as I reflect on this problem.*