It's impossible if you want to stay reactive yet still get good performance, and submit everything before deadline. Not as a software engineer. My own experience reveals multiple times that being a developer is definitely different from being an employee in other occupations. Time management and practice means everything here. To make your life less… Continue reading BLOG | Time management as a software developer
Author: Si Qi Cao
BLOG | Binary search can do more than what you think
We all know binary search can be used as a way to search the occurrence index for a given value with a sorted array in O(logN) time. By simply applying some modification on a standard binary search algorithm you can achieve something more. I. Find 1st strictly greater element in a sorted array int bs(int… Continue reading BLOG | Binary search can do more than what you think
BLOG | Find the rightmost & leftmost set bit of an integer
This is a classical interview question in which you are asked to find the location of the rightmost and the leftmost 1's in the binary representation of a number. I. Rightmost Set Bit & Rightmost Bit Here we compute the AND between the original number (say N) with its two's complement (its negative form). Thus,… Continue reading BLOG | Find the rightmost & leftmost set bit of an integer

