摘要:
题目如下: Given an integer n, return the decimal value of the binary string formed by concatenating the binary representations of 1 to n in order, modulo 阅读全文
摘要:
题目如下: You are given an integer array nums and an integer k. In one operation, you can pick two numbers from the array whose sum equals k and remove th 阅读全文
摘要:
题目如下: You own a Goal Parser that can interpret a string command. The command consists of an alphabet of "G", "()" and/or "(al)" in some order. The Goa 阅读全文
摘要:
题目如下: You are given a string s consisting only of characters 'a' and 'b'. You can delete any number of characters in s to make s balanced. s is ba 阅读全文
摘要:
题目如下: You have a bomb to defuse, and your time is running out! Your informer will provide you with a circular array code of length of n and a key k. T 阅读全文
摘要:
题目如下: Given an array of integers nums, sort the array in increasing order based on the frequency of the values. If multiple values have the same frequ 阅读全文
摘要:
题目如下: A sequence of numbers is called arithmetic if it consists of at least two elements, and the difference between every two consecutive elements is 阅读全文
摘要:
题目如下: A newly designed keypad was tested, where a tester pressed a sequence of n keys, one at a time. You are given a string keysPressed of length n, 阅读全文
摘要:
题目如下: Given a string s, return the length of the longest substring between two equal characters, excluding the two characters. If there is no such sub 阅读全文
摘要:
题目如下: You are given an array of network towers towers and an integer radius, where towers[i] = [xi, yi, qi] denotes the ith network tower with locatio 阅读全文