摘要: Given an array of n integers nums and an integer target, find the number of index triplets i, j, k with 0 <= i < j < k < n that satisfy the condition  阅读全文
posted @ 2020-05-28 05:16 CNoodle 阅读(97) 评论(0) 推荐(0)
摘要: We want to split a group of n people (labeled from 1 to n) into two groups of any size. Each person may dislike some other people, and they should not 阅读全文
posted @ 2020-05-28 04:45 CNoodle 阅读(138) 评论(0) 推荐(0)
摘要: Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is be 阅读全文
posted @ 2020-05-28 01:43 CNoodle 阅读(216) 评论(0) 推荐(0)