DynamicArray structure
| 19 | |
| 20 | // DynamicArray structure |
| 21 | type DynamicArray struct { |
| 22 | Size int |
| 23 | Capacity int |
| 24 | ElementData []any |
| 25 | } |
| 26 | |
| 27 | // Put function is change/update the value in array with the index and new value |
| 28 | func (da *DynamicArray) Put(index int, element any) error { |
nothing calls this directly
no outgoing calls
no test coverage detected