摘要: Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either an integer or a list -- wh 阅读全文
posted @ 2020-09-12 11:05 苗妙苗 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list -- whose elements may also be integ 阅读全文
posted @ 2020-09-12 08:45 苗妙苗 阅读(102) 评论(0) 推荐(0) 编辑