3 ms·
> I can't understand the use-case of needing to do this outside of toy problems. Not sure, not my domain, but perhaps bioinformatics has the equivalent of the
by kingaillas 5y ago
> I can't understand the use-case of needing to do this outside of toy problems.
Not sure, not my domain, but perhaps bioinformatics has the equivalent of the convolution operation on sequences?
EDIT: there is the "reversal" operation. Peeking ahead from the Rosalind problems, I'm not quite up to Reversal Distance (https://rosalind.info/problems/rear/ https://rosalind.info/problems/rear/).
- danbruc 5y agoBut would they represent their data as character strings or would they pack four nucleotides with two bits each into one byte? Or would they be working on the amino acid level or something else all together? And would they really physically reverse potentially very long strings or just use a decreasing index into the original string? I am sure reversing strings has some use cases, maybe even in bioinformatics, but I would agree with the other comment, it seems a pretty niche operation, otherwise there would probably be a String.Reverse() method.