Articles on Trending Technologies

Technical articles with clear explanations and examples

Print all the cycles in an undirected graph in C++

sudhir sharma
sudhir sharma
Updated on 17-Jan-2020 3K+ Views

In this problem, we are given an undirected graph and we have to print all the cycles that are formed in the graph. Undirected Graph is a graph that is connected together. All the edges of the unidirectional graph are bidirectional. It is also known as an undirected network. Cycle in a graph data structure is a graph in which all vertices form a cycle. Let's see an example to understand the problem better − Graph- Output- Cycle 1: 2 3 4 5 Cycle 2: 6 7 8 For this, we will make use of a few properties of ...

Read More

Market your Business for Free using Social Media Tools

Sharon Christine
Sharon Christine
Updated on 17-Jan-2020 255 Views

A couple of days ago, I happened to read an article where I encountered this statement-“There is nothing called free lunch.” However, I do have a soul-searching question to all the business owners – Who doesn’t like free marketing tools?Small businesses and low budget startups know the value of every penny they invest. Big brands invest BIG money every month, every hour and probably every minute on marketing. Marketing on Social Networking sites has been gaining traction since the past decade. Well, Facebook and Twitter are age-old names and world is obsessed with these two platforms. However, people are connecting ...

Read More

Print all the sum pairs which occur maximum number of times in C++

sudhir sharma
sudhir sharma
Updated on 17-Jan-2020 239 Views

In this problem, we are given an array of n unique integers. And we have to find the sum of two integers of the array which has the maximum frequency. The problem has multiple solutions and you need to find them all.Input : array = { 1, 12, 5, 7, 9, 11} Output : 16 12Explanation − sum 16 and 12 occur two times.5 + 11 = 16 & 7 + 9 = 16 1 + 11 = 12 & 5 + 7 = 12Now to solve this problem, our approach to the problem is checking the occurrence every sum ...

Read More

Huffman Trees in Data Structure

Arnab Chakraborty
Arnab Chakraborty
Updated on 16-Jan-2020 15K+ Views

DefinitionHuffman coding provides codes to characters such that the length of the code depends on the relative frequency or weight of the corresponding character. Huffman codes are of variable-length, and without any prefix (that means no code is a prefix of any other). Any prefix-free binary code can be displayed or visualized as a binary tree with the encoded characters stored at the leaves.Huffman tree or Huffman coding tree defines as a full binary tree in which each leaf of the tree corresponds to a letter in the given alphabet.The Huffman tree is treated as the binary tree associated with ...

Read More

Dictionary Operations in Data Structure

Arnab Chakraborty
Arnab Chakraborty
Updated on 16-Jan-2020 12K+ Views

A dictionary is defined as a general-purpose data structure for storing a group of objects. A dictionary is associated with a set of keys and each key has a single associated value. When presented with a key, the dictionary will simply return the associated value.For example, the results of a classroom test could be represented as a dictionary with student's names as keys and their scores as the values:results = {'Anik' : 75, 'Aftab' :80, 'James' : 85, 'Manisha': 77, 'Suhana' :87, 'Margaret': 82}Main operations of dictionariesDictionaries typically support so many operations −retrieve a value (based on language, attempting to ...

Read More

Bayes' Rule in Data Structure

Arnab Chakraborty
Arnab Chakraborty
Updated on 16-Jan-2020 300 Views

A way to update our beliefs depended on the arrival of new, relevant pieces of evidence are provided by Bayes rule. For example, if we were trying to provide the probability that a given person has cancer, we would initially just conclude it is whatever percent of the population has cancer. However, given extra evidence such as the fact that the person is a smoker, we can update our probability, since the probability of having cancer is greater given that the person is a smoker. This allows us to utilize prior knowledge to improve our probability estimations.The rule is explained ...

Read More

Boole's Inequality in Data Structure

Arnab Chakraborty
Arnab Chakraborty
Updated on 16-Jan-2020 477 Views

In probability theory, according to Boole's inequality, also denoted as the union bound, for any finite or countable set of events, the probability that at least one of the events happens is no higher than the sum of the probabilities of the individual events.In mathematics, the probability theory is denoted as an important branch that studies about the probabilities of the random event. The probability is denoted as the measurement of chances of happening an event which is an outcome of an experiment.For Example − tossing a coin is denoted as an experiment and getting head or tail is denoted ...

Read More

Post favourite stuffs using pixelpumper on mac

karthikeya Boyini
karthikeya Boyini
Updated on 16-Jan-2020 225 Views

WordPress is a great and easy WYSIWYG editor, facilitates users to write and publish their favourite posts Worldwide, using Internet connection. But in some places, it is difficult to get consistent internet connection that makes users to lose their contents and images. The *****ernative way is to use it offline for writing and when user post is completely ready for publishing, post it using connection. For Windows, “blogger” and “Windows Live Writer” is very popular and great offline blog editor, but sadly not available for Mac. Although for Mac, there is a great offline application that works similarly like windows ...

Read More

Font dragr a great live test fonts site

karthikeya Boyini
karthikeya Boyini
Updated on 16-Jan-2020 238 Views

In this competitive world, website’s web designer wants to make their site the best from anyone in this world, font style is also one of the major part of any website. Although for font style, web designers spend lots of time in finding great fonts that suits to their website. It is just wastage of time.It is really very difficult task to apply custom font on the website page, requires various steps to do that. Firstly: web designer has to select the text that they want to give style, secondly: choose a font, and change it to a Web-compatible format, ...

Read More

An alternative invisible lock screen on android

karthikeya Boyini
karthikeya Boyini
Updated on 16-Jan-2020 500 Views

In today market, all smartphone device manufacturers provide a screen lock feature with device to stop unauthorized access. They facilitate users to either use a Pattern, PIN or Password to protect their device. If user frequently opens to use their device with number on functionalities, here’s an interesting alternative called Invisible Lock. If anybody getting tired of their lock screen, they can try Invisible Lock and change their default lock screen with a transparent one.XDA Senior Member presented a very clear and easy to use application called Invisible Lock. This app facilitates to use a transparent lock screen, although phone ...

Read More
Showing 55671–55680 of 61,297 articles
Advertisements