Sample Python coding challenges
-
nested_arrays.py
-
nested_arrays_test.py
-
invite_customers.py
-
invite_customers_test.py
-
customers.json
The report about a challenge of my last job interview.
-
walking-robot.py
A robot which can move down and right is traversing some terrain that can be represented as a hex grid. Find the least cost path from top left to bottom right through such a grid. Return the path for the robot to follow.
46B E59 EA C1F 45E 63
899 FFF 926 7AD C4E FFF
E2E 323 6D2 976 83F C96
9E9 A8B 9C1 461 F74 D05
EDD E94 5F4 D1D D03 DE3
89 925 CF9 CA0 F18 4D2
r,r,d,d,r,d,d,r,r,d
Bonus: Consider allowing the robot to move up and left.
-
7-seg.py
Complete description on this url: https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=307&page=show_problem&problem=2363
010079010+010079= 106010+010= BYE
010079010+010079=010106106 106010+010=106093