This repository contains all programming problems those haven been asked during interview from various top tech companies.
In this, I provide a problem statement along with companies name in which the problem has been asked and a test_cases.txt file which contains some test cases. I will add new test cases time to time.
These problem statements have been solved in following programming languages:
- Python
- Go
- Java
Note : You are welcome to add and modify in the repository as well. Also if you have any problem statement and that you want to solve in any of the above programming language please let me know as well. I would love to solve those problems.
- Pair sum in a array which is equal to given number.
- Custom square root function using Newton–Raphson method.
- Product of array without i (Don't use division operator).
- Missing smallest positive integer.
- Number of ways an encoded digits can be decoded.
- Largest sum of non-adjacent numbers.
- Unique ways to climb the staircase.
- Longest substring with k distinct characters.