Skip to content
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 Development Engineer Interviews.How is this...Read More
Given a number ‘n‘, find the nth number whose each digit is a prime number i.e 2, 3, 5, 7. . . In other words,… Read More
In Set 1, we have discussed general approach to check whether a string is a valid number or not. In this post, we will discuss… Read More
Prerequisite – Loops in Python Predict the output of the following Python programs. 1) What is the output of the following program? x = ['ab',… Read More
You came across how to generate random numbers and use of two C function rand() and srand() from the article rand() and srand() in C\C++.Listed… Read More
Find the value of m and c such that a straight line y = mx + c, best represents the equation of a given set… Read More
Given a string containing uppercase alphabets and integer digits (from 0 to 9), the task is to print the alphabets in the order followed by… Read More
Suppose we have two Strings :- Pattern and Text pattern: consisting of unique characters text: consisting of any lengthWe need to find the number of patterns that… Read More
Unlike normal C/C++ arrays, we don’t need to do element by element comparison to find if two given vectors contain same elements or not.In case… Read More
1st Round: Consisted of 20 questions out of which 15 were MCQ and 3 were DBMS queries and 2 were programming questions. Out of 260… Read More
The meaning of Java platform-independent is that the Java compiled code(byte code) can run on all operating systems. A program is written in a language… Read More
You are given an equilateral triangle of three matchsticks like given figure. What is the minimum number of sticks needed to add three more equilateral… Read More
rand() function is an inbuilt function in C++ STL, which is defined in header file <cstdlib>. rand() is used to generate a series of random… Read More
Sometimes we visit some e-commerce websites and check some products there and leave the website without placing an order. Then when we open Facebook, we… Read More
JSON (JavaScript Object Notation) is a lightweight, text-based, language-independent data exchange format that is easy for humans and machines to read and write. JSON can… Read More