Common sense is the most fairly distributed thing in the world, for each one thinks he is so well-endowed with it that even those who are hardest to satisfy in all other matters are not in the habit of desiring more of it than they already have.

--- René Descartes

;-P

Anyway, we already agreed that a diploma in CS doesn't make you a scientist nor a programmer.

You might wanna have a look at the ways me and others handled this problem:

Re: Google Code Jam 2019 Round 1A Problem 1: Pylons

While I produced a formal proof for all possible solution (using techniques I learned at university), others "solved" it much quicker with a a mix of brute force and random generators.

It really depends, what you need to invest for which outcome.

BTW: I learned programing with 14, long before entering university.

update

other example: Re: Check randomly generated numbers have not been used before

This particular poster ignored the "Birthday paradox",

again depends what you need.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice


In reply to Re^4: OT: Computer Science for (a couple steps up from) Dummies (updated) by LanX
in thread OT: Computer Science for (a couple steps up from) Dummies by Your Mother

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.