Daily Coding Challenges & Projects
Monday
Frontend Mini Project Challenge
Category : JavaScript Logical Puzzle + JavaScript Debugging
Challenge :
Write a function groupByLength(arr) that takes an array of strings and returns an object grouping strings by their length without using any built-in grouping methods.
Example :
groupByLength(["hi", "yes", "cat", "dog", "a"]);
// Expected Output:
// { '1': ['a'], '2': ['hi'], '3': ['yes', 'cat', 'dog'] }
Debugging Task :
function multiply(a, b) {
return a * b;
}
console.log(multiply(5)); // What's wrong?
// Fix the bug so that missing arguments default to 1.
Backend Challenge
Category : C, C++, C#
Problem :
Write a C program to check if a linked list contains a cycle without using extra memory.
Example :
- Input : Linked list with a cycle → Output: "Cycle detected"
- Input : Linked list without a cycle → Output: "No cycle"
Database Query Challenge
Problems on SQL - HR Database :
- Find employees who joined in the last 90 days
- Find employees who have not received a salary increase in the last 2 years
Data Structures & Algorithms Challenge
- Easy:
- Problem :Reverse an array in place without using extra space.
- Hint :Use two pointers, swap from both ends.
- Medium:
- Problem : Implement a function to check if two strings are anagrams.
- Hint :Use character frequency count.
- Hard:
- Problem :Find the shortest path in a weighted graph using Dijkstra’s algorithm.
- Hint :Use a priority queue/min-heap.
Bug of the Day
Language : C
C Bug
Buggy Code:
#include <stdio.h>
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 : Find and fix the bug so it doesn’t print garbage values or cause segmentation fault.
📋 Daily Micro-Project
Type : Frontend
Task :
Create a glowing button with only HTML & CSS that changes color when hovered.
Trivia: 5 Fun Facts
- JavaScript was created in just 10 days by Brendan Eich in 1995.
- C language was developed by Dennis Ritchie in 1972 at Bell Labs.
- The first-ever website is still online: info.cern.ch.
- Python was named after the comedy show Monty Python’s Flying Circus, not the snake.
- CSS3 introduced animations and transitions without JavaScript.
Tool & Resource of the Day
Tool : CodePen
Use : An online playground for front-end developers to write HTML, CSS, and JS code and see results instantly. Great for quick experiments.
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- What is the difference between null and undefined in JavaScript?
- Explain event delegation in JavaScript.
- How does the Virtual DOM in React improve performance?
- What are Vue.js watchers used for?
-
Backend :
- Difference between synchronous and asynchronous programming in Node.js?
- What is a thread vs. a process?
- How does Python manage memory?
- REST API vs GraphQL differences?
- Difference between INNER JOIN and LEFT JOIN?
- How does indexing improve query performance?
- SQL vs NoSQL differences?
- What are system calls in OS? Example?
- What is containerization, and how does Docker help in deployment?
Daily Quiz Challenge
- What is the output?
- []
- ""
- undefined
- null
Frontend :
console.log([] + []);
- transform
- transition
- translate
- animate
- Array
- HTMLCollection
- NodeList
- Object
- In C, which keyword allocates dynamic memory?
- malloc
- alloc
- memalloc
- new
- In C++, what does RAII stand for?
- Resource Acquisition Is Initialization
- Random Access Input Initialization
- Recursive Allocation in Iterations
- Resource Allocation Is Immediate
- Which C# keyword is used to define a constant?
- constant
- const
- readonly
- define
Backend :
- Database : Which SQL clause filters aggregated results?
- Other : Which OS is the basis for Android?
Mixed :
Weekly Cross-Domain Activities ( August 01 to August 07, 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 ( August 01 to August 07, 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 28-07-2025 29-07-2025 05-08-2025 06-08-2025 07-08-2025