lld-examples's Introduction
lld-examples's People
lld-examples's Issues
Multiple Scheduled Task
Create a JAVA program to print given messages in the given intervals of time(in seconds).
Sample Input
No of Tasks: 2
Task 1 Message: Hello World!
Task 1 Interval: 5 seconds
Task 2 Message: Hello World Again!
Task 2 Interval: 10 seconds
Expected Output
Hello World! being printed every 5 seconds.
Hello World Again! being printed every 10 seconds.
Note: Take the inputs from the command line while starting the app
Definition of Done
- The code is working as expected.
- The app is containerized as a JAVA app.
- No Web Framework is used and no database is used.
Simple Scheduled Task
Create a JAVA program to print a given message in the given interval of time(in seconds).
Sample Input
Message: Hello World!
Interval: 5 seconds
Expected Output
Hello World! being printed every 5 seconds.
Note: Take the inputs from the command line while starting the app
Definition of Done
- The code is working as expected.
- The app is containerized as a JAVA app.
- No Web Framework is used and no database is used.
Student File Data Processing
Given a file as an input which contains the data in the below format:
Student_Name Age Salary City
Student2_Name Age Salary City
Student3_Name Age Salary City
Perform the following required tasks:
- Print the name of all the students
- Print the name of all students above 20 years of age
- Print list of students for each city
- Print the student with highest salary for a given city
- Print the name of highest salary earning student for each city
- Print total salary being given to all the students combined.
Constraints: Use Java 8 functionalities wherever feasible.
Student Registration System
Acceptance Criteria
- CRUD operations on Student
- CRUD operations on Courses
- Register/deregister
- Manage course limits
- Containerize the application
- Java based application - no DB
Multi-TimeZone Clock
Acceptance Criteria
Create a system to print the current time in multiple zones in given intervals of time.
Example:
Input:
Timezone: IST
Frequency: 2 seconds
Timezone: UTC
Frequency: 3 seconds
Output:
Print the time in IST every 2 seconds.
Print the time in UTC every 3 seconds.
Definition of Done
- The app is working as expected
- Containerization done
Telephone Directory
Acceptance Criteria
- Create a microservice to work as a telephone directory
- Users should be able to create contacts and store phone numbers (1 number per person)
- Users should be able to update phone numbers
- There can be multiple people with the same name
- Code should be unit tested
- Microservice should be containerized
Constraint: We are trying to design an in-memory system without using any database, etc.
Unit Tests
- Create unit tests for all the LLD tickets.
- Create a Github Action workflow to check for passing of all test cases for every PR on the main branch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.