Giter Site home page Giter Site logo

lld-examples's Introduction

LLD-Examples

lld-examples's People

Contributors

shubhaangi04 avatar thisissvikas avatar

Watchers

James Cloos avatar  avatar

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:

  1. Print the name of all the students
  2. Print the name of all students above 20 years of age
  3. Print list of students for each city
  4. Print the student with highest salary for a given city
  5. Print the name of highest salary earning student for each city
  6. 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.