Understand 8 Basic Algorithms Problems with Python
Jun 6, 2021
This article tried to get deep understanding from different perspective by taking notes and coding in different ways.
- Check if a number is prime
2. Sort number list into the number list of the even numbers in the first position and the odd numbers in the second position
3. Find the maximum sum of sequence numbers list
4. Find the maximum count of character
5. Delete duplicate numbers and output unique number
6. Find pair of target and complement numbers which are two sum of numbers
7. Output permutations of input number list
8. Implement cache function