Sorry for my funny question.
I would like to separate this "abcd" into -
a, b, c, d
ab, ac, ad, bc, bd, cd,
abc, abd, acd, bdc
abcd
How to call/define in math? Theory or formula or law?
Let'say, to calculate the area of a right triangle is used pythagorean theorem.
update
I have to write a program. Eg, Input is "abcd".
Output will be like as below.
a, b, c, d
ab, ac, ad, bc, bd, cd,
abc, abd, acd, bdc
abcd
For fasted way, which theory or formula will I have to use?
No comments:
Post a Comment