Daily Coding Challenges & Projects
Tuesday
Frontend Mini Project Challenge
CSS Animation
Challenge :
Create a CSS Hover Glow Animation on Buttons
Objective : Create a button that glows and pulses when hovered.
Specs :
- Use @keyframes and box-shadow.
- No JavaScript allowed.
- Should have a smooth infinite glow effect on hover.
Backend Challenge
Java / Kotlin
Challenges :
Design a Class to Represent a Bank Account with Transaction Logs
Requirements :
- Track deposits, withdrawals with timestamps.
- Use OOP principles.
- Print account balance and transaction history.
- Use ArrayList or List to manage history.
Bonus :
- Add feature to filter transactions by type (deposit/withdrawal).
Optional Prompt:
In Kotlin, use data class and sealed class for transaction types.
Database Query Challenge
Problems on SQL - HR Database :
- Find departments with more than 5 employees.
- List employees who haven’t changed departments since they were hired.
Data Structures & Algorithms Challenge
- Easy:
- Problem: Find the first non-repeating character in a string.
- Hint: Use a hash map to track character frequency.
- Medium:
- Problem: Implement a Min Stack (stack supporting push, pop, top, and getMin in O(1)).
- Hint: Maintain a secondary stack for current minimums.
- Hard:
- Problem: Find the longest path in a binary tree where each node has the same value.
- Hint: Use DFS and return path length from each subtree.
Bug of the Day
Language Focus : Java / Kotlin
Language: Java
Buggy Code:
public class Main {
public static void main(String[] args) {
int[] arr = new int[5];
for (int i = 0; i <= arr.length; i++) {
arr[i] = i * 2;
}
System.out.println(Arrays.toString(arr));
}
}
Challenge :
- Find and fix the issue in the above code.
- Hint : Look at the loop condition and array indexing.
📋 Daily Micro-Project
Backend :
Challenge :
Create a simple REST API in Java or Kotlin ( Spring Boot )
Endpoint : /api/greet?name=John
Response : { "message": "Hello, John!" }
Bonus : Add timestamp in the response.
Trivia: 5 Fun Facts
- Kotlin is officially supported by Google for Android development since 2017.
- CSS3 introduced transitions and animations.
- Java was originally named “Oak”.
- The term “bug” was popularized by Grace Hopper.
- The first computer programmer is considered to be Ada Lovelace.
Tool & Resource of the Day
Tool : Spring Initializr
Description :
Quickly bootstrap your Spring Boot applications.
Resource Roundup:
- Baeldung - Spring Boot Guides
- Kotlinlang Docs
- CSS Tricks - Animations
Interview Question of the Day
Daily Interview Questions
- How does z-index work in CSS and what are stacking contexts?
- What’s the difference between em, rem, %, and px units?
- Explain transition and transform in CSS.
- How can you create a responsive layout using Flexbox?
- What’s the difference between an abstract class and an interface in Java?
- How does exception handling work in Kotlin?
- What is the JVM and how does it work?
- What is the use of suspend in Kotlin?
- Explain ACID properties in databases.
- What is a composite key?
- What is the difference between UNION and UNION ALL?
- What is a virtual machine in computing?
- How is CI/CD used in modern DevOps?
Daily Quiz Challenge
- Which CSS property controls the speed of transition effects?
- What does transform: scale(1.5); do?
- What is the default value of position in CSS?
Frontend ( CSS ) :
- What is the default access modifier in Java?
- Which keyword is used for coroutine support in Kotlin?
- How do you define a record in Java?
Backend ( Java/Kotlin ) :
- What does the GROUP BY clause do?
Database :
- Docker is primarily used for...?
Others :
- JavaScript is a ___ typed language? (Static/Dynamic)
- What is the SQL keyword for combining rows from two queries?
- What’s the difference between var, let, and const in JavaScript?
Mixed Quiz :
Weekly Cross-Domain Activities ( May 09 to May 15, 2025 )
API of the Day:
NASA Astronomy Picture of the Day (APOD) — Use NASA's APOD API to fetch the image or video of the day along with its description, and display it in a simple UI.
Challenge :
Build a gallery-style viewer where users can:
- See today’s image
- Browse previous days using a calendar or buttons
- Read accompanying explanations
Resource:
Linux/DevOps Tip :
Monitor disk I/O and performance using iotop, sar, and glances
Commands to Explore :
- iotop – Monitor real-time I/O usage by processes
- sar – Collect, report, or save system activity information
- glances – A cross-platform monitoring tool with an elegant web UI
Real-World Project of the Week ( May 09 to May 15, 2025 )
Project of the Week:
- Add, categorize, and delete transactions
- View monthly summaries and pie charts
- Store data locally or connect to a backend for persistence
Build a Budget Tracker Web App — Develop a web-based expense tracker where users can:
Tech Stack : HTML, CSS, JavaScript (with Chart.js for graphs)
Collaborative Project:
Join the First Contributions GitHub Project — Learn how to make your first open-source pull request and contribute to beginner-friendly repositories with guided instructions.
Case Study:
Explore Trello's Task Management UI — Analyze how Trello manages drag-and-drop task organization with React and libraries like react-beautiful-dnd.
Challenge :
Try building a minimal Kanban board with drag-and-drop cards and persistent state.
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