Daily Coding Challenges & Projects
Tuesday
Frontend Mini Project Challenge
Theme : CSS Animation Effects
Challenge :
Create a "bouncing dots loading indicator" using only CSS.
Requirements :
- Use @keyframes to animate.
- Create 3 dots bouncing in a loop.
- No JavaScript.
Bonus : Add delay so each dot animates in sequence.
Backend Challenge
Language Focus : Java, Kotlin
Challenge :
Java API Problem : Create a RESTful endpoint in Spring Boot that receives a POST request with a list of integers and returns their sum.
Bonus: Add input validation and return meaningful HTTP status codes.
Database Query Challenge
Problems on SQL - HR Database :
- Write a SQL query to list employees who report to the same manager as ‘Steven King’.
- Write a query to find departments that have more than 3 employees hired in the last 6 months.
Data Structures & Algorithms Challenge
- Easy:
- Problem : Given an array of numbers, find the second smallest number.
- Hint : Track two minimums while iterating.
- Medium:
- Problem : Implement an LRU Cache using a combination of HashMap and Doubly Linked List.
- Hint : Use get() and put() with O(1) time.
- Hard:
- Problem : Given a list of jobs with deadlines and profits, schedule to maximize profit assuming only one job can be done at a time.
- Hint : Greedy approach, sort by profit, track slots.
Bug of the Day
Language Focus :
Language : Java
Buggy Code:
public class Test {
public static void main(String[] args) {
int[] arr = null;
if (arr.length == 0) {
System.out.println("Empty array");
}
}
}
Find and fix the issue. :
Hint : What's the value of arr?
📋 Daily Micro-Project
Backend Focus :
Project :
Create a simple Java CLI tool to convert temperatures between Celsius and Fahrenheit.
- Use Scanner for input.
- Support both directions.
- Handle incorrect input gracefully.
Trivia: 5 Fun Facts
- Kotlin was officially endorsed by Google for Android in 2017.
- CSS was first proposed by Håkon Wium Lie in 1994.
- Java was originally called Oak.
- The term “bug” in computing dates back to a real moth found in a relay.
- Kotlin's name comes from Kotlin Island near St. Petersburg, Russia.
Tool & Resource of the Day
Tool : Animista
Website to explore and copy-paste ready-made CSS animations
https://animista.net
Resource Roundup :
- CSS Animation Cheat Sheet - https://animate.style
- JavaScript: The Definitive Guide (MDN online)
- MDN CSS Transforms & Transitions Docs
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- How do transition and animation differ in CSS?
- What is z-index and how does stacking context affect it?
- How does position: sticky work?
- Explain how reflow and repaint differ in browser rendering.
-
Backend :
- What are checked vs unchecked exceptions in Java?
- How does Kotlin handle null safety?
- What are Java Streams? How do they support functional programming?
- Explain the JVM memory model (heap, stack, metaspace).
- What does DISTINCT do in SQL?
- What is the use of EXPLAIN PLAN?
- How does GROUP BY differ from ORDER BY?
- What is a race condition? How do you prevent it?
- What is the difference between CI and CD?
Daily Quiz Challenge
- What property is used to make elements fade in and out in CSS?
- opacity
- visibility
- display
- index
- Which CSS unit is relative to the font-size of the root element?
- rem
- em
- vh
- px
- Which of the following enables a CSS animation to loop infinitely?
- animation-delay: infinite
- animation-iteration-count: infinite
- animation-name: loop
- animation-duration: forever
Frontend Quiz :
- What is the output of System.out.println(10/0); in Java?
- 0
- Infinity
- Compilation error
- Runtime exception
- In Kotlin, which keyword is used to define immutable variables?
- var
- const
- val
- final
- Which collection in Java does not allow duplicate elements?
- List
- Map
- Set
- Array
Backend Quiz :
- Database : What does the HAVING clause filter?
- Rows
- Columns
- Groups
- Tables
- General : Which file is used in Git to ignore files?
- .gitconfig
- .gitkeep
- .gitignore
- .ignore
Others :
Weekly Cross-Domain Activities ( June 20 to June 26, 2025 )
API of the Day:
Task : Integrate the News API to fetch top headlines based on user-selected categories.
Bonus :Add search and filter by country or keyword.
Linux/DevOps Tip :
Title : Monitor Server Resources
Commands :
- top – Live process monitoring
- df -h – Disk space usage
- free -m – Memory usage
- uptime – Server load
- lsof – Open files
Real-World Project of the Week ( June 20 to June 26, 2025 )
Project of the Week:
Build a Resume Builder Web App
- Tech Stack: HTML, CSS, JavaScript (React optional)
- Features: Section-wise input (Education, Experience, Skills), Live Preview, Download as PDF
Collaborative Project:
Idea : Open-source a Daily Code Challenge Tracker
- Use GitHub Projects or issues to track challenges.
- Allow contributors to submit PRs for daily code solutions.
Case Study:
How Netflix Handles Streaming at Scale
- Topics: CDN, Microservices, Chaos Engineering
- Activity: Recreate a mini Netflix UI with static video thumbnails and categories using React or Vue.
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