IBIsaac Bellinibell.hashnode.dev·Aug 8, 2023 · 3 min read3 Approaches to Mex AlgorithmsMex problems refer to the minimum non-negative integer that is not present in an array of positive integers. Solving Mex problems requires finding an efficient algorithm to determine the missing number. In this blog post, we’ll explore three differen...00
IBIsaac Bellinibell.hashnode.dev·May 27, 2022 · 3 min readBeginner’s Guide to Ruby BenchmarkingThis is a quick step-by-step guide for when you need to do some performance testing on the fly. Ruby has a built-in benchmarking module that is simple to use and effective enough to cover your standard use cases. Using one of a few functions, we can ...00
IBIsaac Bellinibell.hashnode.dev·Jan 6, 2022 · 2 min readOverriding I/O Streams in C++POV: You have a struct/class which you want to add I/O capability to, but you don’t know how. C++ lets us override the “>>” and “<<” operators, corresponding to input and output streams, respectively. Let’s build an example; the Point structure holds...00
IBIsaac Bellinibell.hashnode.dev·Oct 30, 2021 · 1 min readDoom Emacs CheatsheetI wanted to share the cheatsheet I wrote for Doom Emacs commands. I wrote this one because the others I found online were out of date. I use and maintain this reference daily. This is something of a living document, so the document can and will chang...00
IBIsaac Bellinibell.hashnode.dev·Oct 30, 2021 · 2 min readUsing MagitThis article is intended as a quick and dirty reference for the “Magit” Git interface in Doom Emacs. For those unfamiliar with Magit itself, here is an expository blog post and an intro guide. Several of the commands in this article are only availabl...00