摘要: Given a (singly) linked list with head node root, write a function to split the linked list into k consecutive linked list "parts". The length of each 阅读全文
posted @ 2020-08-29 03:48 Schwifty 阅读(131) 评论(0) 推荐(0)
摘要: Given a function rand7 which generates a uniform random integer in the range 1 to 7, write a function rand10 which generates a uniform random integer 阅读全文
posted @ 2020-08-29 01:37 Schwifty 阅读(184) 评论(0) 推荐(0)