Daily Coding Challenges & Projects
Monday
Frontend Mini Project Challenge
Theme : JavaScript Logical Puzzles, Debugging
Challenge :
Write a JavaScript function that takes an array of integers and returns the first number that repeats twice in sequence.
Example :
findRepeat([1, 2, 2, 3, 4, 4, 5]) // Output: 2
Backend Challenge
Focus : C, C++, C#
C Programming Challenge :
Write a C program to implement a stack using linked list with the following operations:
- Push
- Pop
- Peek
- Check if empty
Bonus : Optimize memory usage by freeing unused nodes immediately.
C++ Challenge :
Implement a template-based priority queue (min-heap) in C++ without using STL.
- Insert an element
- Delete minimum
- Peek minimum
C# Challenge :
Write a C# console app that simulates a basic banking system with classes:
- Account (id, name, balance)
- Methods : Deposit, Withdraw, Transfer
Database Query Challenge
Problems on SQL - HR Database :
- Write a query to find employees who are managers but do not have any subordinates in the HR database.
- Write a query to list employees whose salary is above the department’s average salary.
Data Structures & Algorithms Challenge
- Easy:
- Problem : Find the first non-repeating character in a string.
- Hint :Use HashMap/Set
- Medium:
- Problem : Given a string, find the length of the longest substring without repeating characters.
- Hint :Sliding Window + HashMap
- Hard:
- Problem : Find the maximum subarray sum after at most one element deletion.
- Hint :Divide & Conquer, Segment Tree/Fenwick Tree
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\n", arr[i]);
}
return 0;
}
Challenge: Identify and fix the bug(s).
📋 Daily Micro-Project
Focus : Backend
Task :
Build a JavaScript-powered digital clock that updates every second and displays time in HH:MM:SS format.
Trivia: 5 Fun Facts
- The first computer bug was a real moth found in a Harvard Mark II computer in 1947.
- The "C" language was developed in 1972 by Dennis Ritchie at Bell Labs.
- The first website ever created is still online: info.cern.ch.
- Python was named after the comedy series Monty Python’s Flying Circus, not the snake.
- The first version of JavaScript was written in just 10 days by Brendan Eich in 1995.
Tool & Resource of the Day
Tool : Postman
- Simplifies API testing.
- Allows automation with collections.
- Great for debugging backend services.
Resource Roundup :
- Free Postman Learning Center: learning.postman.com
- Beginner-friendly API testing guide: Postman Beginner Tutorial
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- What is the difference between null and undefined in JavaScript?
- Explain how event delegation works in JavaScript.
- How does React’s Virtual DOM improve performance?
- In Vue.js, what’s the difference between computed properties and watchers?
-
Backend :
- What is the difference between a thread and a process?
- Explain synchronous vs. asynchronous programming in Node.js.
- How does garbage collection work in C#?
- Explain REST vs. GraphQL with an example.
- What’s the difference between INNER JOIN and LEFT JOIN?
- How do clustered indexes differ from non-clustered indexes?
- Explain normalization and why it’s important.
- What are system calls in OS? Give an example.
- What is containerization, and how does Docker simplify deployment?
Daily Quiz Challenge
- What is the output?
- []
- ""
- undefined
- null
Frontend :
console.log([] + []);
- transform
- transition
- animation
- keyframes
- v-model
- v-bind
- v-if
- v-for
- Which keyword is used in C to dynamically allocate memory?
- malloc
- new
- alloc
- calloc
- In C++, which principle does "inheritance" represent?
- Abstraction
- Encapsulation
- Reusability
- Polymorphism
- In C#, what does async keyword represent?
- Asynchronous method execution
- Memory optimization
- Data encapsulation
- Thread locking
Backend :
- Which SQL clause is used to filter grouped rows?
- WHERE
- GROUP BY
- HAVING
- ORDER BY
- Who is known as the father of the C programming language?
- Ken Thompson
- Dennis Ritchie
- Brian Kernighan
- James Gosling
- Which of the following is NOT true about REST APIs?
- Stateless communication
- Uses HTTP methods like GET, POST, PUT, DELETE
- Requires a specific programming language
- Can return data in JSON or XML
Database :
Other :
Mixed Quiz :
Weekly Cross-Domain Activities ( September 12 to September 18, 2025 )
API of the Day:
Integrate the NASA Astronomy Picture of the Day API and display today’s image.
Linux / DevOps Tip : Use df -h to check disk usage and du -sh for folder sizes.
Real-World Project of the Week ( September 12 to September 18, 2025 )
Project of the Week:
Build a habit tracker app ( Frontend: React/Vue + Backend: Node.js/Scala + DB: PostgreSQL).
Collaborative Project :
Join the open-source project FreeCodeCamp
Case Study :
Study how Netflix handles recommendations using collaborative filtering.
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 25-08-2025 26-08-2025 27-08-2025 28-08-2025 29-08-2025