Ayoub OmariFaster 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…4 min read·Mar 3, 2023--3--3
Ayoub OmariinCantor’s ParadiseWhat’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.3 min read·Feb 14, 2023--7--7
Ayoub OmariinTowards Data ScienceThe math behind RSAWe usually find fascinating applications of mathematical results in computer science. RSA is one such application6 min read·Sep 13, 2022----
Ayoub OmariinTowards Data ScienceA study of the most famous random number generatorA study of the linear congruential generator and its weaknesses10 min read·Sep 9, 2022--3--3
Ayoub OmariWho pays DNS providers ?Whenever we are accessing a website in the World Wide Web, we are implicitly making queries to many DNS (Domain Name System) servers in…4 min read·Dec 5, 2021--1--1
Ayoub OmariCan the moon crash into Earth ? Can it escape its gravity ?Is it a coincidence that the moon revolves around Earth ? What if its speed suddenly increases by a certain amount due to some cause, will…5 min read·Sep 19, 2021----
Ayoub OmariWhat’s inside a binary code file ?When introduced to programming, we usually encounter the following statement:7 min read·Sep 3, 2021----
Ayoub OmariWildcard 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…4 min read·Apr 15, 2021----
Ayoub OmariSystem 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…5 min read·Mar 6, 2021----
Ayoub OmariLongest Well Performing IntervalIn this post, we are going to see a classical way to optimize Brute force solutions for array problems.4 min read·Oct 13, 2019--2--2