Daily Coding Challenges & Projects
Tuesday
Frontend Mini Project Challenge
Theme : CSS Animation Effects
Challenge :
Create a bouncing ball animation using only CSS.
- The ball should move up and down smoothly.
- Bonus: Add a shadow that scales as the ball moves.
Try it online : CodePen / JSFiddle
Backend Challenge
Category : Java, Kotlin
Challenge :
Java : Write a program that implements a producer-consumer problem using threads and a shared queue.
Kotlin : Build a simple REST API using Ktor framework with one endpoint /hello that returns "Hello, World!".
Database Query Challenge
Problems on SQL - HR Database :
- Write a query to find employees who earn the second highest salary in the company.
- Write a query to list all employees along with their manager’s name (self-join on Employees table).
Data Structures & Algorithms Challenge
- Easy:
- Problem :Write a function to check if a string is a palindrome.
- Hint :Compare first and last characters moving inward.
- Medium:
- Problem : Implement a function to perform binary search on a sorted array.
- Hint :Use divide-and-conquer, compare middle element.
- Hard:
- Problem :Given an array of integers, find the maximum subarray sum using Kadane’s Algorithm.
- Hint :Keep track of current sum and max sum.
Bug of the Day
Language : Java, Kotlin
Buggy Code ( Java ):
public class Test {
public static void main(String[] args) {
int arr[] = new int[5];
for(int i = 1; i <= 5; i++) {
arr[i] = i * 2;
}
System.out.println("Done!");
}
}
Challenge : Find and fix the issue. ( Hint : Think about array indexing in Java.)
📋 Daily Micro-Project
Type : Backend
Task :
Build a REST API in Java (Spring Boot) or Kotlin (Ktor) that has:
- GET /time → returns current server time.
- GET /greet?name=John → returns "Hello, John!".
Trivia: 5 Fun Facts
- The Java mascot is called Duke.
- Kotlin is the official language for Android development (announced by Google in 2017).
- SQL was originally called SEQUEL (Structured English Query Language).
- The first version of Java was released in 1995.
- The term “bug” in software was popularized by Grace Hopper.
Tool & Resource of the Day
Tool : Postman
Use : Simplifies API testing and automation.
Resource Roundup :
- Postman Docs : API testing basics
- FreeCodeCamp Postman Crash Course
- REST API testing best practices (Postman Blog)
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- What is the difference between relative, absolute, fixed, and sticky positioning in CSS?
- How do CSS transitions differ from CSS animations?
- Explain the concept of CSS specificity.
- What are CSS pseudo-elements? Give examples.
-
Backend :
- What are checked vs. unchecked exceptions in Java?
- Explain the JVM, JRE, and JDK.
- What is a coroutine in Kotlin?
- How does dependency injection work in Spring Boot?
- What is the difference between WHERE and HAVING in SQL?
- Explain the concept of database normalization.
- What is a composite primary key?
- What is a deadlock in operating systems?
- Explain CAP theorem in distributed systems.
Daily Quiz Challenge
- Which CSS property controls the speed of an animation?
- animation-duration
- transition-timing
- speed
- delay
- What is the output?
Frontend ) :
console.log("5" + 1);
console.log("5" - 1);
- 51 and 4
- 6 and 4
- 51 and NaN
- 6 and NaN
- :first-child
- :first-of-type
- :nth-child(0)
- :child-first
- In Java, which keyword is used to inherit a class?
- this
- extend
- extends
- inherit
- Which of the following is true about Kotlin?
- It is fully interoperable with Java
- It cannot run on the JVM
- It is only used for Android
- It doesn’t support OOP
- Which method is used to start a thread in Java?
- run()
- execute()
- start()
- begin()
Backend :
- Database : Which SQL keyword is used to remove duplicates from results?
- DISTINCT
- UNIQUE
- FILTER
- ONLY
- Other : Who is known as the “father of the Java programming language”?
- James Gosling
- Bjarne Stroustrup
- Dennis Ritchie
- Guido van Rossum
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 18-08-2025