What Are SEO Keywords and Why are they important ?

What Are SEO Keywords? Keywords are one of the main elements of SEO basics. Before we get into the details of  keywords, some of you might be wondering, “what is a keyword?” A keyword is a term that is used to match with the query a person enters into a search engine to find specific… Read More »

Write a Java Program to perform Insertion Sort using function

Java Program to perform Insertion Sort The Insertion sort is another simple sorting algorithm, which can be used to sort any linear data structure like an array or linked list. It is a simple sorting algorithm that builds the final sorted array one item at a time. It is much less efficient on large lists than… Read More »

Write a Java Program to perform Selection Sort using static function

Java Program to perform Selection Sort Selection sort is a sorting algorithm which sorts the given array elements either in descending or ascending order by finding the misplaced element first and putting it in it’s final place. Selection sort algorithm first selects the lowest (or highest) element and places it in the ordered position. Selection… Read More »

Write a C++ Program for Splitting the Choco Bars Problem

C++ Program for Splitting the Choco Bars   Dholu and Bholu are given chocolate bars which are rectangular shaped.Each chocolate is given a label A, B and C. The chocolate is to be splitted into exactly two pieces in a manner such that: The piece that Dholu has can not contain any chocolate with name… Read More »

Write a C++ Program for Fedor’s Roadmap Navigation Problem

C++ Program for Fedor’s Roadmap Navigation Problem Fedor is a research scientist, who has recently found a roadmap of Ancient Berland. Ancient Berland consisted of N cities that were connected by M bidirectional roads. The road builders weren’t knowledgable. Hence, the start city and the end city for each road were always chosen randomly and… Read More »

Find the probability of getting a 1-bit number ?

Find the probability of getting a 1–bit number ? Find the probability of getting a 1-bit number after the following procedure is followed: Initially a number x is chosen at random in a given range .After this we again choose a bit from x randomly? Find the expected number of bit 1s if we randomly… Read More »

WAP to Print number of not neutral numbers below 10^k mod(10^9+7)

WAP to Print number of not neutral numbers below 10^k mod(10^9+7) An increasing number is a number in which values of digits increase when we go from left to right; for example,123455 . Similarly a decreasing number is a number in which values of digits decrease when we go from left to right; for example,54110… Read More »

25 Pros and Cons of Nokia P1 : Advantages and Disadvantages

25 Pros and Cons of Nokia P1 : Advantages and Disadvantages 17 Reasons to Buy Nokia P1 (Pros or Advantages): Now let us discuss pros cons of Nokia P1 smartphone: Nokia P1 runs on very latest Android OS, v7.0(Nougat) It flaunts 5.2 inches / 5.5inchs QUAD-HD AMOLED with Multitouch in it It is incorporated with 6 GB… Read More »