diff --git a/Day-8/q1. First Missing Positive/aishwarya--J.md b/Day-8/q1. First Missing Positive/aishwarya--J.md new file mode 100644 index 00000000..51c5a61e --- /dev/null +++ b/Day-8/q1. First Missing Positive/aishwarya--J.md @@ -0,0 +1,18 @@ +``` +class Solution { + public int firstMissingPositive(int[] nums) { + int n=nums.length; + Arrays.sort(nums); + int sum=1; + for(int i=0;i