上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 40 下一页
摘要: Number of 1 Bits (E) 题目 Write a function that takes an unsigned integer and return the number of '1' bits it has (also known as the Hamming weight). E 阅读全文
posted @ 2021-02-01 17:10 墨云黑 阅读(71) 评论(0) 推荐(0) 编辑
摘要: Minimize Deviation in Array (H) 题目 You are given an array nums of n positive integers. You can perform two types of operations on any element of the a 阅读全文
posted @ 2021-01-30 21:49 墨云黑 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Smallest String With A Given Numeric Value (M) 题目 The numeric value of a lowercase character is defined as its position (1-indexed) in the alphabet, s 阅读全文
posted @ 2021-01-28 20:22 墨云黑 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Concatenation of Consecutive Binary Numbers (M) 题目 Given an integer n, return the decimal value of the binary string formed by concatenating the binar 阅读全文
posted @ 2021-01-27 19:54 墨云黑 阅读(60) 评论(0) 推荐(0) 编辑
摘要: Path With Minimum Effort (M) 题目 You are a hiker preparing for an upcoming hike. You are given heights, a 2D array of size rows x columns, where height 阅读全文
posted @ 2021-01-27 10:26 墨云黑 阅读(63) 评论(0) 推荐(0) 编辑
摘要: Check If All 1's Are at Least Length K Places Away (E) 题目 Given an array nums of 0s and 1s and an integer k, return True if all 1's are at least k pla 阅读全文
posted @ 2021-01-25 16:37 墨云黑 阅读(59) 评论(0) 推荐(0) 编辑
摘要: Sort the Matrix Diagonally (M) 题目 A matrix diagonal is a diagonal line of cells starting from some cell in either the topmost row or leftmost column a 阅读全文
posted @ 2021-01-23 17:19 墨云黑 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Determine if Two Strings Are Close (M) 题目 Two strings are considered close if you can attain one from the other using the following operations: Operat 阅读全文
posted @ 2021-01-23 10:53 墨云黑 阅读(71) 评论(0) 推荐(0) 编辑
摘要: Find the Most Competitive Subsequence (M) 题目 Given an integer array nums and a positive integer k, return the most competitive subsequence of nums of 阅读全文
posted @ 2021-01-21 21:02 墨云黑 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Count Sorted Vowel Strings (M) 题目 Given an integer n, return the number of strings of length n that consist only of vowels (a, e, i, o, u) and are lex 阅读全文
posted @ 2021-01-18 20:13 墨云黑 阅读(206) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 40 下一页