Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ẏṘ\\$꘍øm↵:fL½TIǏfL:£Nvȯ$Z¥?hL⇧\_*꘍p⁋
Try it Online!Try it Online! or verify all test cases.
-8 bytes from porting 05AB1E
ẏṘ\\$꘍øm↵:fL½T:£Nvȯ$Z¥?hL⇧\_*꘍p⁋
Try it Online!
ẏṘ\\$꘍øm↵:IǏfL:£Nvȯ$Z¥?hL⇧\_*꘍p⁋
Try it Online! or verify all test cases.
j
L\/$꘍¦Ḣ¨vpẏṘ\\$꘍øm↵:fL½T:£Nvȯ$Z¥?hL⇧\_*pøɽI÷Ṙ¨2$꘍\\p;ṘJøɽ‡ðp0VhL⇧\_*꘍p⁋
Try it Online!Try it Online!
L\/$꘍¦Ḣ¨vp?hL⇧\_*pøɽI÷Ṙ¨2$꘍\\p;ṘJøɽ‡ðp0V