Expand description
§Bilk
Miscellaneous functions and traits for personal use. Most are implemented after attempting a leetcode problem where I would find some utility function useful.
Structs§
- Counter
- Tally occurrences using
.collect::<Counter>()
Traits§
- Captures
- Help with the trait bound problem described here (video).
- CumSum
- Calculate the cumulative sum of an iterator
- Into
Counter - Tally the occurrences of elements in an iterator
Functions§
- counting_
sort - counting sort using stack allocated array
- lift
- lift a function up to be applied on options
- neighbors
- returns an iterator of adjacent tuples (row, column)