yeah correct as per logic set has only unique elements but leetcode la vandhu how many unique elements adha return pananum...also neenga set ku extra memory use panringa..naan link tharan leetcode odathu paarunga try panunga leetcode.com/problems/remove-duplicates-from-sorted-array/
Bro naan old subscriber 12th unga video parthuten ippo 3rd semester data structure cs3301 linked list video podunga pls
Thalaa vongaa name yenaa 🧐
Bro seekarem arrays and strings problems podunga.
import java.util.*;
class HelloWorld {
static void display(int a[])
{
Set s = new TreeSet();
for(int i=0;i
yeah correct as per logic set has only unique elements but leetcode la vandhu how many unique elements adha return pananum...also neenga set ku extra memory use panringa..naan link tharan leetcode odathu paarunga try panunga
leetcode.com/problems/remove-duplicates-from-sorted-array/
Ok anna👍
ippo thaan naa collections padika start pannirukan so itha set vechi solve pannirukan🙂
inbuilt method ilama use pannu thala
No inbuilt method i used