Daily Coding Challenges & Projects
Monday
Frontend Mini Project Challenge
Focus : JavaScript Logical Puzzles & Debugging
Challenge :
Write a JavaScript function that returns the intersection of two arrays without using built-in filter() or Set.
Debugging Puzzle :
function reverseStr(str) {
return str.split().reverse().join();
}
console.log(reverseStr("hello"));
Fix the bug so that it correctly reverses "hello" → "olleh".
Playground :CodePen / JSFiddle
Backend Challenge
|Focus : C, C++, C#
C Challenge :
- Write a program to find the second largest element in an array without sorting.
C++ Challenge :
- Implement a stack using two queues.
C# Challenge :
- Write a C# program to connect to a SQL Server database and fetch all records from an Employees table."
Database Query Challenge
Problems on SQL - HR Database :
- Write a query to display employees whose salary is above the average salary of their department.
- Write a query to list the top 2 highest-paid employees in each job role
Data Structures & Algorithms Challenge
- Easy:
- Problem :Find the maximum sum subarray of size k.
- Hint :Use the sliding window technique.
- Medium:
- Problem : Implement a min stack (stack that supports retrieving the minimum element in O(1) time).
- Hint :Use an auxiliary stack or track min with each push.
- Hard:
- Problem :Given a graph, detect if it has a cycle (directed graph).
- Hint :Use DFS with recursion stack or Kahn’s algorithm.
Bug of the Day
Focus : C, C++, C#
Buggy Code ( C ):
#include
int main() {
int arr[5] = {1,2,3,4,5};
for(int i = 0; i <= 5; i++) {
printf("%d ", arr[i]);
}
return 0;
}
Find & Fix : What’s wrong?
📋 Daily Micro-Project
Focus : Frontend
Task :
Build a real-time character counter for a text area.
- Show remaining characters (limit 200).
- If limit exceeds, show warning in red.
Trivia: 5 Fun Facts
- The first computer programmer was Ada Lovelace in the 1800s.
- The original name of Java was Oak.
- C language was created at Bell Labs by Dennis Ritchie in 1972.
- GitHub was launched in 2008, now hosts 100M+ repos.
- The “Hello, World!” program originated in C tutorials by Brian Kernighan.
Tool & Resource of the Day
Tool : Visual Studio Code
- Lightweight, cross-platform IDE with extensions.
- Perfect for JavaScript, Python, C++, and full-stack development.
Resource Roundup :
- FreeCodeCamp’s JavaScript Handbook
- GeeksforGeeks C Programming Practice
- Microsoft Docs for C#
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- Difference between == and === in JavaScript?
- How does JavaScript handle asynchronous code (event loop)?
- Explain this keyword in different contexts.
- What are React keys, and why are they important?
-
Backend :
- Explain memory leaks in C.
- What is the difference between struct and class in C++?
- How does garbage collection work in C#?
- Explain multi-threading in C#.
- What is a foreign key?
- Difference between primary key and unique key?
- Explain normalization and its types.
- What is an operating system kernel?
- Explain virtualization vs containerization.
Daily Quiz Challenge
- What is the output of console.log([] + []);
- In React, which hook is used for managing side effects?
- Which CSS property controls text size?
Frontend :
- In C, malloc() returns:
- Which operator is overloaded by cout in C++?
- In C#, what does async keyword indicate?
Backend :
- Database : SQL keyword used to sort results
- Other :Who created the C programming language?
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 22-08-2025