Ad
  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    I wrote 1st solution in PostgreSQL, but I didn't pass last test. Then, I select rows in original order and I pass it. I thought line order doesn't matter in SQL. It's most common behavior.