Ad
  • Custom User Avatar

    This is written in a vague way. What is the name of the input database?

    Can the user even run a basic

    SELECT *
    FROM table

    to see the contents of what are in any given table.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Hi I have found a solution that works for all basic cases and the cases I have used in my terminal in Python. I have been using a list comprehension and get a memory error on the full set of test cases, presumably I need to optimize my function. I have read that I could use generators though I don't have an idea of how to set up a generator such that it optimizes memory and can still count all of the occurrences of those divisibly by k. Any help?

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution