摘要: (找了leetcode上最简单的一个题来找一下存在感) You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each char 阅读全文
posted @ 2018-02-05 17:43 于淼 阅读(455) 评论(2) 推荐(0) 编辑
摘要: Implement pow(x, n). Example 1: Example 2: 阅读全文
posted @ 2018-02-05 17:02 于淼 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-02-05 16:59 于淼 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 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, 阅读全文
posted @ 2018-02-05 16:57 于淼 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 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: [ [ 阅读全文
posted @ 2018-02-05 16:09 于淼 阅读(135) 评论(0) 推荐(0) 编辑