Published in


Binary Diagnostic: Day 3: Advent of Code 2021

Check out my old blog on Day 1 and Day 2 to follow this series.

If you are not familiar with Advent of Code, I highly recommend solving it yourself before looking at these solutions.

Binary Diagnostic

Day 3: In this problem, you need to find the power consumption of the submarine by multiplying gamma and epsilon rates.




One stop learning portal for your next coding and system design interview.

Recommended from Medium

The Genesis of Kerr Solution

Types of Probability Distribution

Bayes’ Theorem: What’s All The Fuss About?

Bayes’ Theorem: What’s All The Fuss About?

Hypothesis Testing

An Introduction to the Black-Scholes-Merton model

A Mathematician With No Job And No Home — Paul Erdős

READ/DOWNLOAD$! Modern Logic: A Text in Elementary

My Math Equity Project “Storientation”

Some diagrams, a table, and a graph used to explore a math problem

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Love Sharma

Love Sharma

Love Sharma is an Experienced Cloud Engineer with a demonstrated history of working and building large-scale enterprise applications.

More from Medium

Vending Machine System Architecture

My team’s REST API Guidelines

3 Vital API Metrics You Should Monitor

Building production-ready services