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
Introduction to Gravitational Force We know that gravity is universal. According to Newton’s Law of Universal Gravitation, all objects attract each other with a force… Read More
Like List Comprehension, Python allows dictionary comprehensions. We can create dictionaries using simple expressions. A dictionary comprehension takes the form {key: value for (key, value)… Read More
Given an array of elements, find harmonic mean of numbers. Examples:   Input : arr[] = {2.0, 1.0} Output : 1.3333 Harmonic mean = 2/(1/2.0 + 1/1.0)… Read More
Given a 2-D matrix, we need to find sum of all elements present in matrix ? Examples: Input : arr = [[1, 2, 3], [4,… Read More
How to get prime numbers quickly in python using library functions?Library functions always make our code easy so here we are going to discuss some… Read More
Given an array of size n containing 0’s and 1’s only. The problem is to find the length of the longest subarray having count of… Read More
Given a string, find the maximum number of characters between any two characters in the string. If no character repeats, print -1.  Examples:   Input :… Read More
Given two arrays and the operation to be performed is that the every element of a[] should be divided by all the element of b[]… Read More
Given a string of numbers and given another number (say m) [0 <= m <= 10^18]. The task is to calculate the modulus of the… Read More
A micro program control unit is required to generate a total of 25 control signals. Assume that during any microinstruction , at most two control… Read More
CHAR_BIT : It is the number of bits in char. These days, almost all architectures use 8 bits per byte (But it is not the… Read More
What is the equivalent Boolean expression in product-of-sums form for the Karnaugh map given below.               . (A) BD’… Read More
Consider the given figure of state table for a sequential machine. The number of states in the minimized machine will be        … Read More
Consider the circuit in below figure. f implements (A) (ABC)’ + A’BC’ + ABC (B) A + B + C (C) A ⊕ B ⊕… Read More
Consider the circuit given below which has a four bit binary number b3b2b1b0 as input and a five bit binary number d4d3d2d1d0 as output. The… Read More

Start Your Coding Journey Now!