Published in


Lantern Fish: Day 6: Advent of Code 2021 — Python Solution

Day 6 is an exciting challenge; this one is tricky, so solve carefully, easy to get trapped into brute force and long-running job.

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

Understand the problem




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

Recommended from Medium

100 of the Best Engineers, Developers, Coders, and Entrepreneurs to Follow Online

Bill Gates, James Gosling, Uncle Bob, Elon Musk, Quincy Larson, and other brilliant engineers, developers and entrepreneurs

All Important Linux Directories

What is Nimbella and what does it offer?

Low Code v/s Custom Software Development Solutions — Which Weighs Better?

Brighton Ruby 2019

1MD LiverMD:-Helps maintain proper blood sugar level

Top 10 Kubernetes Security Tools

Rails 7: What’s New in Rails 7 And How Will It Change Your Application?

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

Seven Segment Search: Day 8: Advent of Code 2021 — Python Solution

Wrapping Things up for 2021

Mock AWS DynamoDB service for unit testing in Python

Implement Efficient Queues Using Python’s collections Module