This repository contains solutions to various algorithm problems in Leetcode. Each problem is implemented in Python and is stored in a separate file. Below is a brief description of each problem and its solution.
- File: 121. best time to buy and sell stock.py
- Description: Finds the maximum profit that can be achieved from buying and selling a stock.
- File: 1268. Search Suggestions System.py
- Description: Suggests at most three product names from a list of products after each character of the search word is typed.
- File: 13. roman to integer.py
- Description: Converts a Roman numeral to an integer.
- File: 168. Excel Sheet Column Title.py
- Description: Converts a given column number to its corresponding Excel sheet column title.
- File: 242. Valid Anagram.py
- Description: Checks if two strings are anagrams of each other.
- File: 3sum.py
- Description: Finds all unique triplets in the array which gives the sum of zero.