I want compressjs.BWT.bwtransform2(T, U, n, alphabetSize) as a one-shot cyclic Burrows-Wheeler transform…
I want compressjs.BWT.bwtransform2(T, U, n, alphabetSize) as a one-shot cyclic Burrows-Wheeler transform…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For ASCII input bcababa with n == 7 and alphabetSize == 256 , it should write cbbaaab into U and return 5 …
The task
For ASCII input `bcababa` with `n == 7` and `alphabetSize == 256`, it should write `cbbaaab` into `U` and return `5`. For `ABCDEFGHIJKLMNOPQRSTUVWXYZ`, it should write `ZABCDEFGHIJKLMNOPQRSTUVWXY` and return `0`. For `ZYXWVUTSRQPONMLKJIHGFEDCBA`, it should write `BCDEFGHIJKLMNOPQRSTUVWXYZA` and return `25`. For `n ==…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.