User talk:Pengfeituan

Heap's algorithm
Hello. Probably you've noticed that somewhat changed the title of the article called Heap's Permutation Generation Algorithm to Heap's algorithm. Whether it should have the longer title or the shorter one may be a debatable point, but one thing grossly wrong with the original title is the use of too many capital letters. Wikipedia's conventions codified in WP:MOS say one should not capitalize an initial letter merely because it's in an article title or a section heading.

In a few places you wrote things like
 * N-1

instead of
 * N &minus; 1

Variables (but not digits and not parentheses, etc.) get italicized in this context, and the minus sign is not a stubby little hyphen. Also, there is a space before and after the minus sign, which I've made non-breakable so that
 * N &minus; 1

will not become
 * N &minus;
 * 1

as the window geometry changes. These issues are dealt with in WP:MOSMATH.

Another question is which other articles ought to link to Heap's algorithm. If you go to the article and choose "what links here" from the "toolbox" menu, you see what links there now. I've added some links, including one from the list of permutation topics. Perhaps you know of other articles that should link to it, that the rest of us don't know about. Michael Hardy (talk) 19:02, 25 December 2013 (UTC)