We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Sorting
- Closest Numbers
- Discussions
Closest Numbers
Closest Numbers
Sort by
recency
|
620 Discussions
|
Please Login in order to post a comment
Here is my c++ solution, you can watch the explanation here: https://youtu.be/-sX3IgdQ6Wg
def closestNumbers(arr):
https://github.com/Achintha444/problem-solving-hackerrank-js/blob/main/90-closest-numbers.js
solution in js
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger;
public class Solution {
}