copy pasting the rules from last year’s thread:

Rules: no spoilers.

The other rules are made up aswe go along.

Share code by link to a forge, home page, pastebin (Eric Wastl has one here) or code section in a comment.

  • gerikson
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago
    re: 4-2

    is it really n^2 tho? You have to do a constant check around each element, but that does not increase with the number of elements. And you can optimize a bit by marking already seen 'A’s as illegal states and don’t have to check them when the next row is processed.

    • swlabr
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago
      i am a simple man

      I see square input, i say n2