LeetCodeSolutions icon indicating copy to clipboard operation
LeetCodeSolutions copied to clipboard

Better algorithm for 1351

Open yjian012 opened this issue 10 months ago • 3 comments

Yeah I know it's easy, but I found a possibly more efficient algorithm, especially when m>>n or n>>m. It's explained here: https://hyper-meta.blogspot.com/2023/06/m1318-description-given-3-positives.html Let me know what you think!

yjian012 avatar Dec 18 '24 16:12 yjian012