All Medium Articles
Given an array with key, value pair, we need to move specific value upwards or downwards using the key. Examples: Input : $continents = array(… Read More
Given N elements, write a program that prints the length of the longest increasing consecutive subsequence. Examples:  Input : a[] = {3, 10, 3, 11,… Read More
Given two arrays with size n, maximize the first array by using the elements from the second array such that the new array formed contains… Read More
Check if a number can be expressed as x^y (x raised to power y) Given a positive integer n, find if it can be expressed as… Read More
I got a call from HR of the company. She had seen my profile on naukri.com. The following interview experience is of 4 years professional… Read More
Java provides the ability to capture the log files. The need for Log capture There are multiple reasons why we may need to capture the… Read More
Given an array arr[]. Determine whether it is possible to split the array into two sets such that the sum of elements in both sets… Read More
Given a node x, find the number of children of x(if it exists) in the given n-ary tree.  Example :  Input : x = 50… Read More
Given a string of length n of capital letters. The task is to find the count of ‘GFG’ subsequence in the given string. Examples:   Input… Read More
Word Cloud is a data visualization technique used for representing text data in which the size of each word indicates its frequency or importance. Significant… Read More
Problem – Draw deterministic finite automata (DFA) of a string with at least two 0’s and at least two 1’s. The first thing that come… Read More
Prerequisite – Access-lists (ACL), Standard Access-list Access-list (ACL) is a set of rules defined for controlling network traffic and reducing network attacks. ACLs are used to… Read More
Prerequisite – PL/SQL introduction In PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare part,… Read More
Create a function that prints multidimensional array size by dimensions i.e.:Examples:   Input : int a[2][3][4]; printDimensions(a); Output : 2x3x4 Input : int b[5][6]; printDimensions(a); Output… Read More
C++
Program to print the hollow numerical parallelogram.Examples :   Input : 7 Output : 7777777777777 666666 666666 55555 55555 4444 4444 333 333 22 22 1… Read More
Before proceeding, it is highly recommended to be familiar with the basics in Syntax Analysis, LL(1) parsing, and the rules of calculating First and Follow… Read More
Given an array of length N that contains only integers, the task is to print the special numbers of array. A number in this array… Read More
Prerequisite – Karnaugh Map (K-map) K-map is the best manual technique to solve Boolean equations, but it becomes difficult to manage when number of variables… Read More
Prerequisite – Basic Computer Instructions, Instruction Formats  Problem statement: Consider a computer architecture where instructions are 16 bits long. The first 6 bits of the… Read More
Prerequisites: Genetic algorithms, Artificial Neural Networks, Fuzzy Logic  Hybrid systems: A Hybrid system is an intelligent system that is framed by combining at least two… Read More