DEV Community

Discussion on: School problem from senior developer interview

Collapse
 
jannikwempe profile image
Jannik Wempe

That was a fun task and I could refresh some aspects of python doing it. Thanks!

Until now (programm is still executing) I just have the following solution:
X -> 92740
Y -> ???
Z -> ???

I am pretty sure that my solution is far from perfect, since it has a huge runtime and memory consumption. Therefore I'm really looking forward to a better approach.

Collapse
 
rodiongork profile image
Rodion Gorkovenko

Jannik, Hi!

Thanks for attempt!

Yep, it is just a matter of making it work without speed degradation due to number length increase :)