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
Direction of given point P from a line segment simply means given the co-ordinates of a point P and line segment (say AB), and we… Read More
We have introduced Graph implementation using array of vectors in Graph implementation using STL for competitive programming | Set 1. In this post, a different… Read More
Given a number n, find LCM of its digits.Examples:   Input : 397 Output : 63 LCM of 3, 9 and 7 is 63. Input :… Read More
Linked list library also offers to depict the first and last index of element that has to be found using the indexOf() and lastIndexOf() functions… Read More
When the container to which an Iterator points changes shape internally, i.e. when elements are moved from one position to another, and the initial iterator… Read More
The conventional method allowing to get the element at particular index is get(). Though in LinkedList its never possible to achieve this without complete traversal,… Read More
A function is a block of code written in a program to perform some specific task. We can relate functions in programs to employees in… Read More
Round 1: First round was aptitude with two coding questions using test cases. Both aptitude and coding was bit easy to clear. Aptitude is a… Read More
In Digital Electronics, discrete quantities of information are represented by binary codes. A binary code of n bits is capable of representing up to 2^n distinct… Read More
Prerequisite – Number System and base conversions  Excess-3 binary code is an unweighted self-complementary BCD code. Self-Complementary property means that the 1’s complement of an excess-3… Read More
Python is a high-level, interpreted, and general-purpose dynamic programming language that focuses on code readability. It has fewer steps when compared to Java and C.… Read More
Linked list also has a function that does the work of flexible addition of elements and helps addition both at front and back of the… Read More
Prerequisite – Number System and base conversions Gray Code system is a binary number system in which every successive pair of numbers differs in only… Read More
Given a large number n, we need to check whether it is divisible by 37. Print true if it is divisible by 37 otherwise False.Examples:  … Read More
Given an array, find a product of all array elements.Examples :   Input : ar[] = {1, 2, 3, 4, 5} Output : 120 Product of… Read More