diff options
author | William Carroll <wpcarro@gmail.com> | 2020-11-17T23·54+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-11-17T23·54+0000 |
commit | c0268ed31a8049ce75a7e61737b8e520e7d5403e (patch) | |
tree | d387ed781105b55994a0f14fba9d6e10c4170c5b /scratch/facebook/hard/suffix-tree.py | |
parent | 751b5327a92f4d53db6253e59c475e4e96cabcb6 (diff) |
Refactor random-choice
Prefer initializing `result` to an empty array of size `m`, which makes the algorithm a bit more elegant.
Diffstat (limited to 'scratch/facebook/hard/suffix-tree.py')
0 files changed, 0 insertions, 0 deletions