-<h2><a href="https://leetcode.com/problems/counter">2732. Counter</a></h2><h3>Easy</h3><hr><p>Given an integer <code>n</code>, return a <code>counter</code> function. This <code>counter</code> function initially returns <code>n</code> and then returns 1 more than the previous value every subsequent time it is called (<code>n</code>, <code>n + 1</code>, <code>n + 2</code>, etc).</p>
0 commit comments