输入一个非负整数数组,把数组里所有数字拼接起来排成一个数,打印能拼接出的所有数字中最小的一个。
输入整数数组 arr ,找出其中最小的 k 个数。例如,输入4、5、1、6、2、7、3、8这8个数字,则最小的4个数字是1、2、3、4。
arr
k
Gojay
Gojay's Records
Chongqing, China
Posts
95
Categories
26
Tags
81
AIGC / Diffusion Model
Coding / source-code
API / Python API
API / Image API
Update your browser to view this website correctly. Update my browser now
×