All Medium Articles
Given a number, the task is to toggle bits of the number except the first and the last bit.Examples:  Input : 10 Output : 12… Read More
Given a doubly linked list containing n nodes. The problem is to reverse every group of k nodes in the list. Examples:   Prerequisite: Reverse a… Read More
Given a sequence, find the length of the longest palindromic subsequence in it. Examples: Input : abbaab Output : 4 Input : geeksforgeeks Output :… Read More
A cookie in PHP is a small file with a maximum size of 4KB that the web server stores on the client computer. They are… Read More
Given a linked list. arrange the linked list in manner of alternate first and last element. Examples:  Input : 1->2->3->4->5->6->7->8 Output :1->8->2->7->3->6->4->5 Input :10->11->15->13 Output… Read More
What is a session? In general, session refers to a frame of communication between two medium. A PHP session is used to store data on… Read More
JavaScript arr.find() function is used to find the first element from the array that satisfies the condition implemented by a function. If more than one… Read More
Every house in the colony has at most one pipe going into it and at most one pipe going out of it. Tanks and taps… Read More
C++ program for printing the range data type like int, char, short. Signed Data Types METHOD 1.) calculate total number of bits by multiplying sizeof… Read More
Given a 2-dimensional character array and a string, we need to find the given string in a 2-dimensional character array, such that individual characters can… Read More
Prerequisite – Analysis of Algorithms | Set 1, Set 2, Set 3, Set 4, Set 5 Que-1. Solve the following recurrence relation? T(n) = 7T(n/2)… Read More
Prerequisite – Introduction of FA, Regular expressions, grammar and language, Designing FA from Regular Expression There are two methods to convert FA to the regular… Read More
It is a common practice to use std::endl to print newlines while using cout. For small programs with very little I/O operations this practice is… Read More
Ludic numbers are obtained by considering list of natural numbers (starting from 2) and removing i-th number in i-th iteration (where i begins with 2).… Read More
Given a number num, find whether the given number is palindrome or not using Bash Scripting. Examples: Input : 666 Output : Number is palindrome… Read More
fork() system call is used to create a process generally known as child process and the process that created it is known as parent process.… Read More
Given a number, the task is to Toggle all even bit of a numberExamples:   Input : 10 Output : 0 binary representation 1 0 1… Read More
A geometric progression is a sequence of integers b1, b2, b3, …, where for each i > 1, the respective term satisfies the condition bi… Read More
Data link layer is responsible for something called Framing, which is the division of a stream of bits from the network layer into manageable units… Read More
Given a number x, find it’s palindromic selfie number according to selfie multiplicative rule. If such a number doesn’t exist, then print “No such number… Read More