https://github.com/yes20sh/data-structure-algorithms
This repository contains implementations of various data structures and algorithms in Python. It is designed to help you understand and practice fundamental concepts in computer science.
https://github.com/yes20sh/data-structure-algorithms
algorithms data-structures interview-preparation problem-solving
Last synced: 10 months ago
JSON representation
This repository contains implementations of various data structures and algorithms in Python. It is designed to help you understand and practice fundamental concepts in computer science.
- Host: GitHub
- URL: https://github.com/yes20sh/data-structure-algorithms
- Owner: yes20sh
- Created: 2025-02-24T09:26:52.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-26T18:16:01.000Z (about 1 year ago)
- Last Synced: 2025-03-12T11:19:57.949Z (about 1 year ago)
- Topics: algorithms, data-structures, interview-preparation, problem-solving
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Interview Questions Repository
This repository contains a collection of basic and array-related coding problems to help you prepare for technical interviews. Each problem is implemented in Python and is designed to test your understanding of fundamental programming concepts and data structures.
## Basic Interview Questions
This folder contains basic data structure and algorithm questions.
### Questions
1. [Write a Python program to Reverse a String](Basic_interview-questions/1-Q.py).
2. [Write a Python program to Check Palindrome](Basic_interview-questions/2-Q.py).
3. [Write a Python program to Count Vowels in a String](Basic_interview-questions/3-Q.py).
4. [Write a Python program to find Factorial with Recursion](Basic_interview-questions/4-Q.py).
5. [Write a Python program to find Fibonacci Sequence](Basic_interview-questions/5-Q.py).
6. [Write a Python program to find the Maximum Element in a List](Basic_interview-questions/6-Q.py).
7. [Write a Python program to find Anagram Check](Basic_interview-questions/7-Q.py).
8. [Write a Python program to find Prime Numbers](Basic_interview-questions/8-Q.py).
9. [Write a Python program to check for Pangram](Basic_interview-questions/9-Q.py).
10. [Write a Python program to find the Minimum Element in a List](Basic_interview-questions/10-Q.py).
11. [Write a Python program to calculate the Sum of Digits in a Number](Basic_interview-questions/11-Q.py).
12. [Write a Python program to check for Armstrong Number](Basic_interview-questions/12-Q.py).
13. [Write a Python program to check for Leap Year](Basic_interview-questions/13-Q.py).
14. [Write a Python program to find the Average Numbers in a List](Basic_interview-questions/14-Q.py).
15. [Write a Python program to Merge Two Sorted Lists](Basic_interview-questions/15-Q.py).
16. [Write a Python program to Remove Duplicates from a String](Basic_interview-questions/16-Q.py).
17. [Write a Python program to Check for Perfect Numbers](Basic_interview-questions/17-Q.py).
18. [Write a Python program to Find the Maximum Difference between Two Elements in a List](Basic_interview-questions/18-Q.py).
19. [Write a Python program to check if a Number is Even or Odd](Basic_interview-questions/19-Q.py).
20. [Write a Python program to Count Words in a Sentence](Basic_interview-questions/20-Q.py).
21. [Write a Python program to Convert Decimal to Binary](Basic_interview-questions/21-Q.py).
22. [Write a Python program to Find Second Largest Element in a List](Basic_interview-questions/22-Q.py).
23. [Write a Python program to Reverse Words in a String](Basic_interview-questions/23-Q.py).
24. [Write a Python program to check if a Number is a Prime Factor](Basic_interview-questions/24-Q.py).
25. [Write a Python program to check if a Number is a Power of Two](Basic_interview-questions/25-Q.py).
26. [Write a Python program to convert Celsius to Fahrenheit](Basic_interview-questions/26-Q.py).
27. [Write a Python program to calculate the LCM (Least Common Multiple) of Two Numbers](Basic_interview-questions/27-Q.py).
## Array Interview Questions
This folder contains array-related coding problems.
### Questions
1. [Find the Second Largest Number in an Array](Array_Interview_questions/Easy/1-Q.py).
2. [Find the Third Largest Number in an Array](Array_Interview_questions/Easy/2-Q.py).
3. [Rotate the array elements to the left by d positions](Array_Interview_questions/Easy/3-Q.py).
## References
- [Basic Interview Questions](https://www.analyticsvidhya.com/articles/python-coding-interview-questions/)
- [Array Interview Questions](https://www.geeksforgeeks.org/top-50-array-coding-problems-for-interviews/)