Forum tips

Writing in Hebrew
If you post a forum message in Hebrew (or English mixed with Hebrew), add[[div style="direction:rtl;"]]
before your message, and[[/div]]
after it (each on a separate line).

Including Python code
When including python code in your message, if you don't want to lose the indentation, and also benefit from syntax highlighting, add[[code type="python"]]
before the code, and[[/code]]
after it (each on a separate line).

BoldPut ** before and after the text: a**b**c —> abc

UnderlinePut __ before and after the text: a__b__c —> abc

Raw textPut @@ before and after the text, to ignore formatting: @@a**b**c@@ --> a**b**c

Obviously running time depends on your computer's specifications. However, even with memoization, the complexity of a naive solution is rather disastrous. We do not expect any tricky solutions, just the naive one with memoization.