All Questions
3 questions
3
votes
1
answer
219
views
Stable reversed Tartaglia's triangles
Inspired by Minimising the triangle
I am writing a fully tested program to solve the following problem:
A triangle needs a good foundation. Every row in the triangle is derived from the sum of the ...
22
votes
4
answers
21k
views
Finding all k-subset partitions
The following code generates all \$k\$-subsets of a given array. A \$k\$-subset of set \$X\$ is a partition of all the elements in \$X\$ into \$k\$ non-empty subsets.
Thus, for ...
6
votes
3
answers
658
views
Korean word segmentation using frequency heuristic
This a continuation of a previous question. I want to thank Joe Wallis for his help with increasing the readability of my code. Although the changes made by Joe Wallis did increase the speed of the ...