Daily Coding Challenges & Projects
Weekend
Frontend Mini Project Challenge
Theme : Mini Frontend Projects
Challenge :
Build a Dark Mode Toggle
- Use plain JavaScript or React/Vue.
- Store user preference in localStorage so the mode persists after refresh.
- Bonus : Add smooth CSS transitions between modes.
Alternative :
Build a Responsive Navbar with Hamburger Menu.
- Should collapse on small screens.
- Add animation when opening/closing.
Playground :CodeSandbox / CodePen
Backend Challenge
Category : Scala, R, Swift, TypeScript
Scala Challenge :
- Implement a REST API in Scala (Play Framework) that returns a list of books in JSON.
R Challenge :
- Write an R script to connect to a database, run a query, and export results to CSV.
Swift Server-Side Challenge :
- Create a simple API using Vapor (Swift) that returns "Hello, Backend!"
TypeScript (Node.js + Express) :
- Build a /users endpoint with CRUD operations (Create, Read, Update, Delete).
Database Query Challenge
Problems on SQL - HR Database :
- Write a SQL query to list employees who work in more than one department.
- Write a SQL query to find the 3 highest-paid employees in each department.
Data Structures & Algorithms Challenge
- Easy:
- Problem :Find the first non-repeating character in a string.
- Hint :Use a hash map (dictionary) to count frequencies.
- Medium:
- Problem : Implement LRU Cache using Doubly Linked List + Hash Map.
- Hint :Use OrderedDict in Python or LinkedHashMap in Java.
- Hard:
- Problem :Given a weighted graph, implement Dijkstra’s Algorithm to find the shortest path.
- Hint :Use priority queue (min-heap).
Bug of the Day
Language : Scala, R, Swift, TypeScript
Buggy Code ( TypeScript ):
function addNumbers(a: number, b: number): number {
return a + b;
}
console.log(addNumbers("2", "3"));
Find & Fix : What’s wrong?
📋 Daily Micro-Project
Type : Backend
Task :
Create a file upload API in Node.js + Express.
- Accept only images (jpg, png).
- Store them in a uploads/ directory.
Bonus : Add validation (file size limit 5MB).
Trivia: 5 Fun Facts
- The first computer mouse was made of wood (1964).
- The first computer bug was an actual moth stuck in a Harvard Mark II relay (1947).
- JavaScript was created in just 10 days by Brendan Eich.
- The name Python comes from “Monty Python,” not the snake.
- The first website ever (1991) is still online: info.cern.ch.
Tool & Resource of the Day
Tool : Postman
Link : Postman
- Super useful for testing APIs.
- Supports collections, automated tests, and environment variables.
Resource Roundup :
- Free eBook: REST API Design Rulebook
- Cheat Sheet: REST API Best Practices
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- What’s the difference between controlled and uncontrolled components in React?
- Explain React’s Context API and use cases.
- What is the difference between v-if and v-show in Vue.js?
- Explain the concept of React reconciliation.
-
Backend :
- How does Node.js handle concurrency with a single thread?
- Explain goroutines in Go.
- What is garbage collection in Java, and how does it work?
- Difference between Monolith and Microservices architecture.
- What are transactions in SQL?
- Difference between clustered and non-clustered indexes.
- What is ACID in databases?
- What is CI/CD? Why is it important in DevOps?
- Explain container orchestration with Kubernetes
Daily Quiz Challenge
- What hook replaces componentDidMount in React?
- useReducer
- useState
- useEffect
- useMemo
- Which CSS property makes text bold?
- font-size
- font-weight
- text-decoration
- text-style
- In Vue.js, which directive is used for looping?
- v-for
- v-if
- v-show
- v-bind
Frontend :
- Which language introduced goroutines?
- What is the default port of HTTP?
- In Python, what does __init__ do?
Backend :
- Database : Which SQL keyword is used to remove duplicates?
- Other : Who created Linux?
Mixed :
Weekly Cross-Domain Activities ( August 22 to August 28, 2025 )
API of the Day:
Build a Weather App using OpenWeatherMap API.
Linux Tip :Use htop to monitor CPU, memory, and processes in real-time.
Real-World Project of the Week ( August 22 to August 28, 2025 )
Project of the Week:
Build a Personal Portfolio Website with HTML, CSS, and JavaScript.
Collaborative Project :
Create an Open Source Expense Tracker in React + Node.js.
Case Study :
Analyze Twitter’s infinite scrolling → implement it using React + Intersection Observer API.
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