All Easy Articles
We are given a tree of size n as array parent[0..n-1] where every index i in the parent[] represents a node and the value at… Read More
An inverted star pattern involves printing a series of lines, each consisting of stars (*) that are arranged in a decreasing order. Here we are… Read More
Priority queues are a type of container adaptors, specifically designed such that the first element of the queue is either the greatest or the smallest… Read More
Let’s see how to create a simple notepad in Python using Tkinter. This notepad GUI will consist of various menu like file and edit, using… Read More
Compare string initialization performance for String Literal and String object. String Literal String str = “GeeksForGeeks”; This is string literal. When you declare string like… Read More
In C++, all containers (vector, stack, queue, set, map, etc) support both insert and emplace operations. Both are used to add an element in the… Read More
Round 1:(Coding Round) First round was online coding round on HackerRank. It comprised of 3 coding questions and duration was 90 minutes. 2 questions were… Read More
Given an array of an integer of size, N. Array contains N ropes of length Ropes[i]. You have to perform a cut operation on ropes… Read More
Given a number n then Find the Average of first n even natural numbers Ex.= 2 + 4 + 6 + 8 + 10 + 12… Read More
Round 1: There were three questions in first round:- How to find all boundary node of a tree. GeeksforGeeks Link How to reverse a string… Read More
Given an array of n integers, find the sum of xor of all pairs of numbers in the array. Examples : Input : arr[] =… Read More
Round 1:My round 1 was not that hard, it was resume based session, it started with my introduction and then i was asked about encapsulation,… Read More
Given a matrix, find the maximum sum we can have by selecting just one element from every row. Condition is element selected from nth row… Read More
Given a string s and Q number of queries. Each query Q consists of l and r and a character c. Find the frequency of… Read More
In C++ vectors are dynamic arrays. Unlike arrays, they don’t have a fixed size. They can grow or shrink as required. Vectors are assigned memory… Read More
This post is especially for people of non-CS branches who have developed interest towards coding and would like to work in a software company. The… Read More
ANN learning is robust to errors in the training data and has been successfully applied for learning real-valued, discrete-valued, and vector-valued functions containing problems such… Read More
Virtualization is a technique of how to separate a service from the underlying physical delivery of that service. It is the process of creating a… Read More
Given a number n, find out the number of Reflexive Relation on a set of first n natural numbers {1, 2, ..n}. Examples :  Input:… Read More
The Javascript array.of() method is an inbuilt method in JavaScript that creates a new array instance with variables present as the argument of the method.… Read More