Ok, thank you for your answer.
How can sorting on each step be a best practice? But it is clever without doubt.
This comment is hidden because it contains spoiler information about the solution
Your solution fails on this test: in_array(["foo bar", "foo", "bar"], ["foo", "bar"]) Sorry.
This solution allows duplicates in the answer and thus is wrong.
Actually this approach is a huge loser in benchmark tests.
Lol! The author should add test cases.
Ok. What if n = 1 and m = 0?
What if m == 0 ?
Brilliant!
Ok, thanks!
Hi! I'm new here, thank you! Where will my comment be visible for those who wouldn't have solved the puzzle unless it is marked as a spoiler?
Loading collection data...
Ok, thank you for your answer.
How can sorting on each step be a best practice?
But it is clever without doubt.
This comment is hidden because it contains spoiler information about the solution
Your solution fails on this test:
in_array(["foo bar", "foo", "bar"], ["foo", "bar"])
Sorry.
This solution allows duplicates in the answer and thus is wrong.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Actually this approach is a huge loser in benchmark tests.
Lol! The author should add test cases.
Ok. What if n = 1 and m = 0?
This comment is hidden because it contains spoiler information about the solution
What if m == 0 ?
Brilliant!
Ok, thanks!
Hi! I'm new here, thank you! Where will my comment be visible for those who wouldn't have solved the puzzle unless it is marked as a spoiler?
Loading more items...