All Medium Articles
What is the output of below C program? #include <stdio.h>    void print(int c){            if (c < 0) {         return;     }            printf("%d ",… Read More
Given a very large number, print all the 3 digit repeating numbers with their frequency. If a 3 digit number appears more than once, print… Read More
Given an array of 2 * N positive integers where each array element lies between 1 to N and appears exactly twice in the array.… Read More
In most of the programming language True and False are considered as the boolean values. But Perl does not provide the type boolean for True… Read More
Round 1: Face to Face 1. Calculate a power x: Power(x, n) 2. Find pivot in sorted rotated array Sorted rotated array 3. Top view… Read More
Given a rod of length L, the task is to cut the rod in such a way that the total number of segments of length… Read More
This guide will cover everything you need to prepare for your dream job. The basic structure of this course is as follows: Resume Building Application… Read More
Given an array of 0s and 1s, find the position of 0 to be replaced with 1 to get longest continuous sequence of 1s. Expected… Read More
Find the inorder and postorder of the binary tree with the given preorder: 60, 40, 20, 10, 30, 33, 50, 44, 51, 90, 70, 65,… Read More
Given N, The task is to find the total number of unique BSTs that can be made using values from 1 to N.  Examples:  Input:… Read More
Project Title: Third Eye – Aid For Blind. Introduction: This project aims to develop a complete portable aid(Raspberry Pi) for blind pedestrians and deal with… Read More
The time complexity of computing the transitive closure of binary relation on a set of n elements is known to be (A) O(n) (B) O(n… Read More
What is List Comprehension? It is an elegant way of defining and creating a list. List Comprehension allows us to create a list using for… Read More
Uniform initialization is a feature in C++ 11 that allows the usage of a consistent syntax to initialize variables and objects ranging from primitive type… Read More
C++
Project Title: We Connect (Write your way.) Introduction: It is a question-and-answer site where questions are asked, answered, people, write their experiences, and provide a… Read More
What is the output of the following program ? main (){ int x = 2, y = 5; if(x < y) return (x = x… Read More
The map::emplace() is a built-in function in C++ STL which inserts the key and its element in the map container. It effectively increases the container… Read More
Below are some of the most frequently asked questions regarding placements and interviews: Is competitive programming enough for placements? Competitive Programming plays a very important… Read More
Round 1: It was a HackerRank coding round with 3 questions (DP, string manipulation) (1 hr) Don’t remember exact questions. Round 2: It was a F2F Technical… Read More