Open
Description
Input
| | Separate Chaining | Linear Probing |
| ------------ | ------------------------------------------------------------ | -------------------------- |
| Working | array with $n$ buckets pointing to linked lists for collisions | |
| Complexity | $O(n)$ | $O(1)$ |
| Disadvantage | memory wastage | possibility of full bucket |
Output
| Working | Complexity | Disadvantage
--- | --- | --- | ---
Separate Chaining | array with $n$ buckets pointing to linked lists for collisions | $O(n)$ | memory wastage
Linear Probing | | $O(1)$ | possibility of full bucket
Expected output
| | Working | Complexity | Disadvantage |
| --- | --- | --- | --- |
| Separate Chaining | array with $n$ buckets pointing to linked lists for collisions | $O(n)$ | memory wastage |
| Linear Probing | | $O(1)$ | possibility of full bucket |
How can i edit the code to achieve this?
Metadata
Metadata
Assignees
Labels
No labels