#HackerRank
#Solution
#Java Solution import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.
#HackerRank
#Solution
#Java Solution import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.
#HackerRank
#Solution
#Java Solution /* Solution to HackerRank: Divisible Sum Pairs * URL: https://www.
#HackerRank
#Solution
#Java Solution /* Solution to HackerRank: The Time in Words * URL: https://www.
#HackerRank
#Solution
#Java Solution Use BigInteger to calculate the sum and print first 10 characters by converting to string.
#HackerRank
#Solution
#Java Solution 2 to the power 1000 will be a huge number hence consider using BigInteger.
#HackerEarth
#Solution
#Java
#Binary Tree Solution Diameter of a binary tree is maximum of diameter of current node, its left and right child.
#HackerRank
#Solution
#Java Solution Iterate through each city and check if it is already under range of previous tower.
#HackerRank
#Solution
#Java Solution Sort the array of numbers Find the minimum difference between ith and (i+K-1)th element in each iteration.
#HackerRank
#Solution
#Java Solution Iterate the sides in descending order Check if sides make a triangle by checking if sum of two sides is greater than third side .