In order to warm the blood of cricket fans in the cold weather of Australia, the T20 World Cup festival is going to be held from October 23 and the cricket fans are eagerly waiting to see Rizwan’s sixes, Babar’s ...

In this post, we will solve the Two Sum HackerRank Solution. This problem (Two Sum) is a part of the HackerRank Problem Solving series. Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may ...

In this post, we will solve the Caesar Cipher HackerRank Solution. This problem (Caesar Cipher) is a part of the HackerRank Problem Solving series. Julius Caesar protected his confidential information by encrypting it using a cipher. Caesar’s cipher shifts each letter by a number of letters. ...

In this post, we will solve the Minimum Absolute Difference in an Array Jumps HackerRank Solution. This problem (Minimum Absolute Difference in an Array) is a part of the HackerRank Problem Solving series. Consider an array of integers, arr =[arr[0], arr[1], … , arr[n-1]] . We define ...

In this post, we will solve the Tower Breakers Jumps HackerRank Solution. This problem (Tower Breakers) is a part of the HackerRank Problem Solving series. Two players are playing a game of Tower Breakers! Player 1 always moves first, and both players always play optimally.The rules ...

In this post, we will solve the Closest Numbers Jumps HackerRank Solution. This problem (Number Line Jumps) is a part of the HackerRank Problem Solving series. Sorting is useful as the first step in many different tasks. The most common task is to make finding ...

In this post, we will solve the Separate the Numbers HackerRank Solution. This problem (Separate the Numbers) is a part of the HackerRank Problem Solving series. A numeric string, s , is beautiful if it can be split into a sequence of two or more ...

In this post, we will solve the Number Line Jumps HackerRank Solution. This problem (Number Line Jumps) is a part of the HackerRank Problem Solving series. You are choreographing a circus show with various animals. For one act, you are given two kangaroos on ...

In this post, we will solve the Left Rotation HackerRank Solution. This problem (Left Rotation) is a part of the HackerRank Problem Solving series. the array that many steps left and return the result. Example d = 2 arr = [1, 2, 3, 4, ...