All Medium Articles
The iterator() method of ArrayList class in Java Collection Framework is used to get an iterator over the elements in this list in proper sequence.… Read More
numpy.load() in Python is used load data from a text file, with aim to be a fast reader for simple text files. Note that each… Read More
The remove(int index) method of List interface in Java is used to remove an element from the specified index from a List container and returns… Read More
Unordered Map does not contain a hash function for a pair like it has for int, string, etc, So if we want to hash a… Read More
The typeof is an operator keyword which is used to get a type at the compile-time. Or in other words, this operator is used to… Read More
Given an array of integers. The task is to find the maximum sum of all the elements of the array after performing the given two… Read More
A Min-Heap is a complete binary tree in which the value in each internal node is smaller than or equal to the values in the… Read More
Operator Overloading means giving extended meaning beyond their predefined operational meaning. For example operator + is used to add two integers as well as join… Read More
Given an array A of N integers and number of queries Q. You have to answer two types of queries.  Update [l, r] – for… Read More
Given a file containing data of student name and marks scored by him/her in 3 subjects. The task is to find the list of students… Read More
Introduction This article belongs to a series of articles about writing, building and debugging an application written in C++, that uses Gtk library to handle… Read More
Round 1: the first round was hosted in Aspiring Minds platform.there were three sections comprising of quantitative aptitude, logical and verbal aptitude. Quants  section was… Read More
Given a string, move all Uppercase alphabets char to the end of the String.  Examples:  Input : Geeksforgeeks A Computer Science Portal for Geeks!! Output… Read More
There are people which are to be grouped into exactly teams such that there is at least one person in each team. All members of a team… Read More
JavaScript is the client side scripting language and PHP is the server side scripting language. JavaScript is used as client side to check and verify… Read More
Given some weights of masses a0, a1, a2, …, a100, a being an integer, and a weighing scale where weights can be put on both… Read More
Given a K-ary tree, where each node is having K children and each edge has some weight. All the edges i.e. K, that goes from… Read More
Given X and Y coordinates of N points on a Cartesian plane. The task is to find the number of possible triangles with the non-zero… Read More
Problem : Find the expected number of times a coin must be flipped to get two heads consecutively? Solution : The key is to observe… Read More
JSON stands for JavaScript Object Notation. It’s a standard text-based format that shows structured data based on JavaScript object syntax. It is commonly used for… Read More