xinqrs01
码龄14年
关注
提问 私信
  • 博客:82,726
    82,726
    总访问量
  • 270
    原创
  • 2,176,869
    排名
  • 5
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:美国
  • 加入CSDN时间: 2011-01-26
博客简介:

xinqrs01的博客

查看详细资料
个人成就
  • 获得7次点赞
  • 内容获得4次评论
  • 获得9次收藏
创作历程
  • 270篇
    2017年
成就勋章
TA的专栏
  • leetcode
    1篇
创作活动更多

仓颉编程语言体验有奖征文

仓颉编程语言官网已上线,提供版本下载、在线运行、文档体验等功能。为鼓励更多开发者探索仓颉编程语言,现诚邀各位开发者通过官网在线体验/下载使用,参与仓颉体验有奖征文活动。

368人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

LeetCode 422. Valid Word Square 验证单词平方

Given a sequence of words, check whether it forms a valid word square.A sequence of words forms a valid word square if the kth row and column read the exact same string, where 0 ≤k < max(numRows, numCo
原创
发布博客 2017.01.03 ·
505 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

GPS读书笔记-from2/18/2017-2/21/2017

ch1: introduction卫星数据经射频,中频,adc采样来到数字基带域。卫星导航信号首先经过acquisition(捕获),tracking(跟踪),提取帧,提取ephemeris&pseudorange信号,然后计算卫星位置,最后得到user position. 关键是捕获和跟踪。捕获是捕获c/a码的初始相位。跟踪则是跟踪相位,估计频偏,把频偏给补偿到接受信号,提高信噪比。ch2:
原创
发布博客 2017.02.19 ·
2136 阅读 ·
2 点赞 ·
3 评论 ·
9 收藏

(未完成)332. Reconstruct Itinerary

Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerary in order. All of the tickets belong to a man who departs from JFK. Thus, the
原创
发布博客 2017.02.19 ·
436 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

331. Verify Preorder Serialization of a Binary Tree

One way to serialize a binary tree is to use pre-order traversal. When we encounter a non-null node, we record the node’s value. If it is a null node, we record using a sentinel value such as #. _9
原创
发布博客 2017.02.18 ·
439 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

328. Odd Even Linked List

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 value in the nodes.You should try to do it in plac
原创
发布博客 2017.02.18 ·
319 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

326. Power of Three

Given an integer, write a function to determine if it is a power of three.Follow up: Could you do it without using any loop / recursion?s思路: 1. 看是否3的指数,即判断n==3^i。直接的方法就是每次和3求余,如果为0,就除以3,看是否等于1. 2. 但
原创
发布博客 2017.02.18 ·
260 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

324. Wiggle Sort II

Given an unsorted array nums, reorder it such that nums[0] < nums[1] > nums[2] < nums[3]….Example: (1) Given nums = [1, 5, 1, 1, 6, 4], one possible answer is [1, 4, 1, 5, 1, 6]. (2) Given nums = [1
原创
发布博客 2017.02.18 ·
332 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

322. Coin Change

You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount. If that amount of money c
原创
发布博客 2017.02.17 ·
247 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

319. Bulb Switcher

There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every third bulb (turning on if it’s off or turning off i
原创
发布博客 2017.02.17 ·
251 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

318. Maximum Product of Word Lengths

Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assume that each word will contain only lower case lette
原创
发布博客 2017.02.17 ·
208 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

313. Super Ugly Number

Write a program to find the nth super ugly number.Super ugly numbers are positive numbers whose all prime factors are in the given prime list primes of size k. For example, [1, 2, 4, 7, 8, 13, 14, 16,
原创
发布博客 2017.02.17 ·
321 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

310. Minimum Height Trees

For a undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a rooted tree. Among all possible rooted trees, those with minimum height are called minim
原创
发布博客 2017.02.17 ·
249 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

309. Best Time to Buy and Sell Stock with Cooldown

Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy one and
原创
发布博客 2017.02.15 ·
249 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

307. Range Sum Query - Mutable

Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.The update(i, val) function modifies nums by updating the element at index i to val. Example: Give
原创
发布博客 2017.02.15 ·
284 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

306. Additive Number

Additive number is a string whose digits can form additive sequence.A valid additive sequence should contain at least three numbers. Except for the first two numbers, each subsequent number in the sequ
原创
发布博客 2017.02.15 ·
238 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

304. Range Sum Query 2D - Immutable

Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2, col2). Range Sum Query 2D The above rectangle
原创
发布博客 2017.02.15 ·
320 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

303. Range Sum Query - Immutable

Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.Example: Given nums = [-2, 0, 3, -5, 2, -1]sumRange(0, 2) -> 1 sumRange(2, 5) -> -1 sumRange(0, 5
原创
发布博客 2017.02.15 ·
248 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

300. Longest Increasing Subsequence

Given an unsorted array of integers, find the length of longest increasing subsequence.For example, Given [10, 9, 2, 5, 3, 7, 101, 18], The longest increasing subsequence is [2, 3, 7, 101], therefore
原创
发布博客 2017.02.15 ·
204 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

299. Bulls and Cows

You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the number is. Each time your friend makes a guess, you provide a hint that
原创
发布博客 2017.02.15 ·
337 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

292. Nim Game

You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will be the
原创
发布博客 2017.02.15 ·
254 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多