Skip to content

Commit

Permalink
chore: reformat comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rdleal committed Feb 29, 2024
1 parent fedad94 commit ff81910
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion interval/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ func (st *MultiValueSearchTree[V, T]) Select(k int) ([]V, bool) {
return interval.vals, true
}

// MaxEnd returns the values in the tree that have the largest ending interval. It returns false as the second return value if the tree is empty; otherwise, true.
// MaxEnd returns the values in the tree that have the largest ending interval.
// It returns false as the second return value if the tree is empty; otherwise, true.
func (st *MultiValueSearchTree[V, T]) MaxEnd() ([]V, bool) {
st.mu.Lock()
defer st.mu.Unlock()
Expand Down

0 comments on commit ff81910

Please sign in to comment.