Ali Hamdi Ali Fadel · @Ali Hamdi Ali Fadel

Github

nth_catalan

Ali Hamdi Ali Fadel · @AliOsm · about 4 years

Calculates the n-th Catalan number, (2N)! / (N! * (N + 1)!), in a mathematical operations efficient way.

0 · 0 · 2 Show code

n_choose_k

Ali Hamdi Ali Fadel · @AliOsm · about 4 years

Calculates N choose K, N! / (K! * (N - K)!), in a mathematical operations efficient way.

1 · 0 · 1 Show code

fib_with_memoizing

Ahmed Khaled · @nemoload · about 4 years

Calculating the n-th number in Fibonacci sequence with dynamic programming.

4 · 1 · 1 Show code

thread_pool

Emad Elsaid · @emad-elsaid · about 4 years

This function takes an array of objects and executes a method in each object in parallel in multiple threads

4 · 0 · 3 Show code

crawl_and_extract_urls

Ali Hamdi Ali Fadel · @AliOsm · about 4 years

Crawl a web page and extract URLs from its HTML using naive loop implementation. Its running time is comparable or less than using URI.extract().

2 · 0 · 1 Show code