Tuesday, March 31, 2020

Case study: rotten orange

March 31, 2020

Introduction

It is my favorite algorithm. I did not practice algorithm or weekly contest last few months, I was too busy to practice. But I did learn from my experience as an interviewer. Rotten orange is the classical algorithm which can be written using BFS algorithm using Queue.

Case study

Here is the gist.



No comments:

Post a Comment