All Permutations
Given a string,the task is to print all the permutations of the string. A permutation is a rearrangement of the elements of an ordered list S.A string of length...
Given a string,the task is to print all the permutations of the string. A permutation is a rearrangement of the elements of an ordered list S.A string of length...
In the previous post, I showed you how to create a ListView and populate it with elements of a String array. If you can recall, we used a regular activity in th...
Often times in your application when you want to list down a bunch of data you’re going to use a List View. It provides a predefined layout that helps create a ...
One of the most striking features of Android is Content Providers. In a sentence, Content Providers consist of a centrally located database in Android that help...
In all the earlier posts throughout this tutorial section, we’ve been dealing with standalone applications i.e. ones that require no network access. But with th...
In the part I of this post, I gave you a brief explanation of what ADB is and what is it used for. Although, ADB is a very effective tool and is used in numerou...
Any development work invariably involves the use of terminals. There are many who find the terminal much more fascinating than the GUI. This post is mainly targ...
Given an undirected,unweighted graph and two vertices u and v,the task is to find the path between these two vertices.u can be considered as the source vertex a...
Till now, we have restricted ourselves to very simple databases and hence we declare and define the database inside the Main Activity itself. However, this is m...
Given an unweighted and undirected tree,the task is to find the length of the longest path (from one node to another) in that tree.The length of a path in this ...