Saisankar GochhayatDealing 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…1 min read·Mar 16, 2023----
Saisankar GochhayatFind the intersection of two lists in Python with Duplicates.1 min read·Oct 31, 2020----
Saisankar GochhayatLeetcode 34This is an interesting problem involving Binary search. Here is the link to the problem —…1 min read·Mar 14, 2020----
Saisankar GochhayatLet's talk about Union Find.Union Find is a very interesting data-structure that makes a lot of graph problems easy to solve.2 min read·Feb 28, 2020----
Saisankar GochhayatLeetcode 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…2 min read·Oct 10, 2019----
Saisankar GochhayatChanging 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…1 min read·Nov 28, 2018----