Daily Coding Challenges & Projects
Weekend
Frontend Mini Project Challenge
Theme : Mini Frontend Projects (JavaScript, CSS, React, Vue)
Challenge :
Create an animated weather card using live data.
Requirements :
- Use any public weather API (e.g., OpenWeatherMap)
- Show temperature, icon, and city name
- Animate transition between weather updates
Bonus : Use local storage to save the last searched city.
Backend Challenge
Language Focus : Scala, R, Swift, TypeScript
Challenge :
Swift Vapor : Create an API that returns a list of books from a JSON file.
Bonus: Add filtering by genre and author.
Database Query Challenge
Problems on SQL - HR Database :
- Write a query to find employees who joined on a weekend.
- Write a query to retrieve the names of employees who report to the same manager and have the same job title.
Data Structures & Algorithms Challenge
- Easy:
- Problem : Determine if two strings are anagrams.
- Hint : Sort both strings and compare.
- Medium:
- Problem : Rotate a matrix 90 degrees clockwise in place.
- Hint : Use layer-by-layer rotation.
- Hard:
- Problem : Design a data structure that supports insert, delete, getRandom in O(1).
- Hint : Use a hash map and dynamic array.
Bug of the Day
Language Focus :
Language : TypeScript
Buggy Code:
// What's wrong?
interface User {
name: string;
age?: number;
}
const printAge = (user: User) => {
console.log(user.age.toFixed(1));
};
Fix the bug. :
Hint : Optional chaining?
📋 Daily Micro-Project
Backend Focus :
Project :
Create a microservice in TypeScript (Node.js) to validate credit card numbers.
Bonus : Use the Luhn algorithm.
Trivia: 5 Fun Facts
- The first programming language was created in 1883 by Ada Lovelace
- Swift was introduced by Apple in 2014 as a replacement for Objective-C.
- Scala is a blend of object-oriented and functional programming.
- The term "bug" in programming was popularized by Grace Hopper.
- JSON stands for JavaScript Object Notation and is language-independent.
Tool & Resource of the Day
Tool : Swagger UI
Visualize and test REST APIs interactively.
https://swagger.io/tools/swagger-ui/
Resource Roundup :
- Microservices Explained – TechWorld with Nana
- Designing Microservices – O’Reilly Book
- REST API Design Best Practices – GitHub Repo
Interview Question of the Day
Daily Interview Questions
-
Frontend :
- What are props in React?
- How does two-way binding work in Vue.js?
- What are key differences between v-if and v-show in Vue?
- What is the Shadow DOM?
-
Backend :
- How does type inference work in TypeScript?
- What are actors in Scala and how do they handle concurrency?
- What is functional programming in R?
- What is the difference between structs and classes in Swift?
- What is a composite primary key?
- Explain the ACID properties.
- How do materialized views differ from regular views?
- What is YAML used for?
- What is Infrastructure as Code (IaC)?
Daily Quiz Challenge
- What does v-model do in Vue.js?
- One-way bind data
- Two-way data binding
- Defines a method
- Adds event listeners
- What does key prop do in React?
- Encrypts data
- Uniquely identifies elements in a list
- Defines props
- Changes state
- CSS Grid uses:
- flex
- grid-template
- float
- box
Frontend Quiz :
- In TypeScript, interface is used to:
- Run the server
- Define data contracts
- Compile TS to JS
- Start HTTP requests
- What is the Swift equivalent of a dictionary?
- Array
- Object
- HashMap
- Dictionary
- What does actor keyword do in Scala?
- Declares class
- Manages concurrency
- Handles HTTP
- Loads JSON
Backend Quiz :
- Database : Which index type supports full-text search?
- B-tree
- Hash
- Full-text
- Clustered
- General : Which command shows disk usage in Linux?
- ls
- du
- df
- ps
Others :
Weekly Cross-Domain Activities ( June 27 to July 03, 2025 )
API of the Day:
Task : Build a real-time currency converter using the ExchangeRate API
https://www.exchangerate-api.com/
Linux/DevOps Tip :
Title : Top 5 Log Monitoring Commands: tail, grep, less, journalctl, watch
Real-World Project of the Week ( June 27 to July 03, 2025 )
Project of the Week:
Build a Book Management System with Vue.js + Node.js + PostgreSQL
Collaborative Project:
Contribute to an open-source to-do app with multi-user auth on GitHub.
Case Study:
Explore how Notion uses dynamic blocks and replicate a basic block editor.
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