364. Nested List Weight Sum II
摘要: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 -- whose elements may also be integers or other lists...
阅读全文
posted @ 2018-11-07 05:26
浙公网安备 33010602011771号