Talk:Count the coins/0-1: Difference between revisions

From Rosetta Code
Content added Content deleted
(About order)
 
(Algo?)
Line 6: Line 6:


But seeing both cases when order matters and not would be great. --[[User:Blek|Blek]] ([[User talk:Blek|talk]]) 07:02, 6 January 2021 (UTC)
But seeing both cases when order matters and not would be great. --[[User:Blek|Blek]] ([[User talk:Blek|talk]]) 07:02, 6 January 2021 (UTC)

==Algorithm==
Can you show an algorithm? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:09, 6 January 2021 (UTC)

Revision as of 07:09, 6 January 2021

If the order matters, the last example could be very large.

In really life order doesn't matter.

I think we could considered that the order doesn't matter for the last example.

But seeing both cases when order matters and not would be great. --Blek (talk) 07:02, 6 January 2021 (UTC)

Algorithm

Can you show an algorithm? --Paddy3118 (talk) 07:09, 6 January 2021 (UTC)