Showing 3 of 7 questions
Determine if four given points in a 2D plane form a valid square. A valid square has four equal sides and four right angles.
#1. Valid Square
Find the number of palindromic substrings within a given string. Consider each single character and repeated characters as a substring.
#2. Palindromic Substrings
Implement a Skiplist data structure that supports efficient search, insertion, and deletion of elements. A Skiplist is a probabilistic data structure with multiple levels of linked lists.
#3. Design Skiplist