xinyu04

导航

2022年8月24日 #

[Oracle] LeetCode 453 Minimum Moves to Equal Array Elements

摘要: Given an integer array nums of size n, return the minimum number of moves required to make all array elements equal. In one move, you can increment n 阅读全文

posted @ 2022-08-24 15:45 Blackzxy 阅读(12) 评论(0) 推荐(0) 编辑

[Oracle] LeetCode 696 Count Binary Substrings

摘要: Given a binary string s, return the number of non-empty substrings that have the same number of 0's and 1's, and all the 0's and all the 1's in these 阅读全文

posted @ 2022-08-24 06:11 Blackzxy 阅读(11) 评论(0) 推荐(0) 编辑