If one uses straight two-way merge sort algorithm to sort the following elements in ascending order: 20, 47, 15, 8, 9, 4, 40, 30, 12,… Read More »

#
All Expert Articles

Given a decimal number n. Find the gray code of this number in decimal form. Examples : Input : 7 Output : 4 Explanation: 7… Read More »

sar : System Activity Report It can be used to monitor Linux system’s resources like CPU usage, Memory utilization, I/O devices consumption, Network monitoring, Disk… Read More »

who command is used to find out the following information : 1. Time of last system boot 2. Current run level of the system 3.… Read More »

Reason: To Ensure Backward Compatibility What is Backward Compatibility? Backward compatibility is a term used to describe software or hardware that is compatible with previous… Read More »

The levenshtein() function is an inbuilt function in PHP. The levenshtein() function is used to calculate the levenshtein distance between two strings. The Levenshtein distance… Read More »

MANET stands for Mobile adhoc Network also called as wireless adhoc network or adhoc wireless network that usually has a routable networking environment on top… Read More »

In our previous post on fibonacci series, we have seen many approaches to generate fibonacci numbers. In this approach, we shall be generating fibonacci numbers… Read More »

Given a number num containing n digits. The problem is to find the next greater number using the same set of digits in num on… Read More »

A lexical analyzer uses the following patterns to recognize three tokens T1, T2, and T3 over the alphabet {a,b,c}. T1: a?(b∣c)*a T2: b?(a∣c)*b T3: c?(b∣a)*c… Read More »

Let G be a simple undirected graph. Let TD be a depth first search tree of G. Let TB be a breadth first search tree… Read More »

Tejas Networks held an hiring drive in our college for software developer . Branches allowed only CS-IT since it is particulary a bangalore based networking… Read More »

In this article, we will discuss different types of problems based on B and B+ trees. Before understanding this article, you should understand basics of… Read More »

Most important day for any GATE aspirant is the D-day, the day of GATE exam. The day, for which you all have been working so… Read More »

We would like to thank our sponsor GeeksforGeeks – A Computer Science Portal for giving us opportunity to successfully organise various events for past few… Read More »

Given an array of unsorted positive integer, sort the given array using the Socket programming . Examples: Input : 4 5 6 1 8 2… Read More »

Create a digital stopwatch program in C which runs on linux base system. keyboardhit() function simply stands for keyboard hit. After pressing a key it… Read More »

This article, discusses about the various toolkits to make a GUI Application in Python3. It is easy to start programming a GUI application after gaining… Read More »

Prerequisite – Block Coding, Line Coding A computer network is designed to send information from one point to another. Data that we send can either… Read More »

Many a times it happens that while solving mathematical expressions we require to calculate the square root of a number. To solve this issue like… Read More »