# LeetCode

Competitive Coding, problems from LeetCode

## How the bits/stdc++ .h works in C++

I often wonder, How does #include < bits/stdc++.h> work?. I’ve seen this while solving competitive problems and referring to various solutions and I wanted to know what’s happing in the…

## Perform Set Operations on Arrays

In this problem, we’ll be performing some basic set operations on the given arrays like Union, Intersection, and Difference. I found this problem when I was writing a practice test…

## Remove Duplicates from a Sorted Linked List

Remove duplicates from a sorted linked list. In this problem, as the list is already sorted, the duplicates are next to one another and easy to identify. However, as we…

## Count the Duplicates of Array O(N)

In the given problem, we have a sorted array, and we need to count the duplicates of each element. In simple words, we should print the no.of times each element…

## Anagram in Strings

Given, two strings and we need to check if those strings form an anagram. If you are wondering what’s an Anagram? When the characters of one word are obtained from…