## Multistage Graph (Shortest Path)

A Multistage graph is a directed graph in which the nodes can be divided into a set of stages such that all edges are from… Read More »

Featured Article

A Multistage graph is a directed graph in which the nodes can be divided into a set of stages such that all edges are from… Read More »

Featured Article

You have given an array which contain 1 to n element, your task is to sort this array in an efficient way and without replace… Read More »

Featured Article

A k-rough or k-jagged number is a number whose smallest prime factor is greater than or equal to the number ‘k’. Given numbers ‘n’ and… Read More »

Problem – Write an assembly language program to swap two 8-bit numbers stored in 8085 microprocessor. Assumption – Suppose there are two 8-bit numbers. One… Read More »

Problem – Write an assembly language program to add three 16 bit numbers stored in register HL, DE, BC and store the result in DE… Read More »

Problem – Write an assembly language program in 8085 microprocessor to access Flag register and exchange the content of flag register F with register B.… Read More »

Problem – Write a program in 8086 microprocessor to sort numbers in ascending order in an array of n numbers, where size “n” is stored… Read More »

Prerequisite – Phases of a Compiler Symbol Table is an important data structure created and maintained by the compiler in order to keep track of… Read More »

Problem – Write an assembly language program in 8085 microprocessor to find sum of digit of an 8 bit number. Example – Assumptions – Addresses… Read More »

Prerequisite – Binary to/from Gray Code Problem – Write an assembly language program in 8085 microprocessor to convert binary numbers to gray. Example – Algorithm… Read More »

Problem – Write an assembly language code for calculating the nth power of a number using 8085 microprocessor. Example – Input : Base=>02H Exponent=>03H Output… Read More »

Given a string s and a character c, find if all occurrences of c appear together in s or not. If the character c does… Read More »

In this phase of compilation, all possible errors made by the user are detected and reported to the user in form of error messages. This… Read More »

Given an integer N, task is to find the numbers which when raised to the power of 2 and added finally, gives the integer N.… Read More »

The sequence first consists of all the odd numbers starting from 1 to n and then remaining even numbers starting 2 up to n. Let’s… Read More »

Dragon Curve Sequence is an infinite binary sequence of 0s and 1s. The first term of the sequence is 1. From the next term, we… Read More »

Given the value of length, print the X pattern in a box using # and ” ” Examples: Input : 10 Output : ########## ##… Read More »

Given a number n, find the n-th term in the series 3, 13, 42, 108, 235… Examples: Input : 3 Output : 42 Input :… Read More »