- Tech
- 重构重复if语句的三个方式
- Mockito-如何写出好的测试代码(翻译)
- Zygote pre-fork线程池源码分析
- 接口的默认实现(Default Methods)
- 拓扑排序算法
- Java 动态代理原理解析
- AQS详解(一) 信号量Semaphore的使用
- linux Cgroup Freezer 子系统原理
- Android JNI方法的注册
- Linux中的信号
- Android稳定性之native crash —— 之debuggerd(tombstoned in Android P)
- Android稳定性之java crash
- Android稳定性 开篇
- 浅析ART虚拟机(二)虚拟机创建
- 浅析ART虚拟机(一)虚拟机第一次启动
- java1.8方法引用官方文档
- ArrayMap的hash碰撞和内存优化的原理
- Android智能指针(六):RefBase的debug
- Android智能指针(五):sp、wp的析构
- Android智能指针(四):wp
- Android智能指针(三):sp
- Android智能指针(二):RefBase
- Android智能指针(一):概述
- simple-perf工具(四)
- simple-perf工具(三)
- simple-perf工具(二)
- simple-perf工具(一)
- permissive domains not allowed in user builds
- binder_sample日志分析
- 科学上网,理性爱国
- Android lowmemorykiller源码分析(四)
- Android lowmemorykiller源码分析(三)
- Android lowmemorykiller源码分析(二)
- Android lowmemorykiller源码分析(一)
- APP COMPACTION 源码分析(kernel层)
- 有序广播和无序广播anr问题
- app compaction 源码分析(framework层)
- Android屏幕旋转流程(二)
- Android屏幕旋转流程(一)
- Android P ClientTransaction
- startactivity流程
- AMS服务的启动
- choreographer(一)
- wms服务启动
- 使用google cloud platform搭建免费的shadowsocks服务器
- 高通应用启动优化IO-Prefetcher源码解析(二)
- 高通应用启动优化IO Prefetcher源码解析
- input事件处理流程(四)
- input事件处理流程(二)
- input事件处理流程(三)
- input事件处理流程
- lambda expressions
- Android流量统计源码分析
- watchdog 原理
- 树莓派ssh连接以及无线静态ip分配
- netd学习记录(二)kernel主动上报流程解析(一)
- netd学习记录(一)main函数解析
- netd学习记录(一)概述
- 源码NativeDaemonConnector解析
- java读写锁以及官方示例讲解
- 从搭vps到搭建自己的shadowsock翻墙梯子
- SEAndroid学习笔记
- anr处理日常记录
- 关于AppOpsManager部分
- AppOps简介
- 学习repo相关
- 学习git相关
- 新公司aosp代码下载
- Life
- 有感于鬼脚七
- 《无间道》的想法
- 关于财富的一些观点转变
- 到美丽的地方去
- 我想当冒险家
- 浮生偷得半日闲
- hello world
- Leetcode
- 1979. Find Greatest Common Divisor of Array
- 1812. Determine Color of a Chessboard Square
- 1370. Increasing Decreasing String
- 1704. Determine if String Halves Are Alike
- 2315. Count Asterisks
- 2089. Find Target Indices After Sorting Array
- 1827. Minimum Operations to Make the Array Increasing
- 1863. Sum of All Subset XOR Totals
- 1732. Find the Highest Altitude
- 1725. Number Of Rectangles That Can Form The Largest Square
- 1557. Minimum Number of Vertices to Reach All Nodes
- 1630. Arithmetic Subarrays
- 2221. Find Triangular Sum of an Array
- 2108. Find First Palindromic String in the Array
- 1305. All Elements in Two Binary Search Trees
- 1572. Matrix Diagonal Sum
- 1967. Number of Strings That Appear as Substrings in Word
- 1844. Replace All Digits with Characters
- 1382. Balance a Binary Search Tree
- 2176. Count Equal and Divisible Pairs in an Array
- 2079. Watering Plants
- 1534. Count Good Triplets
- 1816. Truncate Sentence
- 1877. Minimize Maximum Pair Sum in Array
- 1817. Finding the Users Active Minutes
- 1551. Minimum Operations to Make Array Equal
- 1913. Maximum Product Difference Between Two Pairs
- 1832. Check if the Sentence Is Pangram
- 2103. Rings and Rods
- 2220. Minimum Bit Flips to Convert Number
- 2149. Rearrange Array Elements by Sign
- 2130. Maximum Twin Sum of a Linked List
- 2006. Count Number of Pairs With Absolute Difference K
- 2037. Minimum Number of Moves to Seat Everyone
- 2161. Partition Array According to Given Pivot
- 1688. Count of Matches in Tournament
- 2125. Number of Laser Beams in a Bank
- 2120. Execution of All Suffix Instructions Staying in a Grid
- 1859. Sorting the Sentence
- 2265. Count Nodes Equal to Average of Subtree
- 2194. Cells in a Range on an Excel Sheet
- 1828. Queries on Number of Points Inside a Circle
- 2181. Merge Nodes in Between Zeros
- 2160. Minimum Sum of Four Digit Number After Splitting Digits
- 2114. Maximum Number of Words Found in Sentences
- 2011. Final Value of Variable After Performing Operations
- 2236. Root Equals Sum of Children
- 1356. Sort Integers by The Number of 1 Bits
- 1337. The K Weakest Rows in a Matrix
- 1309. Decrypt String from Alphabet to Integer Mapping
- 1304. Find N Unique Integers Sum up to Zero
- 1275. Find Winner on a Tic Tac Toe Game
- 1957. Delete Characters to Make Fancy String
- 1550. Three Consecutive Odds
- 1507. Reformat Date
- 1360. Number of Days Between Two Dates
- 1935. Maximum Number of Words You Can Type
- 1331. Rank Transform of an Array
- 1299. Replace Elements with Greatest Element on Right Side
- 1287. Element Appearing More Than 25% In Sorted Array
- 1619. Mean of Array After Removing Some Elements
- 228. Summary Ranges
- 145. Binary Tree Postorder Traversal
- 143. Reorder List
- 231. Power of Two
- 1200. Minimum Absolute Difference
- 221. Maximal Square
- 147. Insertion Sort List
- 938. Range Sum of BST
- 1446. Consecutive Characters
- 144. Binary Tree Preorder Traversal
- 1929. Concatenation of Array
- 1920. Build Array from Permutation
- 1588. Sum of All Odd Length Subarrays
- 1329. Sort the Matrix Diagonally
- 1656. Design an Ordered Stream
- 1791. Find Center of Star Graph
- 1773. Count Items Matching a Rule
- 1684. Count the Number of Consistent Strings
- 1614. Maximum Nesting Depth of the Parentheses
- 1662. Check If Two String Arrays are Equivalent
- 1637. Widest Vertical Area Between Two Points Containing No Points
- 1486. XOR Operation in an Array
- 1302. Deepest Leaves Sum
- 1769. Minimum Number of Operations to Move All Balls to Each Box
- 1282. Group the People Given the Group Size They Belong To
- 1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree
- 1528. Shuffle String
- 1720. Decode XORed Array
- 1678. Goal Parser Interpretation
- 1603. Design Parking System
- 1689. Partitioning Into Minimum Number Of Deci-Binary Numbers
- 1512. Number of Good Pairs
- 1672. Richest Customer Wealth
- 1476. Subrectangle Queries
- 1480. Running Sum of 1d Array
- 100盏灯暗灭情况
- 获得最多的奖金
- 222. Count Complete Tree Nodes
- 274. H-Index
- 468. Validate IP Address
- 787. Cheapest Flights Within K Stops
- 380. Insert Delete GetRandom O(1)
- 75. Sort Colors
- 1460. Make Two Arrays Equal by Reversing Sub-arrays
- 1464. Maximum Product of Two Elements in an Array
- 1470. Shuffle the Array
- 518.Coin Change 2
- 528. Random Pick with Weight
- 1315. Sum of Nodes with Even-Valued Grandparent
- 329. Longest Increasing Path in a Matrix
- 1203. Sort Items by Groups Respecting Dependencies
- 210. Course Schedule II
- 207. Course Schedule
- 1323. Maximum 69 Number
- 886. Possible Bipartition
- 525. Contiguous Array
- 1035. Uncrossed Lines
- 1266. Minimum Time Visiting All Points
- 1450. Number of Students Doing Homework at a Given Time
- 230. Kth Smallest Element in a BST
- 901. Online Stock Span
- 567. Permutation in String
- 328. Odd Even Linked List
- 918. Maximum Sum Circular Subarray
- 402. Remove K Digits
- 1226. The Dining Philosophers
- 1290. Convert Binary Number in a Linked List to Integer
- 1436. Destination City
- cube root
- 1389. Create Target Array in the Given Order
- 1295. Find Numbers with Even Number of Digits
- 1431. Kids With the Greatest Number of Candies
- 1281. Subtract the Product and Sum of Digits of an Integer
- 1313. Decompress Run-Length Encoded List
- 1365. How Many Numbers Are Smaller Than the Current Number
- 1342. Number of Steps to Reduce a Number to Zero
- 283. Move Zeroes
- 61. Rotate List
- 959. Regions Cut By Slashes
- 684. Redundant Connection
- 1277. Count Square Submatrices with All Ones
- 986. Interval List Intersections
- 1261. Find Elements in a Contaminated Binary Tree
- 1232. Check If It Is a Straight Line
- 1260. Shift 2D Grid
- 1221. Split a String in Balanced Strings
- 1237. Find Positive Integer Solution for a Given Equation
- 1252. Cells with Odd Values in a Matrix
- 1110. Delete Nodes And Return Forest
- 885. Spiral Matrix III
- 1111. Maximum Nesting Depth of Two Valid Parentheses Strings
- 979. Distribute Coins in Binary Tree
- 1222. Queens That Can Attack the King
- 1161. Maximum Level Sum of a Binary Tree
- 299. Bulls and Cows
- 392. Is Subsequence
- 1175. Prime Arrangements
- 1184. Distance Between Bus Stops
- 1217. Play with Chips
- 1189. Maximum Number of Balloons
- 1185. Day of the Week
- 1200. Minimum Absolute Difference
- 1207. Unique Number of Occurrences
- 合并K个排序链表
- 相交链表
- 环形链表 II
- 排序链表
- 两数相加
- 合并两个有序链表
- 接雨水
- 合并区间
- 朋友圈
- 第k个排列
- 翻转单向链表
- 最长连续序列
- 数组中的第K个最大元素
- 最长连续递增序列
- 搜索旋转排序数组
- 岛屿的最大面积
- 1154. Day of the Year
- 三数之和
- 复原IP地址
- 1170. Compare Strings by Frequency of the Smallest Character
- 1078. Occurrences After Bigram
- 1160. Find Words That Can Be Formed by Characters
- 1103. Distribute Candies to People
- 翻转字符串里的单词
- 字符串相乘
- 字符串的排列
- 最长公共前缀
- 无重复字符的最长子串
- 1123. Lowest Common Ancestor of Deepest Leaves
- 951. Flip Equivalent Binary Trees
- 861. Score After Flipping Matrix
- 921. Minimum Add to Make Parentheses Valid
- 1104. Path In Zigzag Labelled Binary Tree
- 797. All Paths From Source to Target
- 890. Find and Replace Pattern
- 877. Stone Game
- 1137. N-th Tribonacci Number
- 763. Partition Labels
- 814. Binary Tree Pruning
- 894. All Possible Full Binary Trees
- 1008. Construct Binary Search Tree from Preorder Traversal
- 701. Insert into a Binary Search Tree
- 1128. Number of Equivalent Domino Pairs
- 705. Design HashSet
- 706. Design HashMap
- 1108. Defanging an IP Address
- move zeros
- roll a linkedlist
- 1122. Relative Sort Array
- 1079. Letter Tile Possibilities
- 654. Maximum Binary Tree
- 1038. Binary Search Tree to Greater Sum Tree
- 807. Max Increase to Keep City Skyline
- 707. Design Linked List
- 859. Buddy Strings
- 686. Repeated String Match
- 874. Walking Robot Simulation
- 754. Reach a Number
- 687. Longest Univalue Path
- 949. Largest Time for Given Digits
- 680. Valid Palindrome II
- 1033. Moving Stones Until Consecutive
- 1037. Valid Boomerang
- 443. String Compression
- 970. Powerful Integers
- 482. License Key Formatting
- 558. Quad Tree Intersection
- 1041. Robot Bounded In Circle
- 1089. Duplicate Zeros
- 744. Find Smallest Letter Greater Than Target
- 925. Long Pressed Name
- 720. Longest Word in Dictionary
- 989. Add to Array-Form of Integer
- 1010. Pairs of Songs With Total Durations Divisible by 60
- 844. Backspace String Compare
- 994. Rotting Oranges
- 703. Kth Largest Element in a Stream
- 1018. Binary Prefix Divisible By 5
- 1071. Greatest Common Divisor of Strings
- 836. Rectangle Overlap
- 1042. Flower Planting With No Adjacent
- 1047. Remove All Adjacent Duplicates In String
- 704. Binary Search
- 1051. Height Checker
- 997. Find the Town Judge
- 1005. Maximize Sum Of Array After K Negations
- 860. Lemonade Change
- 783. Minimum Distance Between BST Nodes
- 1046. Last Stone Weight
- 733. Flood Fill
- 1022. Sum of Root To Leaf Binary Numbers
- 993. Cousins in Binary Tree
- 696. Count Binary Substrings
- 1029. Two City Scheduling
- 748. Shortest Completing Word
- 788. Rotated Digits
- 1030. Matrix Cells in Distance Order
- 938. Range Sum of BST
- 1013. Partition Array Into Three Parts With Equal Sum
- 892. Surface Area of 3D Shapes
- 427. Construct Quad Tree
- 812. Largest Triangle Area
- 953. Verifying an Alien Dictionary
- 917. Reverse Only Letters
- 976. Largest Perimeter Triangle
- 824. Goat Latin
- 1009. Complement of Base 10 Integer
- 429. N-ary Tree Level Order Traversal
- 1025. Divisor Game
- 868. Binary Gap
- 884. Uncommon Words from Two Sentences
- 872.Leaf-Similar Trees
- 897. Increasing Order Search Tree
- 876. Middle of the Linked List
- 811. Subdomain Visit Count
- 1021. Remove Outermost Parentheses
- 908. Smallest Range I
- 883. Projection Area of 3D Shapes
- 559. Maximum Depth of N-ary Tree
- 985. Sum of Even Numbers After Queries
- 590. N-ary Tree Postorder Traversal
- 589. N-ary Tree Preorder Traversal
- 509. Fibonacci Number
- 700. Search in a Binary Search Tree
- 965. Univalued Binary Tree
- 999. Available Captures for Rook
- 1002. Find Common Characters
- 933. Number of Recent Calls
- 977. Squares of a Sorted Array
- 961. N-Repeated Element in Size 2N Array
- 937. Reorder Log Files
- 893. Groups of Special-Equivalent Strings
- 667. Beautiful Arrangement II
- 950. Reveal Cards In Increasing Order
- 914. X of a Kind in a Deck of Cards
- 941. Valid Mountain Array
- 840. Magic Squares In Grid
- 849. Maximize Distance to Closest Person
- 830. Positions of Large Groups
- 888. Fair Candy Swap
- 896. Monotonic Array
- 867. Transpose Matrix
- 922. Sort Array By Parity II
- 944. Delete Columns to Make Sorted
- 942. DI String Match
- 852. Peak Index in a Mountain Array
- 832. Flipping an Image
- 905. Sort Array By Parity
- 709. To Lower Case
- 929. Unique Email Addresses
- 821. Shortest Distance to a Character
- 650. 2 Keys Keyboard
- 819. Most Common Word
- 638. Shopping Offers
- 486. Predict the Winner
- 714. Best Time to Buy and Sell Stock with Transaction Fee
- 三个线程轮流打印ABC
- 64. Minimum Path Sum
- 746. Min Cost Climbing Stairs
- 769. Max Chunks To Make Sorted
- 724. Find Pivot Index
- 747. Largest Number At Least Twice of Others
- 674. Longest Continuous Increasing Subsequence
- 796. Rotate String
- 806. Number of Lines To Write String
- 804. Unique Morse Code Words
- 47. Permutations II
- 131. Palindrome Partitioning
- 40. Combination Sum II
- 17. Letter Combinations of a Phone Number
- 90. Subsets II
- 77. Combinations
- 39. Combination Sum
- 78. Subsets
- 357. Count Numbers with Unique Digits
- 46. Permutations
- 216. Combination Sum III
- 784. Letter Case Permutation
- 762. Prime Number of Set Bits in Binary Representation
- 697. Degree of an Array
- 671. Second Minimum Node In a Binary Tree
- 682. Baseball Game
- 669. Trim a Binary Search Tree
- 766. Toeplitz Matrix
- 771. Jewels and Stones
- 760.Find Anagram Mappings
- 8.String to Integer (atoi)
- 653. Two Sum IV - Input is a BST
- 728. Self Dividing Numbers
- 695. Max Area of Island
- 690. Employee Importance
- 693. Binary Number with Alternating Bits
- 3. Longest Substring Without Repeating Characters
- 657. Judge Route Circle
- 爬楼梯
- 找出旋转有序数列的中间值
- 665. Non-decreasing Array
- 661. Image Smoother
- 187. Repeated DNA Sequences
- 201. Bitwise AND of Numbers Range
- 137. Single Number II
- 318. Maximum Product of Word Lengths
- 397. Integer Replacement
- 22. Generate Parentheses
- 211. Add and Search Word - Data structure design
- 648. Replace Words
- 208. Implement Trie (Prefix Tree)
- 421. Maximum XOR of Two Numbers in an Array
- 498. Diagonal Traverse
- 445. Add Two Numbers II
- 2. Add Two Numbers
- 343. Integer Break
- 167. Two Sum II - Input array is sorted
- 94. Binary Tree Inorder Traversal
- 384. Shuffle an Array
- 646. Maximum Length of Pair Chain
- 477. Total Hamming Distance
- 461. Hamming Distance
- 382. Linked List Random Node
- 503. Next Greater Element II
- 623. Add One Row to Tree
- 347. Top K Frequent Elements
- 538. Convert BST to Greater Tree
- 637. Average of Levels in Binary Tree
- 643. Maximum Average Subarray I
- 647. Palindromic Substrings
- 645. Set Mismatch
- 238. Product of Array Except Self
- 547. Friend Circles
- 565. Array Nesting
- 451. Sort Characters By Frequency
- 260. Single Number III
- 462. Minimum Moves to Equal Array Elements II
- 495. Teemo Attacking
- 609. Find Duplicate File in System
- 508. Most Frequent Subtree Sum
- 540. Single Element in a Sorted Array
- 413. Arithmetic Slices
- 515. Find Largest Value in Each Tree Row
- 442. Find All Duplicates in an Array
- 553. Optimal Division
- 7. Reverse Integer
- 479. Largest Palindrome Product
- 526. Beautiful Arrangement
- 189. Rotate Array
- 278. First Bad Version
- 633. Sum of Square Numbers
- 168. Excel Sheet Column Title
- 125. Valid Palindrome
- 406. Queue Reconstruction by Height
- 598. Range Addition II
- 628. Maximum Product of Three Numbers
- 606. Construct String from Binary Tree
- 599. Minimum Index Sum of Two Lists
- 513. Find Bottom Left Tree Value
- 338. Counting Bits
- 419. Battleships in a Board
- 204. Count Primes
- 414. Third Maximum Number
- 28. Implement strStr()
- 624. Maximum Distance in Arrays
- 532. K-diff Pairs in an Array
- 537. Complex Number Multiplication
- 69. Sqrt(x)
- 535. Encode and Decode TinyURL
- 155. Min Stack
- 617. Merge Two Binary Trees
- 605. Can Place Flowers
- 303. Range Sum Query - Immutable
- 190. Reverse Bits
- 475. Heaters
- 594. Longest Harmonious Subsequence
- 400. Nth Digit
- 160. Intersection of Two Linked Lists
- 流量控制整理
- 581. Shortest Unsorted Continuous Subarray
- 14. Longest Common Prefix
- 58. Length of Last Word
- 203. Remove Linked List Elements
- 219. Contains Duplicate II
- 225. Implement Stack using Queues
- 234. Palindrome Linked List
- 572. Subtree of Another Tree
- 575. Distribute Candies
- 290. Word Pattern
- 111. Minimum Depth of Binary Tree
- 1. Two Sum
- 20. Valid Parentheses
- 507. Perfect Number
- 205. Isomorphic Strings
- 566. Reshape the Matrix
- 530. Minimum Absolute Difference in BST
- 563. Binary Tree Tilt
- 521. Longest Uncommon Subsequence I
- 520. Detect Capital
- 557. Reverse Words in a String III
- 561. Array Partition I
- 438. Find All Anagrams in a String
- 9. Palindrome Number
- 172. Factorial Trailing Zeroes
- 374. Guess Number Higher or Lower
- 38. Count and Say
- 26. Remove Duplicates from Sorted Array
- 551. Student Attendance Record I
- 119. Pascal's Triangle II
- 232. Implement Queue using Stacks
- 441. Arranging Coins
- 257. Binary Tree Paths
- 110. Balanced Binary Tree
- 434. Number of Segments in a String
- 541. Reverse String II
- 118. Pascal's Triangle
- 67. Add Binary
- 66. Plus One
- 101. Symmetric Tree
- 367. Valid Perfect Square
- 27. Remove Element
- 543. Diameter of Binary Tree
- 345. Reverse Vowels of a String
- 198. House Robber
- 21. Merge Two Sorted Lists
- 235. Lowest Common Ancestor of a Binary Search Tree
- 107. Binary Tree Level Order Traversal II
- 102. Binary Tree Level Order Traversal
- 437. Path Sum III
- 113. Path Sum II
- 112.path sum
- LineageOS本地nexus 5编译烧机过程
- 342. Power of Four
- 263. Ugly Number
- 70. Climbing Stairs
- 53. Maximum Subarray
- 35. Search Insert Position
- 501. Find Mode in Binary Search Tree
- 405. Convert a Number to Hexadecimal
- 504. Base 7
- 108.Convert Sorted Array to Binary Search Tree
- 268. Missing Number
- 506. Relative Ranks
- 500. Keyboard Row
- 496. Next Greater Element I
- 122. Best Time to Buy and Sell Stock II
- 167. Two Sum II - Input array is sorted
- 492. Construct the Rectangle
- 485. Max Consecutive Ones
- 121. Best Time to Buy and Sell Stock
- 202. Happy Number
- 231. Power of Two
- 476. Number Complement
- 326. Power of Three
- 459. Repeated Substring Pattern
- 448. Find All Numbers Disappeared in an Array
- 461. Hamming Distance
- 415. Add Strings
- 13. Roman to Integer
- 401. Binary Watch
- 350. Intersection of Two Arrays II
- 409. Longest Palindrome
- 387. First Unique Character in a String
- 100. Same Tree
- 349. Intersection of Two Arrays
- 226. Invert Binary Tree
- 404. Sum of Left Leaves
- 453. Minimum Moves to Equal Array Elements
- 463. Island Perimeter
- 383. Ransom Note
- 455.Assign Cookies
- 88 Merge Sorted Array
- reverse string
- 292 Nim Game
- FIZZBUZZ