Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

added function node.insertWithIndex that returns index/placement#50

Open
kroksys wants to merge 2 commits intogoogle:masterfrom
kroksys:feature/insert_returns_index
Open

added function node.insertWithIndex that returns index/placement#50
kroksys wants to merge 2 commits intogoogle:masterfrom
kroksys:feature/insert_returns_index

Conversation

@kroksys
Copy link

@kroksys kroksys commented Jan 23, 2023

Added:
func (n *node[T]) insertWithIndex(item T, maxItems int, indexSet []int) (_ T, _ bool, _ []int)
func TestInsertGWithIndex(t *testing.T)

Co-authored-by: Atul Kumar <katul979@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants