Visual Basic Pattern Matching Leetcode 150