How to solve 3sum problem using dictiobary with python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to solve 3sum problem using dictiobary with python?

if you also have the code,it would be better.

25th Jun 2019, 4:55 PM
Sepehr
Sepehr - avatar
6 Answers
+ 3
🙌 happy coding
27th Jun 2019, 8:28 PM
Anton Böhler
Anton Böhler - avatar
+ 2
not what you asked for, exactly, but works... 😅: https://code.sololearn.com/c5o1qapohx69/?ref=app
27th Jun 2019, 6:45 PM
Anton Böhler
Anton Böhler - avatar
+ 1
recursive or iterative?
25th Jun 2019, 6:02 PM
Anton Böhler
Anton Böhler - avatar
+ 1
No.list not good.also by dictionary I meant hashtable but in python it's called dictionary.and for second question iterative it is.
25th Jun 2019, 9:10 PM
Sepehr
Sepehr - avatar
+ 1
thank you.
27th Jun 2019, 6:46 PM
Sepehr
Sepehr - avatar
0
would a list not be more intuitive?
25th Jun 2019, 5:17 PM
Anton Böhler
Anton Böhler - avatar