Skip to content

Tag: java

Google Foobar Challenge 3 – Find the Access Codes

Find the Access Codes Write a function answer(l) that takes a list of positive integers l and counts the number of “lucky triples” of (lst[i], lst[j], lst[k]) where i < j < k. The length of l is between 2 and 2000 inclusive. The elements of l are between 1 and 999999 inclusive. The answer fi…

about Speed: Python VS Java

Just curious about speed of Python and Java.. Intuitively, Python should be much slower than java, but I want to know more…Could anybody give me more? or introduce some nice post to read? Answer The current standard implementation of Python (CPython) is slower than Java because the standard CPython impl…