About Algorithm: Difference between revisions

From My Limbic Wiki
Line 4: Line 4:
* Two pass are necessary to calculate the left and right products https://leetcode.com/problems/product-of-array-except-self/
* Two pass are necessary to calculate the left and right products https://leetcode.com/problems/product-of-array-except-self/
* 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/
=Sorting Algoritms=
=Sorting Algoritms=
* [[Index.php?title=Binary Search|Binary Search]]
* [[Index.php?title=Binary Search|Binary Search]]

Revision as of 04:25, 3 October 2025

Tips

Sorting Algoritms

Graphs

  • Dijkstra
  • Topologic sorting

Cryptography & Compression

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

Prime Numbers

  • ?

Most beautiful Equation