What is Rotated Sorted Array It is nothing but a sorted array, which is twisted/rotated with some pivot element. So if you observe rotated array then it can be classified as two sub-array that is sorted. For example your sorted array A: A = { 0,1,2,3,4,5,6,7,8,9 } and your rotated sorted array look like this:…

Read More Searching an Element in a Rotated Sorted Array

While creating API for Android App, i came across with very simple but difficult (for me) problem. How would it be possible to generate a random, unique string using numbers and letters for verfiy user, Something like api_key which is unique to user but at the same time it shuold be safe and it will…

Read More How to generate a random, unique string using numbers and letters

Subfolders and Subdomains have their own pros and cons if viewed from business viewpoint. However, these day’s website owners more interested in  focusing their efforts on SEO. Which one to choose Subfolder or Sub Domain for my blog promotion? If you are thinking of launching a new blog, then using a sub-folder will bring better…

Read More Subfolders v/s Subdomains: Which one to choose for SEO?

The mount command mounts a storage device or file-system, making it accessible and attaching it to an existing directory structure. The umount command “unmounts” a mounted filesystem, informing the system to complete any pending read or write operations, and safely detaching it.

Read More How to get List of all mounted filesystems on the Linux system?