compare_default: Compare two keys

Description Usage Arguments

Description

To use your own comparator, create a function that compares two keys and returns an integer, and use it as an argument when constructing a bst

Usage

1
compare_default(key1, key2)

Arguments

key1

Keys to compare

key2

Keys to compare


tarakc02/rbst documentation built on May 31, 2019, 3:55 a.m.