About Algorithm: Difference between revisions

From My Limbic Wiki
No edit summary
Line 5: Line 5:
* A product invert the sign, the max becomes the min, and the min becomes the max: https://leetcode.com/problems/maximum-product-subarray/
* A product invert the sign, the max becomes the min, and the min becomes the max: https://leetcode.com/problems/maximum-product-subarray/
* Binary search exploit "sorted and rotated" structure. At every iteration, it divide the space by 2 using left or right. https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
* Binary search exploit "sorted and rotated" structure. At every iteration, it divide the space by 2 using left or right. https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
* Search in Rotated Sorted Array https://leetcode.com/problems/search-in-rotated-sorted-array/
** Find the pivot
** Binary Search to left side, Binary Search to right side
=Sorting Algoritms=
=Sorting Algoritms=
* [[Index.php?title=Binary Search|Binary Search]]
* [[Index.php?title=Binary Search|Binary Search]]

Revision as of 06:35, 5 October 2025

Tips

Sorting Algoritms

Graphs

  • Dijkstra
  • Topologic sorting

Cryptography & Compression

  • Shannon-Fano
  • Huffman
  • Diffie-Hellman
  • RSA

Prime Numbers

  • ?

Most beautiful Equation