Daily Coding Challenges & Projects
Wednesday
Frontend Mini Project Challenge
Theme : Vue.js Components
Challenge :
Build a Vue.js component for a Todo List with the following features:
- Add a task
- Mark task as complete
- Delete task
- Use v-model, v-for, and v-on
Backend Challenge
Focus : Python, PHP
Python Challenge :
Write a Python script that:
- Reads a CSV file of employees (id, name, salary, department).
- Groups employees by department.
- Prints the average salary per department.
PHP Challenge :
Create a PHP script that:
- Accepts form input (name, email).
- Validates the email format.
- Stores data in a MySQL database table users(name, email).
Database Query Challenge
Problems on SQL - HR Database :
- Write a query to find the employees who earn more than their department’s average salary.
- Write a query to list departments with no employees.
Data Structures & Algorithms Challenge
- Easy:
- Problem : Implement a function to reverse a queue using a stack.
- Hint :Queue/Stack
- Medium:
- Problem : Given meeting start and end times, find the maximum number of meetings that can be scheduled in a single room.
- Hint :Greedy + Sorting
- Hard:
- Problem : Given a matrix of integers, find the maximum path sum from top to bottom (moving only down, down-left, or down-right).
- Hint :DP + Matrix Traversal
Bug of the Day
Focus : Python, PHP
Buggy Code ( Python ) :
nums = [1, 2, 3, 4]
for i in range(0, len(nums)):
if nums[i] % 2 == 0:
nums.remove(nums[i])
print(nums)
Challenge: Identify and fix the bug(s).
📋 Daily Micro-Project
Focus : Database
Task :
Optimize a SQL query:
SELECT * FROM employees WHERE salary > 50000 ORDER BY department_id;
- Add indexing strategy to make the query efficient.
Trivia: 5 Fun Facts
- The first Python version was released in 1991.
- The first PHP version was created in 1994 by Rasmus Lerdorf.
- Vue.js was created by Evan You, a former Google engineer.
- The SQL language was developed at IBM in the 1970s.
- The term "bug" in computing was popularized by Grace Hopper.
Tool & Resource of the Day
Tool : MySQL Workbench
- Visual database design tool.
- Great for ER diagrams and query optimization.
Resource Roundup :
- MySQL Workbench Docs
- Free SQL Course
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- What are Vue.js lifecycle hooks?
- Explain the difference between v-if and v-show.
- How does Vue handle reactivity?
- What is the role of props in Vue components?
-
Backend :
- What is the difference between Python’s list and tuple?
- Explain Python’s GIL (Global Interpreter Lock).
- What are PHP sessions and cookies?
- How does PHP handle memory management?
- What is a foreign key in SQL?
- Explain the difference between UNION and UNION ALL.
- What are triggers in databases?
- What is a deadlock in operating systems?
- Explain the difference between monolithic and microservices architecture.
Daily Quiz Challenge
- Which directive in Vue.js binds data to an element?
- v-model
- v-bind
- v-for
- v-if
- Which Vue directive is used for conditional rendering?
- v-show
- v-if
- v-for
- v-bind
- In CSS, which property is used for grid layout?
- display: flex
- display: block
- display: grid
- display: inline-grid
Frontend :
- Which Python keyword is used for exception handling?
- try/except
- catch
- handle
- error
- In PHP, which function starts a session?
- start_session()
- begin_session()
- session_start()
- init_session()
- Which Python data type is immutable?
- List
- Dictionary
- Set
- Tuple
Backend :
- Which SQL statement is used to change a table structure?
- ALTER TABLE
- MODIFY TABLE
- UPDATE TABLE
- CHANGE TABLE
- Who is the creator of Python?
- Guido van Rossum
- James Gosling
- Linus Torvalds
- Bjarne Stroustrup
- Which of the following is true?
- PHP is compiled before execution.
- Python has no garbage collection.
- Vue.js uses a Virtual DOM like React.
- SQL is object-oriented.
Database :
Other :
Mixed Quiz :
Weekly Cross-Domain Activities ( September 12 to September 18, 2025 )
API of the Day:
Integrate the NASA Astronomy Picture of the Day API and display today’s image.
Linux / DevOps Tip : Use df -h to check disk usage and du -sh for folder sizes.
Real-World Project of the Week ( September 12 to September 18, 2025 )
Project of the Week:
Build a habit tracker app ( Frontend: React/Vue + Backend: Node.js/Scala + DB: PostgreSQL).
Collaborative Project :
Join the open-source project FreeCodeCamp
Case Study :
Study how Netflix handles recommendations using collaborative filtering.
Previous Daily Coding Challenges & Projects : 04-04-2025 07-04-2025 08-04-2025 09-04-2025 10-04-2025 11-04-2025 14-04-2025 15-04-2025 16-04-2025 17-04-2025 18-04-2025 21-04-2025 22-04-2025 23-04-2025 24-04-2025 25-04-2025 28-04-2025 29-04-2025 30-04-2025 01-05-2025 02-05-2025 05-05-2025 06-05-2025 07-05-2025 08-05-2025 09-05-2025 12-05-2025 13-05-2025 14-05-2025 15-05-2025 16-05-2025 19-05-2025 20-05-2025 21-05-2025 22-05-2025 23-05-2025 26-05-2025 27-05-2025 29-05-2025 30-05-2025 02-06-2025 03-06-2025 04-06-2025 05-06-2025 06-06-2025 09-06-2025 10-06-2025 11-06-2025 12-06-2025 13-06-2025 16-06-2025 17-06-2025 18-06-2025 19-06-2025 20-06-2025 23-06-2025 24-06-2025 25-06-2025 26-06-2025 27-06-2025 30-06-2025 01-07-2025 02-07-2025 03-07-2025 04-07-2025 07-07-2025 08-07-2025 09-07-2025 10-07-2025 11-07-2025 14-07-2025 15-07-2025 16-07-2025 17-07-2025 18-07-2025 21-07-2025 22-07-2025 23-07-2025 24-07-2025 25-07-2025 28-07-2025 29-07-2025 05-08-2025 06-08-2025 07-08-2025 11-08-2025 12-08-2025 13-08-2025 14-08-2025 15-08-2025 18-08-2025 19-08-2025 20-08-2025 21-08-2025 22-08-2025 25-08-2025 26-08-2025 27-08-2025 28-08-2025 29-08-2025 15-09-2025 16-09-2025