4 ms·
https://code.kx.com/q/ref/ https://code.kx.com/q/ref/
by co_dh 4y ago
https://code.kx.com/q/ref/ https://code.kx.com/q/ref/
- co_dh 4y agoGroup is actually like inverse a mapping. Given an array A which map index to value, group A map value to index. A common idiom is: desc count each group A , which list most frequent element first