Skip to content

Commit 04d0c3d

Browse files
Update README.md
status update
1 parent 1a56cb0 commit 04d0c3d

File tree

1 file changed

+60
-60
lines changed

1 file changed

+60
-60
lines changed

README.md

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -17,85 +17,85 @@ This repository contains 50 Python-related algorithms and programming problems t
1717

1818
---
1919

20-
## Basic Python Programming
20+
## Basic Python Programming- ✅
2121

22-
1. **Calculate the Sum of a List**: Write a Python function to calculate the sum of all numbers in a given list.
23-
2. **Find the Maximum and Minimum of a List**: Write a Python function to find the maximum and minimum elements in a list.
24-
3. **Check for Prime Numbers**: Write a Python function that checks if a given number is prime.
25-
4. **Generate Fibonacci Sequence**: Write a Python program to generate the first N numbers of the Fibonacci sequence.
26-
5. **Reverse a String**: Write a Python function that takes a string and returns it reversed.
22+
1. **Calculate the Sum of a List**: Write a Python function to calculate the sum of all numbers in a given list.- ✅
23+
2. **Find the Maximum and Minimum of a List**: Write a Python function to find the maximum and minimum elements in a list.- ✅
24+
3. **Check for Prime Numbers**: Write a Python function that checks if a given number is prime.- ✅
25+
4. **Generate Fibonacci Sequence**: Write a Python program to generate the first N numbers of the Fibonacci sequence.- ✅
26+
5. **Reverse a String**: Write a Python function that takes a string and returns it reversed.- ✅
2727

28-
## Data Structures
28+
## Data Structures- ✅
2929

30-
6. **Implement a Stack Using a List**: Create a class that implements the stack data structure using a Python list.
31-
7. **Implement a Queue Using a List**: Create a class that implements the queue data structure using a Python list.
32-
8. **Merge Two Sorted Lists**: Write a Python function that merges two sorted lists into a single sorted list.
33-
9. **Find Duplicates in a List**: Write a Python program to find and print duplicates in a list.
34-
10. **Transpose a Matrix**: Write a Python function that transposes a given matrix.
30+
6. **Implement a Stack Using a List**: Create a class that implements the stack data structure using a Python list.- ✅
31+
7. **Implement a Queue Using a List**: Create a class that implements the queue data structure using a Python list.- ✅
32+
8. **Merge Two Sorted Lists**: Write a Python function that merges two sorted lists into a single sorted list.- ✅
33+
9. **Find Duplicates in a List**: Write a Python program to find and print duplicates in a list.- ✅
34+
10. **Transpose a Matrix**: Write a Python function that transposes a given matrix.- ✅
3535

36-
## Data Manipulation
36+
## Data Manipulation
3737

38-
11. **Remove Duplicates from a List**: Write a Python function to remove duplicates from a list while maintaining the original order.
39-
12. **Flatten a Nested List**: Write a Python function to flatten a list of lists (e.g., `[[1, 2], [3, 4]]` becomes `[1, 2, 3, 4]`).
40-
13. **Filter Even/Odd Numbers from a List**: Write a Python function that filters and returns only even or odd numbers from a list.
41-
14. **Group Elements of a List**: Write a Python function that groups elements of a list based on a condition (e.g., group by even and odd numbers).
42-
15. **Sort a List of Tuples**: Write a Python function to sort a list of tuples based on the second element in each tuple.
38+
11. **Remove Duplicates from a List**: Write a Python function to remove duplicates from a list while maintaining the original order.
39+
12. **Flatten a Nested List**: Write a Python function to flatten a list of lists (e.g., `[[1, 2], [3, 4]]` becomes `[1, 2, 3, 4]`).
40+
13. **Filter Even/Odd Numbers from a List**: Write a Python function that filters and returns only even or odd numbers from a list.
41+
14. **Group Elements of a List**: Write a Python function that groups elements of a list based on a condition (e.g., group by even and odd numbers).
42+
15. **Sort a List of Tuples**: Write a Python function to sort a list of tuples based on the second element in each tuple.
4343

44-
## String Manipulation
44+
## String Manipulation
4545

46-
16. **Count the Occurrence of Each Character in a String**: Write a Python program to count the occurrence of each character in a given string.
47-
17. **Check if a String is a Palindrome**: Write a Python function that checks if a given string is a palindrome.
48-
18. **Find All Permutations of a String**: Write a Python function to generate all permutations of a given string.
49-
19. **Remove All Punctuation from a String**: Write a Python function to remove all punctuation from a given string.
50-
20. **Find the Longest Common Substring**: Write a Python program to find the longest common substring in two strings.
46+
16. **Count the Occurrence of Each Character in a String**: Write a Python program to count the occurrence of each character in a given string.
47+
17. **Check if a String is a Palindrome**: Write a Python function that checks if a given string is a palindrome.
48+
18. **Find All Permutations of a String**: Write a Python function to generate all permutations of a given string.
49+
19. **Remove All Punctuation from a String**: Write a Python function to remove all punctuation from a given string.
50+
20. **Find the Longest Common Substring**: Write a Python program to find the longest common substring in two strings.
5151

52-
## Recursion and Algorithms
52+
## Recursion and Algorithms
5353

54-
21. **Binary Search**: Implement the binary search algorithm in Python.
55-
22. **Merge Sort**: Implement the merge sort algorithm in Python.
56-
23. **Quick Sort**: Implement the quick sort algorithm in Python.
57-
24. **Find the GCD of Two Numbers**: Write a Python function that finds the greatest common divisor (GCD) of two numbers using recursion.
58-
25. **Find the N-th Fibonacci Number Using Recursion**: Write a Python function to find the N-th Fibonacci number using recursion.
54+
21. **Binary Search**: Implement the binary search algorithm in Python.
55+
22. **Merge Sort**: Implement the merge sort algorithm in Python.
56+
23. **Quick Sort**: Implement the quick sort algorithm in Python.
57+
24. **Find the GCD of Two Numbers**: Write a Python function that finds the greatest common divisor (GCD) of two numbers using recursion.
58+
25. **Find the N-th Fibonacci Number Using Recursion**: Write a Python function to find the N-th Fibonacci number using recursion.
5959

60-
## Data Processing
60+
## Data Processing
6161

62-
26. **Calculate Moving Averages**: Write a Python function to calculate the moving average of a list of numbers.
63-
27. **Find the Median of a List**: Write a Python function that finds the median of a list of numbers.
64-
28. **Remove Outliers from a Dataset**: Write a Python program to remove outliers from a dataset using the IQR method.
65-
29. **Impute Missing Values in a Dataset**: Write a Python function to impute missing values in a dataset using mean, median, or mode.
66-
30. **Normalize a Dataset**: Write a Python program to normalize a dataset between 0 and 1.
62+
26. **Calculate Moving Averages**: Write a Python function to calculate the moving average of a list of numbers.
63+
27. **Find the Median of a List**: Write a Python function that finds the median of a list of numbers.
64+
28. **Remove Outliers from a Dataset**: Write a Python program to remove outliers from a dataset using the IQR method.
65+
29. **Impute Missing Values in a Dataset**: Write a Python function to impute missing values in a dataset using mean, median, or mode.
66+
30. **Normalize a Dataset**: Write a Python program to normalize a dataset between 0 and 1.
6767

68-
## Working with DataFrames (Pandas)
68+
## Working with DataFrames (Pandas)
6969

70-
31. **Load a CSV File into a DataFrame**: Write a Python script to load a CSV file into a pandas DataFrame.
71-
32. **Group Data by a Column**: Write a Python program to group data in a DataFrame by a specific column.
72-
33. **Filter Data Based on a Condition**: Write a Python script to filter rows in a DataFrame based on a condition.
73-
34. **Calculate Summary Statistics**: Write a Python program to calculate summary statistics (mean, median, std, etc.) for each column in a DataFrame.
74-
35. **Handle Missing Data in a DataFrame**: Write a Python program to handle missing data in a pandas DataFrame.
70+
31. **Load a CSV File into a DataFrame**: Write a Python script to load a CSV file into a pandas DataFrame.
71+
32. **Group Data by a Column**: Write a Python program to group data in a DataFrame by a specific column.
72+
33. **Filter Data Based on a Condition**: Write a Python script to filter rows in a DataFrame based on a condition.
73+
34. **Calculate Summary Statistics**: Write a Python program to calculate summary statistics (mean, median, std, etc.) for each column in a DataFrame.
74+
35. **Handle Missing Data in a DataFrame**: Write a Python program to handle missing data in a pandas DataFrame.
7575

76-
## Data Visualization
76+
## Data Visualization
7777

78-
36. **Plot a Line Chart**: Write a Python script to plot a line chart using Matplotlib.
79-
37. **Plot a Histogram**: Write a Python program to plot a histogram of a dataset using Matplotlib.
80-
38. **Create a Scatter Plot**: Write a Python script to create a scatter plot using Matplotlib.
81-
39. **Plot a Heatmap of Correlation Matrix**: Write a Python program to plot a heatmap of a correlation matrix using Seaborn.
82-
40. **Plot Multiple Subplots**: Write a Python script to create multiple subplots in a single figure using Matplotlib.
78+
36. **Plot a Line Chart**: Write a Python script to plot a line chart using Matplotlib.
79+
37. **Plot a Histogram**: Write a Python program to plot a histogram of a dataset using Matplotlib.
80+
38. **Create a Scatter Plot**: Write a Python script to create a scatter plot using Matplotlib.
81+
39. **Plot a Heatmap of Correlation Matrix**: Write a Python program to plot a heatmap of a correlation matrix using Seaborn.
82+
40. **Plot Multiple Subplots**: Write a Python script to create multiple subplots in a single figure using Matplotlib.
8383

84-
## Basic Machine Learning
84+
## Basic Machine Learning
8585

86-
41. **Implement Linear Regression**: Write a Python program to implement linear regression using scikit-learn.
87-
42. **Implement Logistic Regression**: Write a Python script to implement logistic regression using scikit-learn.
88-
43. **Perform K-Means Clustering**: Write a Python program to perform K-Means clustering on a dataset.
89-
44. **Implement a Decision Tree Classifier**: Write a Python program to implement a decision tree classifier using scikit-learn.
90-
45. **Implement K-Nearest Neighbors (KNN)**: Write a Python script to implement the KNN algorithm on a dataset.
86+
41. **Implement Linear Regression**: Write a Python program to implement linear regression using scikit-learn.
87+
42. **Implement Logistic Regression**: Write a Python script to implement logistic regression using scikit-learn.
88+
43. **Perform K-Means Clustering**: Write a Python program to perform K-Means clustering on a dataset.
89+
44. **Implement a Decision Tree Classifier**: Write a Python program to implement a decision tree classifier using scikit-learn.
90+
45. **Implement K-Nearest Neighbors (KNN)**: Write a Python script to implement the KNN algorithm on a dataset.
9191

92-
## Advanced Python Techniques
92+
## Advanced Python Techniques
9393

94-
46. **Create a Decorator for Function Timing**: Write a Python decorator that times the execution of a function and prints the result.
95-
47. **Implement Memoization for Recursive Functions**: Write a Python function that uses memoization to optimize a recursive function.
96-
48. **Create a Custom Exception Class**: Write a Python class to define a custom exception and use it in a simple program.
97-
49. **Generate and Save Synthetic Data**: Write a Python script to generate synthetic data for a dataset and save it to a CSV file.
98-
50. **Parallelize a Task Using Multiprocessing**: Write a Python script that uses the multiprocessing library to parallelize a computational task.
94+
46. **Create a Decorator for Function Timing**: Write a Python decorator that times the execution of a function and prints the result.
95+
47. **Implement Memoization for Recursive Functions**: Write a Python function that uses memoization to optimize a recursive function.
96+
48. **Create a Custom Exception Class**: Write a Python class to define a custom exception and use it in a simple program.
97+
49. **Generate and Save Synthetic Data**: Write a Python script to generate synthetic data for a dataset and save it to a CSV file.
98+
50. **Parallelize a Task Using Multiprocessing**: Write a Python script that uses the multiprocessing library to parallelize a computational task.
9999

100100
---
101101

0 commit comments

Comments
 (0)