Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imran120198/adda_coding_assignment
https://github.com/imran120198/adda_coding_assignment
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/imran120198/adda_coding_assignment
- Owner: imran120198
- Created: 2024-06-08T10:17:53.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-08T10:27:38.000Z (5 months ago)
- Last Synced: 2024-06-08T11:37:42.422Z (5 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Adda Coding Assignment
## Problem Statement
We have to build a facilities booking system where we have to check whether those facilities is available or not.
## Setup
* Clone the repository:
```bash
git clone https://github.com/imran120198/Adda_Coding_Assignment.git
```* Run the code
```bash
node adda.js
```* If you want to add input, Go to the bookingRequests and add input
```bash
const bookingRequests = [
["Clubhouse", "26-10-2020", "16:00", "22:00"],
["Tennis Court", "26-10-2020", "16:00", "20:00"],
["Clubhouse", "26-10-2020", "16:00", "22:00"],
["Tennis Court", "26-10-2020", "17:00", "21:00"],
];```