摘要: package LeetCode_1664 /** * 1664. Ways to Make a Fair Array * https://leetcode.com/problems/ways-to-make-a-fair-array/ * You are given an integer arra 阅读全文
posted @ 2020-11-28 15:48 johnny_zhao 阅读(93) 评论(0) 推荐(0) 编辑
摘要: import java.util.concurrent.atomic.AtomicInteger /** * This problem was asked by Microsoft. Implement the singleton pattern with a twist. First, inste 阅读全文
posted @ 2020-11-28 11:13 johnny_zhao 阅读(73) 评论(0) 推荐(0) 编辑