Strobogrammatic Number Problem

Strobogrammatic Number Problem — ExecCode Easy DSA Practice

Solve the Strobogrammatic Number problem on ExecCode. Free online easy DSA practice in String. Write and run code in Java, C++, Python — no signup required to run.

Problem description

Description You are given the input needed to solve Strobogrammatic Number. Your task is to compute the required answer and return Yes if strobogrammatic else No. A text tool receives characters in a specific order. In Strobogrammatic Number, the answer depends on handling those characters carefully, including duplicates and order. Digit string s.

Examples

Input {"num": "9"}; Output False. Input {"num": "69"}; Output True. Input {"num": "808"}; Output True

Constraints

Two-pointer from both ends

Practice Strobogrammatic Number free on ExecCode. Browse DSA problems, topic map, and placement guides.