Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: PWC 244 task 2 in linear time

by jo37 (Deacon)
on Nov 28, 2023 at 21:06 UTC ( [id://11155917] : note . print w/replies, xml ) Need Help??


in reply to Re: PWC 244 task 2 in linear time
in thread PWC 244 task 2 in linear time

There is a big charm in the ambiguities in the PWC tasks, IMHO. Don't take the task description too serious. Just find an interpretation of your own. It's fun!

Greetings,
-jo

$gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

Replies are listed 'Best First'.
Re^3: PWC 244 task 2 in linear time
by LanX (Saint) on Nov 28, 2023 at 21:18 UTC
    "Interpretation of your own" becomes particular "charming" when np-complete problems are solved in polynomial time. ;)

    Anyway, my question wasn't answered, which problem was solved here?

    Seeing terms of 2**n let's me think it's not for sub sequences.(?)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery