摘要: Given an integer array arr. You have to sort the integers in the array in ascending order by the number of 1's in their binary representation and in c 阅读全文
posted @ 2020-02-23 12:48 Schwifty 阅读(405) 评论(0) 推荐(0)
摘要: Given an integer num, find the closest two integers in absolute difference whose product equals num + 1 or num + 2. Return the two integers in any ord 阅读全文
posted @ 2020-02-23 12:37 Schwifty 阅读(162) 评论(0) 推荐(0)
摘要: Write a program to count the number of days between two dates. The two dates are given as strings, their format is YYYY-MM-DD as shown in the examples 阅读全文
posted @ 2020-02-23 10:52 Schwifty 阅读(377) 评论(0) 推荐(0)