結果 : longest prefix leetcode python