All Medium Articles
Given a graph with N nodes numbered from 1 to N and M edges and an array of numbers from 1 to N. Check if… 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
Given a number n, find the n-th term in the series 3, 13, 42, 108, 235…Examples:   Input : 3 Output : 42 Input : 4… Read More
Given a matrix m[ ][ ] of size n x n consisting of integers and given a character ‘x’ indicating the direction. Value of ‘x’… Read More
Problem – Write a program in 8086 microprocessor to find out the largest among 8-bit n numbers, where size “n” is stored at memory address… Read More
Prerequisite – 8085 program to find 1’s and 2’s complement of 8-bit number Problem – – Write a program to find 1’s and 2’s complement… Read More
Message dialogs provide information to the user. Message dialogs are created with the JOptionPane.showMessageDialog() method. We call the static showMessageDialog() method of the JOptionPane class… Read More
Geocoding is the process of converting addresses into geographic coordinates like latitude and longitude, which can be used to mark position on map.To use the… Read More
Prerequisite – Introduction to Syntax Analysis, Syntax Directed Translation Syntax Directed Definition (SDD) is a kind of abstract specification. It is generalization of context free grammar… Read More
Problem – Write a program to find 1’s and 2’s complement of 8-bit number where starting address is 2000 and the number is stored at… Read More
The C++ STL set is a data structure used to store the distinct value in ascending or descending order. By default, we can use it… Read More
What is the output of the following program?   CPP #include <iostream> using std::cout; int main() {     int i = 0;     cout << (i = 0… Read More
There is no pre-defined syllabus for the ISRO for Scientist/Engineer 2018 exam. Although, we can infer that Syllabus is similar pattern as GATE CS Syllabus… Read More
Consider the following C program. #include <stdio.h> int main(void) {     int a = 'd';        printf("%d\n", a);     /*OUTPUT - 100 (ASCII Code for character d)*/… Read More
Given a text and a wildcard pattern, find if wildcard pattern is matched with text. The matching should cover the entire text (not partial text).The… Read More
Callback in C/C++ : The mechanism of calling a function from another function is called “callback”. Memory address of a function is represented as ‘function… Read More
Here is a cipher algorithm, based on hexadecimal strings that is implemented by XORing the given plaintext, N number of times where N is its… Read More
Given an array of integers, a number and a maximum value, task is to compute the maximum value that can be obtained from the array… Read More
About Me: 6.5 Years experienced professional. [Online] Round 0: Hacker rank 90 min online test. [Onsite] Round 1: Given a string, return whether string is… Read More