An open API service indexing awesome lists of open source software.

https://github.com/domicoder/100-days

My 100-days project of exploring data structures and algorithms with TypeScript.
https://github.com/domicoder/100-days

Last synced: over 1 year ago
JSON representation

My 100-days project of exploring data structures and algorithms with TypeScript.

Awesome Lists containing this project

README

          

# 100-Days

My 100-days project of exploring data structures and algorithms with TypeScript.

## 📦 Installation

```bash
npm install
```

## 🧰 Running tests

```bash
npx ts-node 1-day.ts
npx ts-node 2-day.ts
...
```

## 🚀 Challenges

1. Reverse an Array: Implement a function to reverse an array.
![image](https://img001.prntscr.com/file/img001/mj5aRTLyQyq9nu4mlJwTZg.png)

2. Find Maximum Element: Implement a function to find the maximum element in an array.
![image](https://img001.prntscr.com/file/img001/IS7iH6cFQr2KQNj8riYF5g.png)

3. Find Minimum Element: Implement a function to find the minimum element in an array.
![image](https://img001.prntscr.com/file/img001/_6BhToEvS_KMKF5lwbcVSA.png)

4. Given an array nums and an integer k, write a function to rotate the array to the right by k steps, where k is non-negative.
![image](https://img001.prntscr.com/file/img001/rz5ZHp-aQIaXYC-ybq92xQ.png)

5. Sort an array of integers in ascending.
![image](https://img001.prntscr.com/file/img001/NMtk5OpqTb6V-KkkadIrrg.png)

6. Sort an array of strings in ascending.
![image](https://img001.prntscr.com/file/img001/nEA4wlNfQxi1kmTfvdwZ7A.png)

7. Sort an array of banks accounts by the balance in ascending.
![image](https://img001.prntscr.com/file/img001/CnaYrBFPSyi8P8JdznTQqw.png)

8. Sort an array of banks accounts by the balance in descending.
![image](https://img001.prntscr.com/file/img001/CnaYrBFPSyi8P8JdznTQqw.png)

9. Next...
![image](https://img001.prntscr.com/file/img001/CnaYrBFPSyi8P8JdznTQqw.png)

## 💅 We use Eslint and Prettier to format our code.