Grab 'solve_me' and post your code d = {'k1':[1,2,{'k2':['Blind this is tricky',{'tough':[1,2,['solve_me']]}]}]} Did you fire up your IDE and how long did it take?
From top of what I remember: Import numpy e = numpy.flatten(d) print(e[len(e)-1])
Stahp this- Numpy has no attribute 'flatten'
It's ndarray.flatten()
That fuckin mess of dict and lists
Whoever wrote this kind of data structure should be fired.
Tech Industry
Yesterday
1339
Women, help me understand why this is inspirational
Tech Industry
Yesterday
2332
What happens when most of your team is Indian?
Health & Wellness
Yesterday
408
Lasik cost
Tech Industry
3d
61276
Crossed a line with my boss
Tech Industry
2d
14604
RIP Google Core Employees replaced with Mexico and India Workers
d['k1'][2]['k2'][1]['tough'][2][0] did I pass the test cases mommy?
Damn it. I'll be back...
We're leetcode experts here kid, nuttin personnel