Showing 3 questions
Determine if a string is a palindrome after removing at most one character. Consider both left and right removals when checking for palindrome validity.
#1. Valid Palindrome II
Given a grid representing land and water, count the number of distinct islands. An island is formed by connected land cells.
#2. Number of Islands
You're given user website visit logs. Find the most frequent sequence of three websites visited by any user.
#3. Analyze User Website Visit Pattern