This repository documents my journey through the daily coding challenges on freeCodeCamp.org. It includes both the problem statements and my personal solutions, primarily written in Python. The goal is to consistently practice problem-solving and learn something new every day.
- Tribonacci Sequence
- RGB to Hex
- Pangram
- Vowel Repeater
- IPv4 Validator
- Matrix Rotate
- Roman Numeral Parser
- Acronym Builder
- Unique Characters
- Array Diff
- Reverse Sentence
- Screen Time
- Missing Numbers
- Word Frequency
- Thermostat Adjuster
- Sentence Capitalizer
- Slug Generator
- Fill The Tank
- Photo Storage
- File Storage
- Video Storage
- Digits vs Letters
- String Mirror
- Perfect Square
- 2nd Largest
- Caught speeding
- Spam Detector
- CSV Header Parser
- Longest Word
- Phone Number Formatter
- Binary to Decimal
- Decimal to Binary
- P@ssw0rd Str3ngth!
- Space Week Day 1: Stellar Classification
- Space Week Day 2: Exoplanet Search
- Space Week Day 3: Phone Home
- Space Week Day 4: Landing Spot
- Space Week Day 5: Goldilocks Zone
- Space Week Day 6: Moon Phase
- Space Week Day 7: Launch Fuel
- Hex to Decimal
- Battle of Words
- 24 to 12
- String Count
- HTML Tag Stripper
- Email Validator
- Credit Card Masker
- Missing Socks
- HTML Attribute Extractor
- Tip Calculator
Below is the template for a python file (with simple test method):
from module_test import do_test
# Function/method
def method_name(param_1: list, param_2: int) -> bool:
# TODO: Solve somethings...
# Return the result
return True
# Do test
do_test(function_name="method_name", should_return=True, param_1=[1, 2, 3], param_2=0)
do_test(function_name="method_name", should_return=False, param_1=[0, 2, 4], param_2=1)
do_test(function_name="method_name", should_return=True, param_1=[], param_2=8)