Skip to content
Gblog SDE SHEET – A Complete Guide for SDE Preparation
What is SDE Sheet? SDE Sheet is a list of the most important topics or the most popular questions that are asked in the Software… Read More
Given a polynomial as a string and a value. Evaluate polynomial’s derivative for the given value. Note: The input format is such that there is a… Read More
Given an array A[] of n-elements. We need to select two adjacent elements and delete the larger of them and store smaller of them to… Read More
Prerequisite : Sql Create Clause, As the name suggests, DESCRIBE is used to describe something. Since in database we have tables, that’s why we use… Read More
Consider the following relational database schema: EMP (eno name, age) PROJ (pno name) INVOLVED (eno, pno) EMP contains information about employees. PROJ about projects and… Read More
Given N and K, print a string that has n characters. The string should have exactly k distinct characters and no adjacent positions.Examples:   Input :… Read More
An operating system handles requests to resources as follows. A process (which asks for some resources, uses them for some time and then exits the… Read More
A program P reads and processes 1000 consecutive records from a sequential file F stored on device D without using any file system facilities. Given… Read More
Given a binary string. We need to find the length of the longest balanced substring. A substring is balanced if it contains an equal number… Read More
Switching algebra is also known as Boolean Algebra. It is used to analyze digital gates and circuits It is logical to perform a mathematical operation… Read More
Semaphores are very useful in process synchronization and multithreading. But how to use one in real life, for example say in C Language? Well, we… Read More
A concurrent system consists of 3 processes using a shared resource R in a non-preemptible and mutually exclusive manner. The processes have unique priorities in… Read More
Following floating point number format is given f is a fraction represented by a 6-bit mantissa (includes sign bit) in sign magnitude form e is… Read More
Canonical Form – In Boolean algebra,Boolean function can be expressed as Canonical Disjunctive Normal Form known as minterm and some are expressed as Canonical Conjunctive… Read More
Given an array of positive and negative numbers, arrange them such that all negative integers appear before all the positive integers in the array without… Read More
Let f = (w’+y)(x’+y)(w+x’+z)(w’+z)(x’+z) a). Express f as the minimal sum of products. Write only the answer. b). If the output line is stuck at… Read More

Start Your Coding Journey Now!