Post History
Vyxal, 44 bitsv2, 5.5 bytes ṗ'⁰c¬;ÞG Try it Online! Or, try a test suite This is like the second time this week I've used powerset for golf on a site that isn't SE. Explained ṗ'⁰c¬;ÞG ṗ ...
Answer
#1: Initial revision
# [Vyxal](https://github.com/Vyxal/Vyxal), 44 [bits<sup>v2](https://github.com/Vyxal/Vyncode/blob/main/README.md)</sup>, 5.5 bytes ``` ṗ'⁰c¬;ÞG ``` [Try it Online!](https://vyxal.pythonanywhere.com/?v=2#WyI9IiwiIiwi4bmXJ+KBsGPCrDvDnkciLCIiLCJlc2NhdGhlXG5jYXQiXQ==) Or, [try a test suite](https://vyxal.pythonanywhere.com/?v=2#WyJ+PSIsIiRcIsKoUyIsIuG5lyfigbBjwqw7w55HIiwiIiwiISguKikgLT4gKC4qKVxuY2hhdCwgY2F0IC0+IGNoYXRcbmVzY2F0aGUsIGNhdCAtPiBlc2NhaGVcbmhvbW9sb2d5LCBvIC0+IGhtbGd5XG5jY2F0dCwgY2F0IC0+IGNjdHRcbmFhYmFiYmFiYWIsIGFiYWIgLT4gYWFiYmJhYmFcbmFiYWJhYiwgYWJhYiAtPiBhYmFhYlxuYWFhYWFhYWEsIGFhYSAtPiBhYVxuIl0=) This is like the second time this week I've used powerset for golf on a site that isn't SE. ## Explained ``` ṗ'⁰c¬;ÞG ṗ # Powerset of the first input ' ;ÞG # longest string s where: c¬ # s does not contain ⁰ # the second input ```