Woncz Blog

快乐生活,快乐编程

Data structure & Algorithm

algos

DS & Algos の importance fundamental course training thought pattern practical meaning interview salary & position の upgrade basic DS Array List Stack Queue & Dequ...

Discover

unknown world

发现之旅 2019-09-16 牛顿迭代法 1 2019-09-17 从2-3树到红黑树 2019-09-18 B树 and B+树 2019-09-19 等比数列求和公式 1 2 3 4 Sn = 1, q, q^2, q^3 ... q^n q * Sn = q, q^2, q^3 ... q^n, q^n+1 Sn - q * Sn = 1 - q^n+1 Sn = (1 ...

arts week07

arts

Algorithm LeetCode算法题 Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non-whitespace character is foun...

arts week06

arts

Algorithm LeetCode算法题 Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 120 Output: 21 Note: ...

优秀到不能被忽视

So good they cann't ignore you

· 优秀到不能被忽视 rule1:不要追随自己的热情 1 2 3 4 不要被乔帮主给带偏了 激情是精通的副产品,精通的主要产品是胜任与自主 人们总是急于开始生活,但这是个悲哀 -- 好应景 要在某方面有所擅长,但这需要时间 rule2:工匠思维胜过激情思维 ``` 把时间花在重要的事情上,而不是花在紧急的事情上 伟大的成就不在于天赋,而在于在正确的时间...

arts week05

arts

Algorithm LeetCode算法题 The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) ...

arts week04

arts

Algorithm LeetCode算法题 Given a string, find the length of the longest substring without repeating characters. Example 1: Input: “abcabcbb” Output: 3 Explanation: The answer is “abc”, with the l...

arts week03

arts

Algorithm LeetCode算法题 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). ...

arts week02

arts

Algorithm LeetCode算法题 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add t...

arts week01

arts

Algorithm LeetCode算法题 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, an...