package LeetCode_166 /** * 166. Fraction to Recurring Decimal * https://leetcode.com/problems/fraction-to-recurring-decimal/description/ * * Given two ...
                            
                            
                                分类:
其他好文   时间:
2020-07-14 00:36:05   
                                阅读次数:
87
                             
                         
                    
                        
                            
                            
                                You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number ...
                            
                            
                                分类:
其他好文   时间:
2020-07-12 18:48:43   
                                阅读次数:
50
                             
                         
                    
                        
                            
                            
                                Quagga BGP and exabgp: work together for BGP blackhole implementation In our test case we will deploy two machines: 10.0.3.114 for exabgp (it announce ...
                            
                            
                                分类:
其他好文   时间:
2020-07-12 12:21:39   
                                阅读次数:
70
                             
                         
                    
                        
                            
                            
                                    题目链接 https://leetcode-cn.com/problems/merge-two-sorted-lists/description/ 题目分析 两个链表已排序 新链表应该是两个链表拼接起来的,而非new出来的 链表中头结点的val应该是有意义的 题解一:迭代 思路 先new一个无意义的 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-11 19:10:40   
                                阅读次数:
83
                             
                         
                    
                        
                            
                            
                                    A Bug's Life Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different gend ...
                            
                            
                                分类:
其他好文   时间:
2020-07-11 17:33:44   
                                阅读次数:
54
                             
                         
                    
                        
                            
                            
                                A substring of a string T is defined as: T(i, k)=TiTi+1...Ti+k-1, 1≤i≤i+k-1≤|T|. Given two strings A, B and one integer K, we define S, a set of tripl ...
                            
                            
                                分类:
编程语言   时间:
2020-07-11 13:09:02   
                                阅读次数:
71
                             
                         
                    
                        
                            
                            
                                归并排序: 先分治后归并。 edit play_arrow brightness_4 /* Java program for Merge Sort */ class MergeSort { // Merges two subarrays of arr[]. // First subarray is  ...
                            
                            
                                分类:
编程语言   时间:
2020-07-10 23:51:51   
                                阅读次数:
78
                             
                         
                    
                        
                            
                            
                                    题目链接 https://leetcode-cn.com/problems/intersection-of-two-linked-lists/ 初次读题 初次读题可知 两个指针相同即需要求得的结果 链表长度可能不同 两个链表可能没有交叉点,此时返回NULL 不可修改链表结构 链表中无循环 我第一次读 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-10 23:51:38   
                                阅读次数:
63
                             
                         
                    
                        
                            
                            
                                题目 Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. Exampl ...
                            
                            
                                分类:
其他好文   时间:
2020-07-10 20:58:33   
                                阅读次数:
56
                             
                         
                    
                        
                            
                            
                                    agc025_d Choosing Points https://atcoder.jp/contests/agc025/tasks/agc025_d Tutorial https://img.atcoder.jp/agc025/editorial.pdf 我们要解决的问题实际上是 有两个大小为$V$ ...
                            
                            
                                分类:
其他好文   时间:
2020-07-10 15:36:35   
                                阅读次数:
66