All Medium Articles
Problem – Write an assembly language program for calculating the factorial of a number using 8085 microprocessor. Example – Input : 04H Output : 18H… Read More
Problem – Write an assembly level program in 8085 microprocessor to exchange a block of 4 bytes starting from address 2001 with data starting from… Read More
Given a number n, find the number of ways to represent this number as a sum of 2 or more consecutive natural numbers. Examples :… Read More
UDP is a connection less protocol. There is no connection is established between client and server. Creating Standard UDP Client/Server is discussed here Prerequisite :… Read More
Prerequisite – Domain Name Server Mapping a domain name to an IP Address is known as Name-Address Resolution. The Domain Name Server (DNS) Resolver performs this… Read More
Given an increasing sequence a[], we need to find the K-th missing contiguous element in the increasing sequence which is not present in the sequence.… Read More
Euler tour tree (ETT) is a method for representing a rooted tree as a number sequence. When traversing the tree using Depth for search(DFS), insert… Read More
Given n and x, where n is the number of terms in the series and x is the value of the angle in degree. Program to… Read More
Round 1 : Telephone + Codepair on Hackerrank Started with what i did in internship What was challenges faced What challenging things have i handled… Read More
The type() function is mostly used for debugging purposes. Two different types of arguments can be passed to type() function, single and three arguments. If… Read More
Given two strings s1 and s2, we need to find number of common base strings of two. A substring of a string s is called… Read More
Introduction to JShell The Java Shell tool (JShell) is an interactive tool for learning the Java programming language and prototyping Java code. JShell is a Read-Evaluate-Print… Read More
Given an element x, task is to find the value of its immediate smaller element.  Example :  Input : x = 30 (for above tree)… Read More
Given an N-ary tree, find sum of all elements in it. Example :  Input : Above tree Output : Sum is 536 Approach : The… Read More
Problem – Multiply two 8 bit numbers stored at address 2050 and 2051. Result is stored at address 3050 and 3051. Starting address of program… Read More
The various Concurrency Control schemes have used different methods and every individual Data item is the unit on which synchronization is performed. A certain drawback… Read More
The following statement in ‘C’ int (*f())[ ]; declares  (A) a function returning a pointer to an array of integers.  (B) a function returning an array of… Read More
Given an integer n, we need to find how many digits remove from the number to make it a perfect square. Examples :  Input :… Read More
To convert a color image to Grayscale image using OpenCV, we read the image into BufferedImage and convert it into Mat Object. Syntax:File input =… Read More
Given a binary search tree, task is to find Kth largest element in the binary search tree. Example:  Input : k = 3 Root of… Read More