A comprehensive collection of solutions to freeCodeCamp's Daily Coding Challenges implemented in Python with complete test coverage.
This repository contains Python solutions to the Daily Coding Challenges: fCC Coding Challenges. Each challenge is implemented as a Python module with unit tests using pytest.
- 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
- Password Strength
- Space Week Day 1: Stellar Constellation
- 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
- Tip Calculator
- Thermostat Adjuster 2
- Speak Wisely, You Must
- Favorite Songs
- Hidden Treasure
- Complementary DNA
- Duration Formatter
- Integer Sequence
- Navigator
- Email Sorter
- Nth Prime
- Spooky Case
- Signature Validation
- Infected
- Word Counter
- Image Search
- Matrix Builder
- Weekday Finder
- Counting Cards
- Python 3.8 or higher
- pytest for running tests
- Clone the repository:
git clone https://github.com/tonybnya/fcc-daily-coding-challenge
cd fcc-daily-coding-challenge- Install pytest (if not already installed):
pip install pytest- Run All Tests:
# Run all tests with verbose output
pytest tests/ -v
# Run tests and show which tests passed/failed
pytest tests/