Citi计算机科学面试真题

职位分类
全部
数据相关
计算机科学
人工智能
产品经理
BQ
面试题
全部(3)
OOD(1)
Algorithm(1)
System Design(1)
高频题(0)
Math(0)
全部(3)
OOD(1)
Algorithm(1)
System Design(1)
高频题(0)
Math(0)
1.Leetcode Threesum Problem
2.Purpose and use cases of Unsafe
3.Differences between TreeMap, HashMap, and ConcurrentHashMap
1. Leetcode Threesum Problem
Solve the Leetcode Threesum problem. The task is to find all unique triplets in the array which gives the sum of zero.
2. Purpose and use cases of Unsafe
What is Unsafe used for in Java, and when would you use it?
3. Differences between TreeMap, HashMap, and ConcurrentHashMap
Explain the differences between TreeMap, HashMap, and ConcurrentHashMap in Java.