Nth Digit
Medium
Math & Number Theory
Consider the infinite sequence 1234567891011121314... Print its n-th digit (1-indexed).
Constraints
1 <= n <= 2^31 - 1
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.