Remove Prefix Strings
CodingPhoneSoftware EngineerReported Sep, 2025
Company question banks are included with the Insider plan.
Given an array of strings words, remove every string for which another, strictly shorter string in words is its prefix. Return the remaining strings in their original input order.
Formally,...