Skip to main content
4 events
when toggle format what by license comment
Oct 7 at 0:23 comment added alecbz @ChrisDavies I assumed OP is considering these files as sets of lines. You're correct that this does not work if considering the files as multisets of lines, or if you're looking for substring or subsequence matching instead of set membership.
Sep 19 at 5:28 comment added Chris Davies Given a three line file { a, b, c } and a two line file { b, a } your proposed solution will wrongly claim that the second is contained in the first. It will also fail for { a, b, c } and { a, a, b, a, a, b }, claiming that the second is contained in the first
Apr 13, 2021 at 15:09 review Suggested edits
Apr 14, 2021 at 13:45
Jan 24, 2018 at 15:56 history answered alecbz CC BY-SA 3.0