摘要:
Lab 1链接:https://pdos.csail.mit.edu/6.824/labs/lab-1.html Part I: Map/Reduce input and output Part I需要补充两个关键功能:为map函数分解输出的功能和为reduce函数收集输入的功能,这两个功能对应的函 阅读全文
摘要:
题目: Given two strings s1, s2, find the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Example 2: Note: 0 < s1.length, s2 阅读全文
摘要:
题目: Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 思路: 这道题看起来并不难,但是有很多需要注意的点,我用了很久的时间才通过这道题。大致的思路 阅读全文
摘要:
题目: 448. Find All Numbers Disappeared in an Array Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and ot 阅读全文