Daily Coding Challenges & Projects
Thursday
Frontend Mini Project Challenge
Theme : React Hooks & State Management
Challenge :
Build a React Counter App with the following features:
- + and – buttons to increment/decrement the counter.
- A Reset button.
- Use useState hook.
Bonus : Persist count in localStorage using useEffect.
Backend Challenge
Focus : Node.js & Go
Node.js Challenge :
Create an Express.js API with two endpoints:
- GET /users → Returns a list of users from a mock JSON file.
- POST /users → Accepts a new user and adds it to the JSON file.
Go Challenge :
Write a Go program to implement a concurrent worker pool:
- Accepts a list of jobs.
- Uses goroutines to process them.
- Prints results as they complete.
Database Query Challenge
Problems on SQL - HR Database :
- Write a query to find employees who joined in the last 6 months
- Write a query to list employees earning the highest salary in each department.
Data Structures & Algorithms Challenge
- Easy:
- Problem : Check if two strings are anagrams of each other.
- Hint :Hashing
- Medium:
- Problem : Find the lowest common ancestor of two nodes in a BST.
- Hint :Binary Search Tree
- Hard:
- Problem : Given a grid with obstacles, find the shortest path from top-left to bottom-right using BFS.
- Hint :Graph + BFS/DFS
Bug of the Day
Focus : Node.js, Go
Buggy Code ( Node.js ) :
const fs = require('fs');
fs.readFile('data.json', (data, err) => {
if(err) {
console.log("Error:", err);
}
console.log("File Data:", data.toString());
});
Challenge: : Find and fix the bug(s).
📋 Daily Micro-Project
Focus : Frontend
Task :
Build a React search filter component:
- Input box filters a list of names in real time.
- Use useState and filter().
Trivia: 5 Fun Facts
- React was developed by Facebook in 2013.
- Node.js is built on Google’s V8 engine.
- Go (Golang) was developed at Google in 2009.
- SQL’s NULL is not equal to anything, not even itself.
- The first Go mascot is the gopher, designed by Renee French.
Tool & Resource of the Day
Tool : VS Code Extensions
- ESLint (JavaScript/Node.js linting).
- Prettier (code formatting).
- Go Extension (Go development support).
Resource Roundup :
- React Docs
- Go by Example
- Node.js Docs
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- Explain the difference between useState and useReducer in React.
- What is the purpose of useEffect?
- What is the difference between controlled and uncontrolled components in React?
- How does React’s reconciliation algorithm work?
-
Backend :
- What is event-driven architecture in Node.js?
- Explain concurrency in Go.
- How does Go manage garbage collection?
- What are middleware functions in Express.js?
- What is a composite key in SQL?
- Explain the difference between clustered and non-clustered indexes.
- How do foreign key constraints maintain referential integrity?
- What is the CAP theorem in distributed systems?
- Explain the concept of API rate limiting.
Daily Quiz Challenge
- In React, which hook is used to manage local state?
- useContext
- useState
- useReducer
- useRef
- What is JSX in React?
- A templating engine
- A syntax extension for JavaScript
- A CSS preprocessor
- A database query language
- Which attribute in React replaces class in JSX?
- css
- style
- className
- classList
Frontend :
- In Node.js, which module is used to create a web server?
- http
- fs
- net
- express
- Which Go keyword is used to start a goroutine?
- thread
- routine
- go
- run
- Which method in Express.js is used to define a middleware?
- app.route()
- app.middleware()
- app.use()
- app.set()
Backend :
- Which SQL clause is used to group rows that have the same values?
- GROUP BY
- HAVING
- ORDER BY
- DISTINCT
- Who created the Go programming language?
- Guido van Rossum
- Robert Griesemer, Rob Pike, and Ken Thompson
- Brendan Eich
- James Gosling
- Which of the following is true?
- React doesn’t support hooks.
- Node.js is single-threaded.
- Go doesn’t support concurrency.
- SQL always requires indexes.
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 17-09-2025