From 7ed945ef06bb6df9b14d9980c0819675413aba5e Mon Sep 17 00:00:00 2001 From: Krish Date: Tue, 30 Dec 2025 22:53:46 +0545 Subject: [PATCH 1/6] added more leetcode soutions --- Leetcode/0952-word-subsets/index.md | 34 +++++++++++++++++- .../index.md | 15 +++++++- .../index.md | 24 ++++++++++++- .../index.md | 36 ++++++++++++++++++- .../index.md | 23 ++++++++++-- Leetcode/1558-course-schedule-iv/index.md | 27 ++++++++++++-- .../index.md | 18 +++++++++- .../index.md | 19 ++++++++-- .../index.md | 21 ++++++++++- Leetcode/1585-the-kth-factor-of-n/index.md | 17 +++++++-- .../index.md | 27 ++++++++++++-- .../index.md | 33 ++++++++++++++++- 12 files changed, 277 insertions(+), 17 deletions(-) diff --git a/Leetcode/0952-word-subsets/index.md b/Leetcode/0952-word-subsets/index.md index 1a36caea..c7866ee7 100644 --- a/Leetcode/0952-word-subsets/index.md +++ b/Leetcode/0952-word-subsets/index.md @@ -80,7 +80,39 @@ class Solution { diff --git a/Leetcode/1510-find-lucky-integer-in-an-array/index.md b/Leetcode/1510-find-lucky-integer-in-an-array/index.md index 800f3147..ddaab6f7 100644 --- a/Leetcode/1510-find-lucky-integer-in-an-array/index.md +++ b/Leetcode/1510-find-lucky-integer-in-an-array/index.md @@ -69,7 +69,20 @@ class Solution { diff --git a/Leetcode/1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n/index.md b/Leetcode/1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n/index.md index 7a829783..fd912c73 100644 --- a/Leetcode/1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n/index.md +++ b/Leetcode/1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n/index.md @@ -97,7 +97,29 @@ class Solution { diff --git a/Leetcode/1529-max-difference-you-can-get-from-changing-an-integer/index.md b/Leetcode/1529-max-difference-you-can-get-from-changing-an-integer/index.md index a37700a1..1870b5d5 100644 --- a/Leetcode/1529-max-difference-you-can-get-from-changing-an-integer/index.md +++ b/Leetcode/1529-max-difference-you-can-get-from-changing-an-integer/index.md @@ -100,7 +100,41 @@ class Solution { diff --git a/Leetcode/1538-maximum-points-you-can-obtain-from-cards/index.md b/Leetcode/1538-maximum-points-you-can-obtain-from-cards/index.md index cc3d37e7..88e52825 100644 --- a/Leetcode/1538-maximum-points-you-can-obtain-from-cards/index.md +++ b/Leetcode/1538-maximum-points-you-can-obtain-from-cards/index.md @@ -88,8 +88,27 @@ class Solution { diff --git a/Leetcode/1558-course-schedule-iv/index.md b/Leetcode/1558-course-schedule-iv/index.md index 2a781c56..67203f7e 100644 --- a/Leetcode/1558-course-schedule-iv/index.md +++ b/Leetcode/1558-course-schedule-iv/index.md @@ -111,8 +111,31 @@ class Solution { diff --git a/Leetcode/1561-rearrange-words-in-a-sentence/index.md b/Leetcode/1561-rearrange-words-in-a-sentence/index.md index 9dda9003..69e3b6c4 100644 --- a/Leetcode/1561-rearrange-words-in-a-sentence/index.md +++ b/Leetcode/1561-rearrange-words-in-a-sentence/index.md @@ -133,7 +133,23 @@ class Solution { diff --git a/Leetcode/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/index.md b/Leetcode/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/index.md index 371b1e0e..1a083d92 100644 --- a/Leetcode/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/index.md +++ b/Leetcode/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/index.md @@ -80,8 +80,23 @@ class Solution { diff --git a/Leetcode/1570-final-prices-with-a-special-discount-in-a-shop/index.md b/Leetcode/1570-final-prices-with-a-special-discount-in-a-shop/index.md index d4d07cbd..38c48899 100644 --- a/Leetcode/1570-final-prices-with-a-special-discount-in-a-shop/index.md +++ b/Leetcode/1570-final-prices-with-a-special-discount-in-a-shop/index.md @@ -79,7 +79,26 @@ class Solution { diff --git a/Leetcode/1585-the-kth-factor-of-n/index.md b/Leetcode/1585-the-kth-factor-of-n/index.md index 384c3693..34ec7e0d 100644 --- a/Leetcode/1585-the-kth-factor-of-n/index.md +++ b/Leetcode/1585-the-kth-factor-of-n/index.md @@ -75,8 +75,21 @@ class Solution { diff --git a/Leetcode/1621-number-of-subsequences-that-satisfy-the-given-sum-condition/index.md b/Leetcode/1621-number-of-subsequences-that-satisfy-the-given-sum-condition/index.md index db6afe82..3291468e 100644 --- a/Leetcode/1621-number-of-subsequences-that-satisfy-the-given-sum-condition/index.md +++ b/Leetcode/1621-number-of-subsequences-that-satisfy-the-given-sum-condition/index.md @@ -79,8 +79,31 @@ class Solution { diff --git a/Leetcode/1628-count-submatrices-with-all-ones/index.md b/Leetcode/1628-count-submatrices-with-all-ones/index.md index 687098ca..3f6b0f5a 100644 --- a/Leetcode/1628-count-submatrices-with-all-ones/index.md +++ b/Leetcode/1628-count-submatrices-with-all-ones/index.md @@ -136,7 +136,38 @@ class Solution { From 38c97db987f769bf520909c30aa8c6ebd0e393d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rk=20Roy=F0=9F=87=B3=F0=9F=87=B5?= Date: Tue, 30 Dec 2025 22:51:22 +0530 Subject: [PATCH 2/6] Update index.md --- .../1538-maximum-points-you-can-obtain-from-cards/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Leetcode/1538-maximum-points-you-can-obtain-from-cards/index.md b/Leetcode/1538-maximum-points-you-can-obtain-from-cards/index.md index 88e52825..309a6546 100644 --- a/Leetcode/1538-maximum-points-you-can-obtain-from-cards/index.md +++ b/Leetcode/1538-maximum-points-you-can-obtain-from-cards/index.md @@ -108,7 +108,8 @@ public: } return maxsum; } -};``` +}; +``` From 7001ee33e5f9c138ccf3bafdf8c2edfb5cb1a950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rk=20Roy=F0=9F=87=B3=F0=9F=87=B5?= Date: Tue, 30 Dec 2025 22:52:16 +0530 Subject: [PATCH 3/6] Update index.md --- Leetcode/1558-course-schedule-iv/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Leetcode/1558-course-schedule-iv/index.md b/Leetcode/1558-course-schedule-iv/index.md index 67203f7e..8e975a08 100644 --- a/Leetcode/1558-course-schedule-iv/index.md +++ b/Leetcode/1558-course-schedule-iv/index.md @@ -135,7 +135,8 @@ public: } return res; } -};``` +}; +``` From 974a15a36871c55f45bbaf0143a3b6a1c5506e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rk=20Roy=F0=9F=87=B3=F0=9F=87=B5?= Date: Tue, 30 Dec 2025 22:53:55 +0530 Subject: [PATCH 4/6] Update index.md --- .../index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Leetcode/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/index.md b/Leetcode/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/index.md index 1a083d92..ef69cfb7 100644 --- a/Leetcode/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/index.md +++ b/Leetcode/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/index.md @@ -96,7 +96,8 @@ public: } return -1; } -};``` +}; +``` From 368b270728adcd37c3f87223ae036a2f71edf589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rk=20Roy=F0=9F=87=B3=F0=9F=87=B5?= Date: Tue, 30 Dec 2025 22:54:28 +0530 Subject: [PATCH 5/6] Update index.md --- Leetcode/1585-the-kth-factor-of-n/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Leetcode/1585-the-kth-factor-of-n/index.md b/Leetcode/1585-the-kth-factor-of-n/index.md index 34ec7e0d..53ce1b27 100644 --- a/Leetcode/1585-the-kth-factor-of-n/index.md +++ b/Leetcode/1585-the-kth-factor-of-n/index.md @@ -89,7 +89,8 @@ public: if(k > factors.size()) return -1; return factors[k - 1]; } -};``` +}; +``` From 64e9189c59f12250725baf46a7ed9dbe8174d3c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rk=20Roy=F0=9F=87=B3=F0=9F=87=B5?= Date: Tue, 30 Dec 2025 22:55:00 +0530 Subject: [PATCH 6/6] Update index.md --- .../index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Leetcode/1621-number-of-subsequences-that-satisfy-the-given-sum-condition/index.md b/Leetcode/1621-number-of-subsequences-that-satisfy-the-given-sum-condition/index.md index 3291468e..bc8a4bca 100644 --- a/Leetcode/1621-number-of-subsequences-that-satisfy-the-given-sum-condition/index.md +++ b/Leetcode/1621-number-of-subsequences-that-satisfy-the-given-sum-condition/index.md @@ -103,7 +103,8 @@ public: } return res; } -};``` +}; +```