Today I walked a little further,
further than yesterday.
while my feet ache and plead,
I dragged 'em without paying any heed...
Continue reading → Tags : poetry friends audio
Questions involving the binary tree data structure are very popular in tech interviews, and can be challenging and varied! A binary tree is a data structure consisting of a collection of nodes (starting at a root node), where each node consists of a value (data), together with a directed edges to at most two nodes (the "left child" and "right child"), with the additional conditions that no two edges point to the same node and no edge points to the root. I recently solved an interesting problem on binary tree...
Continue reading → Tags : leetcode java python javascript scala
Ternary string is an interesting problem that could be solved using two pointers techniques. It's a convenient way to keep track of multiple indices. This helps in making decisions based on two values...
Continue reading → Tags : codeforces two pointers java python