NeetCode #513LC-247MediumBacktrackingNC Algo100
← Back to All Problems#513 · #247 · Strobogrammatic Number II(中心对称数 II)
📌 Problem Statement & Constraints
Given an integer
n, return all strobogrammatic numbers of length n in any order. A strobogrammatic number looks the same when rotated 180 degrees; the valid digit pairs are 0-0, 1-1, 6-9 and 8-8. Constraints: 1 <= n <= 14.🔒
Sign In to Unlock Full Solutions for All 973 Problems
Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!