Saisankar Gochhayat·Mar 16, 2023Dealing with mutable arguments in Unit TestsIf you pass a mutable argument and then try to unittest it with .assert_called_with(), you might run into problems. This issue can be…
Saisankar Gochhayat·Mar 14, 2020Leetcode 34This is an interesting problem involving Binary search. Here is the link to the problem —…
Saisankar Gochhayat·Feb 28, 2020Let's talk about Union Find.Union Find is a very interesting data-structure that makes a lot of graph problems easy to solve.
Saisankar Gochhayat·Oct 10, 2019Leetcode 934 Shortest BridgeHere is one of the solutions I understood, I am putting it here for future reference. I have added comments to make it easier to…
Saisankar Gochhayat·Nov 28, 2018Changing the swap size on Ubuntu 18.04.So one fine evening I find my budget laptop freezing up due to Chrome hogging up all the memory. Upon checking my RAM usage I figured that…