Daily Coding Challenges & Projects
Monday
Frontend Mini Project Challenge
JavaScript Puzzle
Project :
Write a function that checks whether a given number is a palindrome without converting it to a string.
Hint : Use arithmetic (modulus, division) to reverse the number.
JavaScript Debugging
let result = 0;
for (var i = 0; i < 5; i++) {
setTimeout(() => {
console.log(i); // What's the issue?
}, 1000);
}
Fix : Use let, IIFE, or closures to preserve loop state.
Try It Online :
Backend Challenge
Language Focus : C, C++, C#
C Challenge :
Write a C program to reverse a singly linked list
C++ Challenge :
Implement a simple file logger class that appends timestamped logs to a file.
C# Challenge :
Create a Web API using ASP.NET Core that returns a list of users in JSON format.
Database Query Challenge
Problems on SQL - HR Database :
- List employees who joined in the last 90 days.
- Find departments where average salary is below 50,000.
Data Structures & Algorithms Challenge
- Easy:
- Problem :Find the second largest number in an array
- Hint :Track top two elements in one pass.
- Medium:
- Problem : Implement a queue using two stacks
- Hint :Use two stacks to simulate enqueue/dequeue.
- Hard:
- Problem :Longest substring without repeating characters
- Hint :Sliding window + hash set.
Bug of the Day
Language : C
C Bug
Buggy Code:
#include
int main() {
char *str = "Hello";
str[0] = 'h';
printf("%s", str);
return 0;
}
Bug :You're modifying a string literal.
Fix :Use char str[] = "Hello";
📋 Daily Micro-Project
Frontend :
Task :
Build a tooltip component using only HTML/CSS.
Bonus : Position it top/bottom using CSS variables.
Trivia: 5 Fun Facts
- JavaScript was created in 10 days by Brendan Eich.
- C++ was originally called C with Classes.
- C# was developed by Microsoft as part of the .NET initiative.
- The first web browser was called WorldWideWeb.
- The <canvas> element was introduced in HTML5.
Tool & Resource of the Day
Tool : CodeSandbox
A powerful online editor for React, Vue, Angular projects.
Resource Roundup :
- Frontend Mentor – Real-world frontend projects
- CSS Tricks – Expert tips on all things CSS
Interview Question of the Day
Daily Interview Questions
-
Frontend ( JS-Focused ) :
- What is the difference between == and ===?
- How does hoisting work in JavaScript?
- Explain the event loop and call stack.
- What are closures and how are they used?
-
Backend ( C, C++, C# ) :
- What is a memory leak in C/C++?
- How does garbage collection work in C#?
- What is a segmentation fault?
- What are value types vs reference types in C#?
- What is a foreign key?
- How do indexes work in databases?
- Difference between WHERE and HAVING.
- What is a system call?
- How is multithreading different from multiprocessing?
Daily Quiz Challenge
- What is the output of typeof NaN?
- Can you reassign const objects?
- What does [].push(1, 2).pop() return?
Frontend ( JS ) :
- Which keyword is used in C# to define an interface?
- What is malloc used for in C?
- C++ STL: What does a set do?
Backend ( C, C++, C# ) :
- DB: What does GROUP BY do?
- System: What does the fork() system call return?
Others :
Weekly Cross-Domain Activities ( July 18 to July 24, 2025 )
API of the Day:
JokeAPI : Build a random joke app with categories and flags (NSFW filter).
Linux/DevOps Tip :
Use htop, iotop, and iftop to monitor CPU, disk, and network usage on Linux servers.
Real-World Project of the Week ( July 18 to July 24, 2025 )
Project of the Week:
Build a Task Manager App
- Use React + Express + MongoDB
- Support CRUD: Tasks with due dates, priority, and status
- Implement filters (Today, Completed, Priority)
Collaborative Project:
Start a GitHub repo for this task manager and invite others to contribute (issues, PRs, README).
Case Study:
Analyze the GitHub UI/UX — Can you recreate the repository page using frontend tools?
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