diff --git a/LeetCode/Squares of a Sorted Array.java b/LeetCode/Squares of a Sorted Array.java new file mode 100644 index 0000000..6e92e1d --- /dev/null +++ b/LeetCode/Squares of a Sorted Array.java @@ -0,0 +1,10 @@ +class Solution { + public int[] sortedSquares(int[] nums) { + for(int i=0;i