User talk:Spoon!: Difference between revisions

Snake/Java
(Snake/Java)
Line 62:
 
:Oh yeah, I hadn't thought about the types of the integer. In Python, integers automatically overflow into arbitrary-precision integers (2.x) or are already arbitrary-precision integers (3.x), so the correct translation would have been to use BigInteger. I'll think about the other solution, but a disadvantage of hash tables is that insertion and lookup are O(n) in the worst-case. Perhaps a binary search tree based dictionary will be good as insertion and lookup is amortized O(log n) in the worst case, the same as insertion and removal in a heap-based priority queue. --[[User:Spoon!|Spoon!]] ([[User talk:Spoon!|talk]]) 06:02, 25 June 2014 (UTC)
 
== Snake/Java ==
Team work, heheh. Those clunky enums look much better now. Thanks. [[User:Fwend|Fwend]] ([[User talk:Fwend|talk]]) 00:51, 14 April 2016 (UTC)
Anonymous user