PinnedZakarie AinLevel Up CodingImprove the performance of your Java programs with string buildersThis article motivates and explains the use of the StringBuilder class in Java.Nov 9, 20212Nov 9, 20212
PinnedZakarie AinLevel Up CodingData structures: heaps and how to implement themThis article introduces heaps and shows how to implement them and the basic operations they support in C++.Jun 19, 2022Jun 19, 2022
PinnedZakarie AHow is the sum of uniformly-distributed independent random variables distributed?This article shows how to solve the following problem. Given a finite sequence of mutually independent, uniformly-distributed discrete…Sep 2, 2022Sep 2, 2022
PinnedZakarie AinLevel Up CodingA beginner’s guide to MonadsMonads provide a way of safely interacting with data encapsulated in containers. It is an abstract and sometimes confusing notion, but it…Aug 24, 2022Aug 24, 2022
Zakarie AUnderstanding the Birthday paradoxThe birthday paradox is a simple probability problem known for its counterintuitive solution. This article explains how to formally solve…Aug 30, 2022Aug 30, 2022
Zakarie AinCodeXDynamic programming: how to solve the Longest Common Subsequence problemThis article describes the longest common subsequence problem and derives and analyses an algorithm that solved it.Oct 13, 2021Oct 13, 2021
Zakarie AinGeek CultureCompetitive programming: a more efficient way of representing and manipulating sets of integersBitwise operators offer a way of performing several operations on sets of natural numbers, without storing the actual numbers. In this…Sep 20, 2021Sep 20, 2021
Zakarie AinCodeXEverything you need to know about Smart Pointers in C++Say goodbye to memory leaks and dangling pointers.Sep 9, 20212Sep 9, 20212
Zakarie AinCodeXData Structure & Algorithms: How to Perform Minimum Queries in Constant TimeOptimize your queries with the sparse table method.Aug 30, 2021Aug 30, 2021
Zakarie AinCodeXEverything you need to know about Binary Search TreesDefinition, operations and how to implement them from scratch.Aug 22, 2021Aug 22, 2021