Author Archives: Saikat

Number of ways to have breakfast

Find the number of ways you can have breakfast in ‘n’ days, given Bread-butter can be eaten every day, Pizza can be eaten every alternate day and Burger can be eaten every two days. using System; using System.Collections.Generic; using System.Linq; … Continue reading

Posted in Information Technology | Leave a comment

For a given Sum and N, print all the combinations

For example if Sum = 16 and N = 2, then the output should be as follows: 0 16 1 15 2 14 3 13 4 12 5 11 6 10 7 9 8 8 9 7 10 6 11 … Continue reading

Posted in Information Technology | Leave a comment

Think twice before deleting files from your Flickr account

On Flickr, there is no “trash” or “recycle bin”. When you delete something on Flickr, it’s actually deleted forever. There seems to be a basic flaw with the design. As an end user when I add a photo to multiple … Continue reading

Posted in Information Technology | Leave a comment

Why does my voice sound so different when it is recorded and played back?

https://www.scientificamerican.com/article/why-does-my-voice-sound-different/ Sound can reach the inner ear by way of two separate paths, and those paths in turn affect what we perceive. Air-conducted sound is transmitted from the surrounding environment through the external auditory canal, eardrum and middle ear to … Continue reading

Posted in Science | Leave a comment

Total amount of time covered by the intervals

There’s a room with a TV and people are coming in and out to watch it. The TV is on only when there’s at least a person in the room. For each person that comes in, we record the start … Continue reading

Posted in Information Technology | Leave a comment

Summation of different combinations

You have a string of digits say 123. You can insert a + or – sign in front of every digit. Find all of the different possibilities and return the sum of all results. For example: +1+2+3 = 6 +12+3 … Continue reading

Posted in Information Technology | Leave a comment

Application stages and timelines for OCI

Overall it took 5+ months to complete the entire application process. Application Status Remarks Date of Status Your Passport and OCI Card have now reached CKGS Application Centre from the Embassy / Consulate and is being sorted and will be … Continue reading

Posted in Business, Travel | Leave a comment