摘要:
Given an integer array arr of distinct integers and an integer k. A game will be played between the first two elements of the array (i.e. arr[0] and a 阅读全文
posted @ 2020-08-03 14:12
Schwifty
阅读(278)
评论(0)
推荐(0)
摘要:
Given an array of integers arr, and three integers a, b and c. You need to find the number of good triplets. A triplet (arr[i], arr[j], arr[k]) is goo 阅读全文
posted @ 2020-08-03 13:25
Schwifty
阅读(237)
评论(0)
推荐(0)
摘要:
Design a HashSet without using any built-in hash table libraries. To be specific, your design should include these functions: add(value): Insert a val 阅读全文
posted @ 2020-08-03 05:12
Schwifty
阅读(114)
评论(0)
推荐(0)

浙公网安备 33010602011771号