Monthly Archives: August 2017

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