### AMR-KELEG's blog

By AMR-KELEG, history, 5 years ago,

Could you please tell me how to solve problem B (Breaking Biscuits) in the gym contest http://codeforces.com/gym/101606 ?

Thanks

• +17

By AMR-KELEG, history, 5 years ago,

I can't solve this problem: http://www.spoj.com/HSPL09/problems/HS09NLG/

Can the problem somehow be reduced to NIM game?

• 0

By AMR-KELEG, history, 5 years ago,

I have lately learned how to use the LCA algorithm.

I am now wondering whether HLD can be used to solve problems that LCA can't solve or not?

Thanks

• 0

By AMR-KELEG, history, 5 years ago,

(a % b) % c == (a%c) %b Is this statement true?

• -19

By AMR-KELEG, history, 6 years ago,

Hi all,

Does anyone have recommendations on how to add a link to my account on Codeforces to my Linkedin profile?

How can I mention my experience on Codeforces in an elegant way?

Thanks

• +14

By AMR-KELEG, history, 6 years ago,

Hi all,

Can you tell me how can i generate Random Prime Numbers in polygon using generators?

Thanks

• 0

By AMR-KELEG, history, 6 years ago,

Hi all,

I would like to know if there is a mathematical way to choose the appropriate value of epsilon given the maximum/minimum value of the x and y coordinates?

And will choosing a very small value of epsilon cause any sort of problems?

• +5

By AMR-KELEG, history, 6 years ago,

Hi guys,

I have always used the top-down approach of dynamic programming until i found that some questions require using the bottom-up (table method) to optimize memory and(or) time usage.

Could you please tell me what are these optimizations or provide a link to a blog post/website that explains it?

Thanks

• +8

By AMR-KELEG, history, 7 years ago,

I would like to know if implementing the trie using a Node struct(class) is considered a good way of implementing it in competitive programming.

I saw that some programmers use a multidimensional array to implement it which seems a bit confusing.

Thanks

• +6