Day 18 of LeetCode Challenge
Problem 1: Remove Duplicates from Sorted Array
Link to the problem: https://leetcode.com/problems/remove-duplicates-from-sorted-array
class Solution {
public int removeDuplicates(int[] nums) {
if (nums.length == 0) return 0;
int...
tusharpant.hashnode.dev3 min read