Daily Coding Challenges & Projects
Monday
Frontend Mini Project Challenge
Theme : JS Logical Puzzles / Debugging
Challenge :
Write a JavaScript function that checks whether a given string has balanced parentheses.
Example :
- "(()())" → ✅ Balanced
- "(()" → ❌ Not Balanced
Bonus : Extend it to check {}, [] along with ().
function isBalanced(str) { // Your code here }
Try it online : CodePen / JSFiddle
Backend Challenge
Category : C, C++, C#
Challenge :
C : Write a program to reverse a string using pointers (no built-in string library functions).
C++ : Implement a class BankAccount with deposit, withdraw, and balance check methods. Add exception handling for insufficient balance.
C# : Create a console app that connects to a SQL Server database and retrieves all rows from an Employees table.
Database Query Challenge
Problems on SQL - HR Database :
- Write a query to list employees who earn more than the average salary of their department.
- Write a query to fetch the top 3 highest-paid employees in each department.
Data Structures & Algorithms Challenge
- Easy:
- Problem :Implement a function to reverse an array.
- Hint :Use two-pointer swapping.
- Medium:
- Problem : Implement a stack using two queues.
- Hint :Think about push vs. pop complexity.
- Hard:
- Problem :Given a graph, implement a function to detect if there is a cycle using DFS.
Bug of the Day
Language : C, C++, C#
Buggy Code ( C ):
#include <stdio.h>
int main() {
char str[5];
scanf("%s", str);
printf("%s", str);
return 0;
}
Challenge : Find and fix the error. (Hint: Think about buffer overflow when input > 4 chars.)
📋 Daily Micro-Project
Type : Frontend
Task :
Build a CSS-only toggle switch (like an ON/OFF button).
Trivia: 5 Fun Facts
- The first computer bug was literally a moth, found in a Harvard Mark II in 1947.
- Java was originally called Oak.
- The C language was created at Bell Labs by Dennis Ritchie.
- Git was developed by Linus Torvalds in 2005.
- The first website ever built is still online: info.cern.ch.
Tool & Resource of the Day
Tool : Figma
Use : Collaborative design tool for UI/UX.
Resource Roundup :
- Figma Crash Course (YouTube)
- Free UI Kits on Figma Community
- "Design Better" eBook series
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- What are closures in JavaScript? Give an example.
- Explain the difference between == and === in JavaScript.
- What are controlled vs. uncontrolled components in React?
- How do Vue.js lifecycle hooks work?
-
Backend :
- What are memory leaks in C++ and how do you prevent them?
- Explain the difference between abstract class and interface in C#.
- How does garbage collection work in Java?
- What are threads in C, and how are they created (POSIX threads)?
- What is a correlated subquery?
- What is the difference between UNION and UNION ALL?
- Explain clustered vs. non-clustered indexes.
- What is an operating system kernel?
- Explain virtualization vs. containerization.
Daily Quiz Challenge
- What is the output?
Frontend ) :
console.log(typeof NaN);
- number
- NaN
- undefined
- object
- font-style
- font-weight
- text-decoration
- font-variant
- useState
- useEffect
- useContext
- useReducer
- In C, which header is needed for malloc()?
- stdio.h
- string.h
- stdlib.h
- malloc.h
- In C#, which keyword is used to handle exceptions?
- try
- throw
- catch
- finally
- Which OOP concept allows multiple functions with the same name but different parameters?
- Encapsulation
- Inheritance
- Polymorphism
- Abstraction
Backend :
- Database : Which SQL keyword is used to sort the results?
- SORT
- ORDER BY
- GROUP BY
- ARRANGE
- Other : Who created the Python programming language?
- Guido van Rossum
- James Gosling
- Brendan Eich
- Dennis Ritchie
Mixed :
Weekly Cross-Domain Activities ( August 15 to August 21, 2025 )
API of the Day:
Build a currency converter using the ExchangeRate API
Real-World Project of the Week ( August 15 to August 21, 2025 )
Project of the Week:
Idea : Build a personal expense tracker
- Frontend : React + Tailwind CSS
- Backend : Node.js + Express + MongoDB
- Features : Add, edit, delete expenses; filter by date and category; show monthly summaries.
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