Ayoub Omari·Mar 14, 2023Rediscover a math identityThis divine harmony of numbers, and of the nature in general (in a mathematical point of view) is one of the reasons we have people…A response icon1A response icon1
Ayoub Omari·Mar 3, 2023Faster ways to detect prime numbersIf you have ever written a program to evaluate whether a number is prime or not, it’s very likely that your algorithm looked like the…A response icon3A response icon3
InCantor’s ParadisebyAyoub Omari·Feb 14, 2023What’s happening with 2^n+1 numbers ?I was writing down some numbers of the form 2^n + 1 next to their prime decomposition, when I saw a curious pattern at 2⁵+1.A response icon8A response icon8
InTDS ArchivebyAyoub Omari·Sep 9, 2022A study of the most famous random number generatorA study of the linear congruential generator and its weaknessesA response icon3A response icon3
Ayoub Omari·Sep 3, 2021What’s inside a binary code file ?When introduced to programming, we usually encounter the following statement:
Ayoub Omari·Apr 15, 2021Wildcard matching — Dynamic Programming is easyIn this post, through the wildcard matching problem, I want to highlight the fact that dynamic programming is very intuitive, and once you…
Ayoub Omari·Mar 6, 2021System call — How it worksA system call can be defined as a request made to the OS so that it executes some operations for the user process. In modern operating…
Ayoub Omari·Oct 13, 2019Longest Well Performing IntervalIn this post, we are going to see a classical way to optimize Brute force solutions for array problems.A response icon2A response icon2
Ayoub Omari·Aug 25, 2019132 PatternIn this post, I would like to share my thinking process for this problem, and how the One pass O(N) stack solution is intuitive.A response icon2A response icon2
Ayoub Omari·Aug 14, 2019Kth Smallest Element in Sorted MatrixIn this post, I would like to share my whole thinking process for this problem.A response icon3A response icon3