Skip to content

0.0.16

@Francium-223 Francium-223 tagged this 25 Aug 08:12
- _from_json detects the "[]" suffix and builds a list of objects, so
  array params (e.g. merge-k-sorted-lists) get a list of ListNode heads
- _from_json returns None for null values instead of crashing
- _to_json serializes None (empty node) as [] to match LeetCode's format
- _parse_value delegates to _from_json
Assets 2
Loading