Search⌘ K
AI Features

Strobogrammatic Number

Understand and implement the two pointers pattern to check if a given number appears the same when rotated 180 degrees. This lesson guides you through identifying strobogrammatic numbers, enhancing problem-solving skills with pattern-based approaches.

Statement

Given a string num representing an integer, determine whether it is a strobogrammatic number. Return TRUE if the number is strobogrammatic or FALSE if it is not.

Note: A strobogrammatic number appears the same when rotated 180180 ...