all the duplicate values are getting removed except 22. why so and what will be the solution?
Asked
Active
Viewed 31 times
0

Meezan Malek
- 110
- 1
- 5
-
2Don't post code as images. Have you tried debugging this by printing `l1` too? – AKX Jul 26 '23 at 12:03
-
1And also don't remove elements while you iterate over it. Instead make a copy. – Abdul Niyas P M Jul 26 '23 at 12:04
-
@AKX yes its not working – Meezan Malek Jul 26 '23 at 12:10