Back to course home
0% completed
Vote For New Content
Your code fail with this testcase: ("leetspcode", { "leet","eetsp", "code","leetcode" })
lejafilip
Dec 6, 2024
As above: ("leetspcode", { "leet","eetsp", "code","leetcode" }). Your code returns 2 but should return 1;
This is next example while your code is wrong or doesn't cover most optimal solution (so it is usseless at FAANG interview). Please fix that ...
1
0
Comments
Comments