leetcode386

package
v0.0.0-...-a94f1ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

* @lc app=leetcode id=386 lang=golang * * [386] Lexicographical Numbers * * https://leetcode.com/problems/lexicographical-numbers/description/ * * algorithms * Medium (49.48%) * Likes: 492 * Dislikes: 66 * Total Accepted: 48.9K * Total Submissions: 98.8K * Testcase Example: '13' * * Given an integer n, return 1 - n in lexicographical order. * * For example, given 13, return: [1,10,11,12,13,2,3,4,5,6,7,8,9]. * * Please optimize your algorithm to use less time and space. The input size * may be as large as 5,000,000. *

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL