Daily Coding Challenges & Projects
Tuesday
Frontend Mini Project Challenge
CSS Animation Effects
Challenge :
Create a "typing text animation" effect using only CSS (no JavaScript allowed).
Requirements :
- Use @keyframes and steps()
- Simulate typing of a sentence like: "Welcome to CodeZone!"
- Include a blinking caret animation
Try it here : CSS Typing Effect on CodePen (Search “typing text css animation”)
Backend Challenge
Java / Kotlin Focus
Challenge :
Write a Kotlin function to convert a Roman numeral string (e.g., "MCMXCIV") to its integer value.
Bonus (Java version) : Implement the same logic using a Map<Character, Integer>.
Database Query Challenge
Problems on SQL - HR Database :
- Write a SQL query to find employees who report to the same manager as 'David Austin'.
- List all departments where the average salary is higher than the company-wide average.
Data Structures & Algorithms Challenge
- Easy:
- Problem: Given an array, find the first non-repeating element.
- Hint: Use a LinkedHashMap to store counts while preserving order.
- Medium:
- Problem: Implement a Least Recently Used (LRU) Cache in Java/Kotlin.
- Hint: Use a LinkedHashMap with access-order set to true.
- Hard:
- Problem: Given an array of integers, return the length of the longest consecutive elements sequence.
- Hint: Use a HashSet to check for sequence starts in O(n).
Bug of the Day
Java/Kotlin Focus
Language: Java
Buggy Code:
public class SumExample {
public static void main(String[] args) {
int total = add(5, 10);
System.out.println("Total: " + total);
}
static int add(int a, int b) {
return a + b
}
}
Challenge :
- Identify and fix the syntax error(s).
- Bonus: Convert it into Kotlin and run it!
📋 Daily Micro-Project
Backend :
Challenge :
Create a simple Spring Boot REST API (Java/Kotlin) with one endpoint:
GET /hello → Response: {"message": "Hello from Spring Boot!"}
Requirements :
- Use annotations like @RestController and @GetMapping
- Should run without external DB
Trivia: 5 Fun Facts
- Java was originally called Oak.
- Kotlin is officially supported by Google for Android.
- CSS was invented by Håkon Wium Lie in 1994.
- Oracle acquired Sun Microsystems in 2010.
- The name “Spring” was inspired by the idea of a new beginning after the “winter” of J2EE.
Tool of the Day (Updated)
Tool : Lottie by Airbnb
- Use JSON-based animations in your websites and mobile apps.
Resource Roundup:
Interview Question of the Day
Daily Interview Questions
- What is the difference between em and rem in CSS?
- How does the CSS z-index property work with stacking contexts?
- How do you trigger hardware-accelerated animations in CSS?
- Explain the difference between position: absolute and position: fixed.
- What are checked vs unchecked exceptions in Java?
- How do Java Streams work internally?
- Explain the role of coroutines in Kotlin.
- How does Java's HashMap handle collisions?
- What is the difference between GROUP BY and PARTITION BY?
- Explain normalization and its levels (1NF, 2NF, 3NF).
- What is a correlated subquery? Provide an example.
- What is the JVM and how does it work?
- How does continuous integration (CI) improve software delivery?
Daily Quiz Challenge
- What CSS property controls the speed of an animation?
- animation-duration
- transition-delay
- animation-speed
- timing-function
- Which unit is relative to the root font size?
- px
- em
- rem
- %
- What does @keyframes do in CSS?
- Create responsive layouts
- Define a gradient
- Define animation behavior
- Import other CSS files
Frontend : CSS Focus
- What is the default access modifier for a class in Java?
- public
- private
- protected
- package-private
- What does val mean in Kotlin?
- A mutable variable
- A loop
- An immutable variable
- A Kotlin function
- In Java, what does the static keyword signify?
- The method belongs to the class
- The method runs in parallel
- It’s not inheritable
- It's an abstract method
Backend (Java/Kotlin) :
- What SQL keyword is used to sort result sets?
- WHERE
- HAVING
- GROUP BY
- SELECT
Database :
- Which of the following is used to schedule tasks in Linux?
- cron
- npm
- gradle
- gulp
Mixed Quiz :
Weekly Cross-Domain Activities ( Updated ) ( May 02 to May 08, 2025 )
API of the Day:
Challenge : Cat Facts API
Build a fun web app that displays random cat facts. Add a "New Fact" button to fetch and display a new fact with each click.
API: https://catfact.ninja/fact
Linux/DevOps Tip:
Automate Backups with cron
Use crontab -e to schedule a daily backup of a directory:
0 2 * * * tar -czf /backup/$(date +\%F).tar.gz /your/data/folder
This runs at 2:00 AM daily and compresses your target folder into a date-stamped .tar.gz archive.
Real-World Project of the Week ( Updated ) ( May 02 to May 08, 2025 )
Project of the Week:
- Users should be able to create blog posts using Markdown files. Convert them to HTML for rendering.
Build a Markdown Blog Engine using Node.js + Express or Flask.
Collaborative Project:
Contribute to Public APIs GitHub repo — help by submitting useful APIs or improving documentation for developers worldwide.
Case Study:
Study "Trello" clone functionality
Focus on drag-and-drop lists, card management, and task labels using React + Redux or Vue + Pinia.
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