Lipotso tsa Puisano ea Dropbox

Lipotso tsa likhoele tsa Dropbox

Potso ea 1. Bala lipara tse peli hole joalo ka li-Alphabets tsa Senyesemane Polelo ea Bothata Bothateng ba "Bala lipara tse peli hole joalo ka li-Alphabets tsa Senyesemane" re fane ka khoele "s". Ngola lenaneo le tla hatisa palo ea lipara tse likarolo tsa tsona li leng hole le li-alphabets tsa Senyesemane. Fomate ea ho Kena Mohala oa pele o nang le se fanoeng ...

Bala haholoanyane

Dropbox Lipotso tse ling

Potso ea 2. Web Crawler LeetCode Tharollo Setatamente sa Bothata Web Crawler LeetCode Tharollo - Ha u fuoa URL startUrl le interface HtmlParser, kenya ts'ebetso ea web crawler ho khasa lihokelo tsohle tse tlas'a lebitso la moamoheli joalo ka startUrl. Khutlisetsa li-URL tsohle tse fumanoeng ke sebatli sa hau sa Marang-rang ka tatellano efe kapa efe. Sebapali sa hau se lokela ho: Qala leqepheng lena: qalaUrl Letsetsa HtmlParser.getUrls(url) ho fumana li-URL tsohle leqepheng la tepo la ...

Bala haholoanyane

Potso ea 3. Moralo Hit Counter LeetCode Tharollo Moralo oa Setatemente sa Bothata Hit Counter LeetCode Tharollo - Rala k'haontareng ea ho otla e balang palo ea lipina tse fumanoeng metsotsong e 5 e fetileng (ke hore, metsotsoana e 300 e fetileng). Sistimi ea hau e lokela ho amohela paramethara ea setempe sa nako (ka metsotsoana ea granularity), 'me u ka nahana hore mehala e ntse e etsoa ho sistimi ka tatellano ea liketsahalo (ke hore, setempe sa nako se eketseha ka mokhoa o le mong). ...

Bala haholoanyane

Potso ea 4. Tlhaloso ea Lentsoe LeetCode Tharollo Polelo ea Bothata Tharollo ea Lentsoe LeetCode Tharollo - Re fuoa likhoele tsa 2 - "s" le "mohlala", re hloka ho fumana hore na mohlala o latela s. Ho latela mona ho bolela papali e felletseng. Ka mokhoa o hlophisitsoeng, re ka khona molemong o mong le o mong[i] ho tlameha ho ba le s[i] e le 'ngoe feela, ka tsela e fapaneng ke hore ho na le ...

Bala haholoanyane

Potso ea 5. Palo ea Liprofinse Tharollo ea Leetcode Polelo ea Bothata Palo ea Liprofinse Leetcode Tharollo - Re fuoa boemeli ba matrix a adjacency ea graph mme re hloka ho fumana palo ea liprofinse. Mona profinse ke sehlopha sa litoropo tse hokahaneng ka kotloloho kapa ka tsela e sa tobang 'me ha ho litoropo tse ling kantle ho sehlopha. Mohlala oa 1: Kenyeletso: isConnected ...

Bala haholoanyane

Potso ea 6. Sliding Window Boholo Bothateng ba Sliding Window Maximum re fane ka li-nums, bakeng sa fensetere e 'ngoe le e' ngoe ea boholo ba k, fumana palo e phahameng ea fensetere. Mehlala ea ho kenya linomoro [] = {1,3, -1, -3,5,3,6,7} k = 3 Sephetho {3,3,5,5,6,7} Tlhaloso Mokhoa o sa Tsebeng oa ho Sliding Window Boholo Bakeng sa fensetere e 'ngoe le e' ngoe ea boholo ba k, e tšela ...

Bala haholoanyane

Potso ea 7. Ts'ebetsong ea LRU Cache Cache e sa tsoa sebelisoa (LRU) Cache ke mofuta oa mokhoa o sebelisetsoang ho boloka lintlha joalo hore nako e hlokahalang ea ho sebelisa data ke bonyane bo ka khonehang. LRU algorithm e sebelisitsoeng ha cache e tletse. Re tlosa lintlha tse sa tsoa sebelisoa habonolo mohopolong oa polokelo ea ...

Bala haholoanyane

Translate »