If you've solved algorithm challenges on sites like Leetcode, HackerRank, or FreeCodeCamp, you've likely run into the need to check whether a number is prime or not. A prime number is any positive integer which is only divisible by itself and 1. In t...

Markdown supported · ⌘↵ to post
Brody Losh
Fullstack Software Engineer
My brain hurts, but awesome work Hagay! Very informative. Way to do some heavy lifting!