## CamelCase HackerRank Solution in C, C++, Java, Python

There is a sequence of words in CamelCase as a string of letters,s, having the following properties: It is a concatenation of one or more words consisting of English letters. …

## Intro to Tutorial Challenges HackerRank Solution in C, C++, Java, Python

About Tutorial Challenges Many of the challenges on HackerRank are difficult and assume that you already know the relevant algorithms. These tutorial challenges are different. They break down algorithmic concepts …

## Big Sorting HackerRank Solution in C, C++, Java, Python

Consider an array of numeric strings where each string is a positive number with anywhere from  to 10^6 digits. Sort the array’s elements in non-decreasing, or ascending order of their integer values …

## Matrix Layer Rotation HackerRank Solution in C, C++, Java, Python

You are given a 2D matrix of dimension m*n and a positive integer r. You have to rotate the matrix r times and print the resultant matrix. Rotation should be …

## Almost Sorted HackerRank Solution in C, C++, Java, Python

Given an array of integers, determine whether the array can be sorted in ascending order using only one of the following operations one time. Swap two elements. Reverse one sub-segment. …

## Larry’s Array HackerRank Solution in C, C++, Java, Python

Larry has been given a permutation of a sequence of natural numbers incrementing from 1 as an array. He must determine whether the array can be sorted using the following …

## Ema’s Supercomputer HackerRank Solution in C, C++, Java, Python

Ema built a quantum computer! Help her test its capabilities by solving the problem below. Given a grid of size n*m, each cell in the grid is either good or …

## The Bomberman Game HackerRank Solution in C, C++, Java, Python

Bomberman lives in a rectangular grid. Each cell in the grid either contains a bomb or nothing at all. Each bomb can be planted in any cell of the grid …

## Absolute Permutation HackerRank Solution in C, C++, Java, Python

We define P to be a permutation of the first n natural numbers in the range [1,n]. Let pos[i] denote the value at position i in permutation P using 1-based …

## 3D Surface Area HackerRank Solution in C, C++, Java, Python

Madison, is a little girl who is fond of toys. Her friend Mason works in a toy manufacturing factory . Mason has a 2D board A of size with H*W …