About tags
I don't think brute force should be an algorithm tag.
brute force
Leetcode Weekly 498 Solution Discussion