Shaswata SahaDetecting Good Substrings of Size Three in JavaIn this post, we will explore a problem related to strings and how to solve it efficiently in Java. The problem is about detecting good…Jul 9Jul 9
Shaswata SahaEfficiently Checking Toeplitz Matrix in JavaIn this post, we’ll explore a common matrix problem and solve it efficiently using Java. Specifically, we’ll determine if a given matrix is…Jul 7Jul 7
Shaswata SahaFinding the First Unique Character in a String Using JavaWhen working with strings, a common problem we encounter is finding the first non-repeating character. This problem is not only a great…Jul 1Jul 1
Shaswata SahaFinding the Redundant Connection in a Graph using Union-FindIn graph theory, a tree is a special type of graph that is connected and has no cycles. When working with graphs, one common problem is to…Jun 30Jun 30
Shaswata SahaDelete Leaves With a Given Value in a Binary Tree: A Step-by-Step GuideIn this post, we’ll explore how to delete all leaf nodes with a given value in a binary tree. This problem is an interesting challenge that…May 17May 17