Daily Coding Challenges & Projects
Monday
Frontend Mini Project Challenge
Category : JavaScript Logical Puzzles, JavaScript Debugging
Challenge 1: JavaScript Logical Puzzle
Title : Flatten a Nested Array Without Recursion
Prompt :
Write a function flattenArray(arr) that flattens a deeply nested array without using recursion.
Example Input :
[1, [2, [3, 4], 5], 6]
Expected Output
[1, 2, 3, 4, 5, 6]
Hint : Consider using a stack or loop with Array.isArray().
Challenge 2: JavaScript Debugging
Buggy Code:
const nums = [1, 2, 3, 4];
const squared = nums.map(n => {
n * n;
});
console.log(squared); // Why doesn't it return squares?
Challenge : Identify and fix the issue.
Backend Challenge
Language Focus : C, C++, C#
C Programming : Reverse a Linked List
Prompt : Write a function in C to reverse a singly linked list.
C++: Count Unique Characters in a String
Prompt : Write a function to return the count of distinct characters in a given string using STL.
C#: Fibonacci using Memoization
Prompt : Implement a function in C# to find the nth Fibonacci number using memoization.
Database Query Challenge
Problems on SQL - HR Database :
- Find employees who joined in the last 3 months.
- Find employees who haven't received a salary increment in the last 2 years.
Data Structures & Algorithms Challenge
- Easy:
- Problem :Find the Maximum Element in an Array
- Hint :Loop once through the array.
- Medium:
- Problem : Two Sum Problem
- Hint :Use a hashmap to store complements.
- Hard:
- Problem :Implement an LRU (Least Recently Used) Cache
- Hint :Use HashMap + Doubly Linked List.
Bug of the Day
Language Focus : C
C Bug
Buggy Code:
#include
int main() {
int a = 10;
if(a = 5) {
printf("True\n");
} else {
printf("False\n");
}
return 0;
}
Challenge : Find and fix the logical bug in the condition.
📋 Daily Micro-Project
Frontend :
Task :
Project : Build a Glowing Button
- Description : Create a glowing effect using only CSS.
- Hint : Use box-shadow and transition.
Trivia: 5 Fun Facts
- Who created JavaScript?
- What was the first programming language?
- What year was Python released?
- Who developed C++?
- Which company created the TypeScript language?
Tool & Resource of the Day
Tool : JSFiddle
Use : Online playground for JS/CSS/HTML
Link : https://jsfiddle.net
Resource Roundup :
- 30 Seconds of Code (JS Snippets)
- CSS Tricks
- Free JavaScript eBook
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- What is the difference between null and undefined in JS?
- How does event delegation work?
- Explain the Virtual DOM in React.
- Difference between computed and watch in Vue.js?
-
Backend :
- Difference between synchronous and asynchronous programming in Node.js?
- Difference between thread and process?
- How does memory management work in Python?
- RESTful API vs GraphQL?
- Inner Join vs Left Join
- How does indexing work?
- SQL vs NoSQL?
- What are system calls in OS? Example?
- What is containerization? How Docker helps?
Daily Quiz Challenge
- What will this return: typeof NaN?
- number
- NaN
- undefined
- object
- Which CSS property makes an element semi-transparent?
- opacity
- transparency
- blur
- alpha
- React component lifecycle: What runs after the first render?
- componentDidMount
- render
- componentWillMount
- useMemo
Frontend :
- What is the output of 2 + "2" in JS?
- "22"
- 4
- Error
- NaN
- Which keyword is used to define a coroutine in Python?
- async
- co
- yield
- def
- In C++, which of the following creates a class?
- class
- def
- struct
- create
Backend :
- Which SQL clause is used to filter grouped rows?
- HAVING
- WHERE
- GROUP BY
- ORDER BY
- Which container tool is best known for deployment?
- Docker
- Git
- Ansible
- Bash
Others :
Weekly Cross-Domain Activities ( July 25 to July 31, 2025 )
API of the Day:
Build a crypto tracker using the CoinGecko API.
Display current prices and 24h change of selected coins.
Linux/DevOps Tip :
Top 10 htop features for server monitoring (process tree, CPU graph, filter by user, etc.)
Real-World Project of the Week ( July 25 to July 31, 2025 )
Project of the Week:
Build a Task Manager App with React + Node.js + MongoDB (MERN Stack)
Collaborative Project:
Create an Open Source GitHub repo for “Interview Prep Hub” – collect user-submitted questions and answers.
Case Study:
Explore how Notion manages blocks and rich content – replicate a basic block-based note editor with contenteditable elements.
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