GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing leetcodejavascript.com — #481 - Magical String - LeetCode JavaScript Solutions
Back to all solutions
#481 - Magical StringProblem DescriptionA magical string s consists of only '1' and '2' and obeys the following rules:
Given an integer n, return the number of 1's in the first n number in the magical string s. Solution |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |