From 479c7b57bdb79e7dffecde8cbeab5848893ebf23 Mon Sep 17 00:00:00 2001 From: VotreNomGitHub Date: Mon, 9 Nov 2026 23:49:02 +0100 Subject: [PATCH] docs: add missing source links to 4 solutions --- solutions/python/practice22.py | 3 ++- solutions/python/practice228.py | 4 +++- solutions/python/practice252.py | 3 ++- solutions/python/practice255.py | 3 ++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/solutions/python/practice22.py b/solutions/python/practice22.py index 076d3f5..cf25221 100644 --- a/solutions/python/practice22.py +++ b/solutions/python/practice22.py @@ -1,4 +1,5 @@ -#----- Pascal Triangle -----# +# Problem: Pascal Triangle +# Source: https://leetcode.com/problems/pascals-triangle/ ## Prints Pascal's Triangle with the number of rows entered by the user. # Each row starts and ends with 1. diff --git a/solutions/python/practice228.py b/solutions/python/practice228.py index a586c33..aaa1088 100644 --- a/solutions/python/practice228.py +++ b/solutions/python/practice228.py @@ -1,4 +1,6 @@ -# py.checkio - Subject is Stressful +# Problem: Stressful Subject +# Source: https://py.checkio.org/en/mission/stressful-subject/ + def is_stressful(subj: str) -> bool: if subj.isupper(): diff --git a/solutions/python/practice252.py b/solutions/python/practice252.py index 98eee19..5230597 100644 --- a/solutions/python/practice252.py +++ b/solutions/python/practice252.py @@ -1,4 +1,5 @@ -# FizzBuzz with Twist +# Problem: FizzBuzz with Twist +# Source: https://leetcode.com/problems/fizz-buzz/ def fizzbuzzpop(n): res = "" diff --git a/solutions/python/practice255.py b/solutions/python/practice255.py index 5873040..d796a1e 100644 --- a/solutions/python/practice255.py +++ b/solutions/python/practice255.py @@ -1,4 +1,5 @@ -# Coin Change (Minimum Coins) +# Problem: Coin Change (Minimum Coins) +# Source: https://leetcode.com/problems/coin-change/ def change(n): coins = [50, 20, 10, 5, 1]