Array someone August 31, 2020 Other Resources Data Structures Questions : Insertion in unsorted array Read More
Insertion in unsorted array someone August 31, 2020 Problem Statement : Given unsorted array & element to insert. WAP to insert that element to its correct position. Approach 1) Sor...Read More
Algorithms someone August 28, 2020 This page contains detailed tutorials on different Algorithms. Topics : Selection Sort Insertion Sort Read More
Selection Sort someone August 28, 2020Basically in this technique we take minimum element from entire array & swap it with the 1st element. After this we take minimum from en...Read More
Perfect Squares someone August 24, 2020 Perfect Squares , we will pre calculate all perfect square & store in map. #include<bits/stdc++.h> using namespace std; #de...Read More
Chef Jump someone August 24, 2020 Question link : Here Prerequisites : Find angle between minute & hour hand Basically in this question we have to print minimum an...Read More
Find angle between given time someone August 24, 2020 Question : Find Angle between 12:30 We can see that hour hand pointing to 12 h and minute hand to 30 min Related Question : Chef Jump ...Read More
Random in JS someone August 24, 2020 We will use Math.random() function. When you use this function you will get numbers between [0, 1) non-inclusive of 1. var random = Ma...Read More
Thousand Separator someone August 23, 2020 Question, given an integer & you have to add thousand separator & return it as string. First we will store given number in string...Read More
Codeforces #665 Div-2 someone August 23, 2020 Distance and Axis basically in this question we have to place B between O & A such that |OB - AB| = k. We are given OA (n), OB = m (l...Read More
Minimum Operations to Make Array Equal someone August 19, 2020Minimum Operations to Make Array Equal you are given array of length n . You can choose any two index & subtract / add one to that inde...Read More
AtCoder Beginner Contest 175 someone August 18, 2020 First lets see Making Triangle question. You have N stick which have length Li. Now in how many ways you can choose different sticks such...Read More