摘要:
(找了leetcode上最简单的一个题来找一下存在感) You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each char 阅读全文
摘要:
Implement pow(x, n). Example 1: Example 2: 阅读全文
摘要:
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the 阅读全文
摘要:
Leetcode59 Spiral Matrix II Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n = 3, 阅读全文
摘要:
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example, Given the following matrix: [ [ 阅读全文