Omar Faroque·Mar 10Permutation in java and extremely simpler.A permutation is an ordered arrangement of all or part of a set of objects, where the specific order of selection is crucial. The formula…
Omar Faroque·Feb 22System Design: Online Chess game with timerNote: I just wrote to show only a specific problem here like the timer managementA response icon1A response icon1
Omar Faroque·Jan 17MATHEMATICAL CHEAT CODE” THAT FORCES CHEAP 8-BIT CHIPS TO RUN ELITE 32-BIT AI MODELS AND REWRITES…I am not an AI person. I wanted to understand how this mixed precision worked mathematically and got this amazing performance. This is most…
Omar Faroque·Jan 7Anthropic SWE Interview: InMemory Key Value StorageWarning: It is still in debugging. Improvement may be possible.A response icon1A response icon1
Omar Faroque·Dec 17, 2025Sharding User IDs of Celebrities ProblemWhen you are partitioning (or sharding) database writes across multiple nodes based on a User ID, a typical partitioning algorithm is to…
Omar Faroque·Nov 7, 2025Design Memory AllocatorYou are given an integer n representing the size of a 0-indexed memory array. All memory units are initially free.A response icon1A response icon1
Omar Faroque·Nov 7, 2025CPU vs GPU performance for very simple image recognitionNote: I am not a deep learning or ML expert but I wrote ML models here and there for learning purpose. I will share a small experiment…
Omar Faroque·Sep 11, 2025Why Cache Miss Rate Deserves More Attention?Why Cache Miss Rate Deserves More Attention?
Omar Faroque·Sep 2, 2025DATA MOVEMENT IS ALL YOU NEED: A CASE STUDY ON OPTIMIZING TRANSFORMERSThis is not summary post but an effort to understand where does this data movement actually happens in Transformer and it might give us…