关闭

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

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

(未完成)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...
阅读(104) 评论(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...
阅读(98) 评论(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...
阅读(104) 评论(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. 但...
阅读(73) 评论(0)

324. Wiggle Sort II

Given an unsorted array nums, reorder it such that nums[0] 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...
阅读(100) 评论(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...
阅读(73) 评论(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...
阅读(99) 评论(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...
阅读(69) 评论(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,...
阅读(69) 评论(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...
阅读(83) 评论(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...
阅读(66) 评论(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...
阅读(81) 评论(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...
阅读(82) 评论(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...
阅读(68) 评论(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...
阅读(70) 评论(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...
阅读(50) 评论(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...
阅读(74) 评论(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...
阅读(77) 评论(0)

290. Word Pattern

Given a pattern and a string str, find if str follows the same pattern.Here follow means a full match, such that there is a bijection between a letter in pattern and a non-empty word in str.Examples:...
阅读(194) 评论(0)
270条 共14页1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:23435次
    • 积分:2792
    • 等级:
    • 排名:第14134名
    • 原创:270篇
    • 转载:0篇
    • 译文:0篇
    • 评论:0条
    文章分类
    文章存档