Skip to main content

Timeline for Intersection of sorted lists

Current License: CC BY-SA 4.0

13 events
when toggle format what by license comment
Dec 7, 2019 at 0:07 comment added Turksarama While the terse function works I don't think it's worth the extra programmer overhead in understanding it to save 5 lines of code.
Dec 6, 2019 at 1:07 history edited alexyorke CC BY-SA 4.0
deleted 46 characters in body
Dec 5, 2019 at 23:39 history edited alexyorke CC BY-SA 4.0
added 548 characters in body
Dec 5, 2019 at 3:18 comment added alexyorke @kyrill I removed it a few minutes ago; it was not working for some inputs
Dec 5, 2019 at 3:17 comment added kyrill I must say I find your new while condition quite confusing...
Dec 5, 2019 at 3:14 comment added alexyorke @kyrill The yield operator "returns" a value when called; the function can then be wrapped in a list() to get the same "behavior| as returning/appending a list in a loop
Dec 5, 2019 at 3:13 history edited alexyorke CC BY-SA 4.0
Solution doesn't work
Dec 5, 2019 at 2:33 comment added kyrill And what do you mean by "return statements can be expressed as yield" ?
Dec 5, 2019 at 2:30 history edited alexyorke CC BY-SA 4.0
deleted 10 characters in body
Dec 5, 2019 at 2:30 comment added kyrill Note my first suggestion
Dec 5, 2019 at 2:28 comment added alexyorke @kyrill thank you for your suggestions; I have updated my answer
Dec 5, 2019 at 2:28 history edited alexyorke CC BY-SA 4.0
added 12 characters in body
Dec 5, 2019 at 2:06 history answered alexyorke CC BY-SA 4.0