摘要: There are n soldiers standing in a line. Each soldier is assigned a unique rating value. You have to form a team of 3 soldiers amongst them under the 阅读全文
posted @ 2020-04-16 08:00 Schwifty 阅读(236) 评论(0) 推荐(0)
摘要: Given an array of integers arr, a lucky integer is an integer which has a frequency in the array equal to its value. Return a lucky integer in the arr 阅读全文
posted @ 2020-04-16 04:41 Schwifty 阅读(252) 评论(0) 推荐(0)