HarshCasper / NeoAlgo

Bringing all Data Structures and Algorithms under one Roof âš¡
MIT License
878 stars 1.05k forks source link

Memory Allocation in Operating Systems in Java #1984

Closed shraiyya closed 3 years ago

shraiyya commented 3 years ago

🚀 Feature

[DWOC Contribution] Memory Allocation in Operating Systems

  1. First-Fit Memory Allocation
  2. Best-Fit Memory Allocation
  3. Worst-Fit Memory Allocation

Have you read the Contributing Guidelines on Pull Requests?

Yes

Motivation

The operating system must keep a list of each memory location noting which are free and which are busy. Then as new jobs come into the system, the free partitions must be allocated.

These partitions may be allocated by 3 ways: best fit: smallest hole (contiguous space) the segment can fit in first fit: first hole (contiguous space) the segment can fit in worst fit: largest hole (contiguous space) the segment can fit in

Pitch

(Please explain why this feature should be implemented and how it would be used.)

Can you please label this issue as DWOC? Also please add the level.

shraiyya commented 3 years ago

Please assign me this issue and add the level of the PR for DWOC.

vilsijain commented 3 years ago

Can you assign