<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[咸鱼夏の翻身观察记录]]></title><description><![CDATA[吾日三省吾身：敲代码否?敲代码否?敲代码否?]]></description><link>https://blog.csdn.net/Time504</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Time504]]></copyright><item><title><![CDATA[PAT 1141 PAT Ranking of Institutions [map STL] [sort排序] [string类型的大小写转换]]]></title><link>https://blog.csdn.net/Time504/article/details/90938513</link><guid>https://blog.csdn.net/Time504/article/details/90938513</guid><author>Time504</author><pubDate>Wed, 05 Jun 2019 20:56:58 +0800</pubDate><description><![CDATA[After each PAT, the PAT Center will announce the ranking of institutions based on their students' performances. Now you are asked to generate the ranklist.

Input Specification:

Each input file conta...]]></description><category></category></item><item><title><![CDATA[PAT 1116 Come on! Let's C [逻辑题] [素数判断]]]></title><link>https://blog.csdn.net/Time504/article/details/90415050</link><guid>https://blog.csdn.net/Time504/article/details/90415050</guid><author>Time504</author><pubDate>Tue, 21 May 2019 20:53:37 +0800</pubDate><description><![CDATA["Let's C" is a popular and fun programming contest hosted by the College of Computer Science and Technology, Zhejiang University. Since the idea of the contest is for fun, the award rules are funny as...]]></description><category></category></item><item><title><![CDATA[LeetCode [栈] 496.Next Greater Element I（C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299609</link><guid>https://blog.csdn.net/Time504/article/details/90299609</guid><author>Time504</author><pubDate>Sat, 18 May 2019 14:14:20 +0800</pubDate><description><![CDATA[496 Next Greater Element I[难度：简单][哈希表/栈]

【题目】

You are given two arrays(without duplicates)nums1andnums2wherenums1’s elements are subset ofnums2. Find all the next greater numbers fornums1'...]]></description><category></category></item><item><title><![CDATA[LeetCode [栈] 682.Baseball Game（C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299639</link><guid>https://blog.csdn.net/Time504/article/details/90299639</guid><author>Time504</author><pubDate>Sat, 18 May 2019 14:14:12 +0800</pubDate><description><![CDATA[682 Baseball Game[难度：简单][stringstream:字符串转整数神器]

【题目】

You're now a baseball game point recorder.

Given a list of strings, each string can be one of the 4 following types:

Integer(one round's sco...]]></description><category></category></item><item><title><![CDATA[LeetCode [栈] 844.Backspace String Compare（C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299586</link><guid>https://blog.csdn.net/Time504/article/details/90299586</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:55:13 +0800</pubDate><description><![CDATA[844 Backspace String Compare [难度：简单] [空间复杂度为1|巧妙运用变量]

【题目】

Given twostringsSandT,return if they are equal when both are typed into empty text editors.#means a backspace character.

Example 1:...]]></description><category></category></item><item><title><![CDATA[LeetCode [栈] 155.Min Stack（C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299565</link><guid>https://blog.csdn.net/Time504/article/details/90299565</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:53:25 +0800</pubDate><description><![CDATA[155 Min Stack [难度：简单] [最小栈] （解法很巧妙）

【题目】

Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.

push(x) -- Push element x onto stack.
	pop() -- Removes th...]]></description><category></category></item><item><title><![CDATA[LeetCode [栈] 20.Valid Parentheses （C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299546</link><guid>https://blog.csdn.net/Time504/article/details/90299546</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:51:52 +0800</pubDate><description><![CDATA[20 Valid Parentheses [难度:简单] [括号匹配]

【题目】

Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.

An input string is valid if:

Open br...]]></description><category></category></item><item><title><![CDATA[LeetCode [链表] 141.Linked List Cycle （C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299523</link><guid>https://blog.csdn.net/Time504/article/details/90299523</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:49:52 +0800</pubDate><description><![CDATA[141.Linked List Cycle [难度：简单]

【题目】

Given a linked list, determine if it has a cycle in it.

To represent a cycle in the given linked list, we use an integerposwhich represents the position (0-inde...]]></description><category></category></item><item><title><![CDATA[LeetCode [链表] 234.Palindrome Linked List （C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299504</link><guid>https://blog.csdn.net/Time504/article/details/90299504</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:48:22 +0800</pubDate><description><![CDATA[234.Palindrome Linked List [难度：简单]

【题目】

Given a singly linked list, determine if it is a palindrome.

Example 1:


Input: 1-&gt;2
Output: false

Example 2:


Input: 1-&gt;2-&gt;2-&gt;1
Output: true
...]]></description><category></category></item><item><title><![CDATA[LeetCode [链表] 876. Middle of the Linked List （C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299486</link><guid>https://blog.csdn.net/Time504/article/details/90299486</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:46:42 +0800</pubDate><description><![CDATA[876. Middle of the Linked List [难度：简单]

【题目】

Given a non-empty, singlylinked list with head nodehead, returnamiddle node of linked list.

If there are two middle nodes, return the second middle n...]]></description><category></category></item><item><title><![CDATA[LeetCode [链表] 206. Reverse Linked List （C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299460</link><guid>https://blog.csdn.net/Time504/article/details/90299460</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:45:04 +0800</pubDate><description><![CDATA[206. Reverse Linked List [难度：简单]

【题目】

Reverse a singly linked list.

Example:


Input: 1-&gt;2-&gt;3-&gt;4-&gt;5-&gt;NULL
Output: 5-&gt;4-&gt;3-&gt;2-&gt;1-&gt;NULL


Follow up:

A linked list can b...]]></description><category></category></item><item><title><![CDATA[LeetCode [链表] 19.Remove Nth Node From End of List （C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299437</link><guid>https://blog.csdn.net/Time504/article/details/90299437</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:42:41 +0800</pubDate><description><![CDATA[19.Remove Nth Node From End of List [难度：中等]

【题目】

Given a linked list, remove then-th node from the end of list and return its head.

Example:


Given linked list: 1-&gt;2-&gt;3-&gt;4-&gt;5, and n =...]]></description><category></category></item><item><title><![CDATA[LeetCode [链表] 21.Merge Two Sorted Lists （C++和Python实现）]]></title><link>https://blog.csdn.net/Time504/article/details/90299416</link><guid>https://blog.csdn.net/Time504/article/details/90299416</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:41:11 +0800</pubDate><description><![CDATA[21.Merge Two Sorted Lists [难度：简单]

【题目】

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.

Example:


Input...]]></description><category></category></item><item><title><![CDATA[PAT 1132 Cut Integer [string相关操作] [余数为0的浮点错误]]]></title><link>https://blog.csdn.net/Time504/article/details/90299223</link><guid>https://blog.csdn.net/Time504/article/details/90299223</guid><author>Time504</author><pubDate>Fri, 17 May 2019 19:33:34 +0800</pubDate><description><![CDATA[Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long integers A and B. For example, after cutting Z = 167334, we have A = 167 and B = 334. It is interesting...]]></description><category></category></item><item><title><![CDATA[PAT 1136 A Delayed Palindrome [字符串反转] [大整数运算]]]></title><link>https://blog.csdn.net/Time504/article/details/90271358</link><guid>https://blog.csdn.net/Time504/article/details/90271358</guid><author>Time504</author><pubDate>Thu, 16 May 2019 20:45:03 +0800</pubDate><description><![CDATA[Consider a positive integerNwritten in standard notation withk+1digitsa​i​​asa​k​​⋯a​1​​a​0​​with0≤a​i​​&lt;10for allianda​k​​&gt;0. ThenNispalindromicif and only ifa​i​​=a​k−i​​for a...]]></description><category></category></item><item><title><![CDATA[PAT 1140 Look-and-say Sequence [字符串处理] [模拟]]]></title><link>https://blog.csdn.net/Time504/article/details/90144717</link><guid>https://blog.csdn.net/Time504/article/details/90144717</guid><author>Time504</author><pubDate>Wed, 15 May 2019 20:08:43 +0800</pubDate><description><![CDATA[Look-and-say sequence is a sequence of integers as the following:


D, D1, D111, D113, D11231, D112213111, ...


whereDis in [0, 9] except 1. The (n+1)st number is a kind of description of the nth n...]]></description><category></category></item><item><title><![CDATA[PAT 1082 Read Number in Chinese [字符串处理] [数字分位读法]]]></title><link>https://blog.csdn.net/Time504/article/details/90113509</link><guid>https://blog.csdn.net/Time504/article/details/90113509</guid><author>Time504</author><pubDate>Sat, 11 May 2019 20:32:58 +0800</pubDate><description><![CDATA[Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. OutputFufirst if it is negative. For example, -123456789 is read asFu yi Yi er Qian san Bai ...]]></description><category></category></item><item><title><![CDATA[PAT 1023 Have Fun with Numbers [大整数运算]]]></title><link>https://blog.csdn.net/Time504/article/details/89438201</link><guid>https://blog.csdn.net/Time504/article/details/89438201</guid><author>Time504</author><pubDate>Sun, 21 Apr 2019 20:11:03 +0800</pubDate><description><![CDATA[Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens to be another 9-digit number con...]]></description><category></category></item><item><title><![CDATA[PAT 1017 Queueing at Bank [模拟]]]></title><link>https://blog.csdn.net/Time504/article/details/89255699</link><guid>https://blog.csdn.net/Time504/article/details/89255699</guid><author>Time504</author><pubDate>Fri, 12 Apr 2019 20:30:25 +0800</pubDate><description><![CDATA[Suppose a bank hasKwindows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the customers have to wait in line behind the yellow li...]]></description><category></category></item><item><title><![CDATA[PAT 1105 Spiral Matrix [顺时针打印矩阵] [模拟]]]></title><link>https://blog.csdn.net/Time504/article/details/89217178</link><guid>https://blog.csdn.net/Time504/article/details/89217178</guid><author>Time504</author><pubDate>Thu, 11 Apr 2019 18:55:05 +0800</pubDate><description><![CDATA[This time your job is to fill a sequence ofNpositive integers into aspiral matrixin non-increasing order. A spiral matrix is filled in from the first element at the upper-left corner, then move in...]]></description><category></category></item></channel></rss>