You are given a string representing an attendance record for a student. The record only contains the following three characters ...
Given a positive integer n, return the number of all possible attendance records with length n, which will be regarded as rewardable. The answer may be very large, return it after mod . A student att ...
2017-05-17 11:41 6 6310 推薦指數:
You are given a string representing an attendance record for a student. The record only contains the following three characters ...
A message containing letters from A-Z is being encoded to numbers using the following mapping way ...
Given a picture consisting of black and white pixels, and a positive integer N, find the number o ...
Given two integers n and k, you need to construct a list which contains n different positive i ...
Given an unsorted array nums, reorder it such that nums[0] < nums[1] > nums[2] < nums[3] ...
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by ro ...
Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) c ...