 Leko was born in Belgrade, Serbia, on September the 17th, 1853 to a merchant family.He attended and graduated from Polytechnic school in Zurich and obtained his doctoral degree in 1875.For a short period he was employed in Hoffmman's laboratory.