????????Divide-and-Conquer????Google???????
???????????? ???????[ 2017/1/23 11:21:23 ] ?????????? ?????
????1.??????漰???洢???????????????????????
????2.????????????
?????????????????????????????????????н????????????????????к????????????????
????3.?????????????
????a.?????????е????????
????i.?????????????2???????????????
????ii.??????????к??
????iii.??臨??????T(N)=2T(N/2)+O(N);????T(N)?N???????????????????T(N/2)?N/2???????????????????????O(N)??????????????????T(N)=O(N*logN)?????????O(N^2)?????????
????b.??????????Σ?
????i.??C=A*B?????A???з??n???B???з??m??
????ii.C?????Cn=An*B1??An*B2??...??An*Bm
????Cnm=An*Bm
??????Cnm????Cn???????
????iii.??????10?????????????????????10??
????c.????——Map??????——Reduce
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11