Cerinta completa Given an array of integers, determine the minimum number of elements to delete to leave only elements of equal value. Example Delete the elements and leaving . If both twos plus either the or the are deleted, it
Ema’s Supercomputer
Cerinta completa Ema built a quantum computer! Help her test its capabilities by solving the problem below. Given a grid of size , each cell in the grid is either or . A valid plus is defined here as the
Drive
Cerinta completa HackerRank is starting a bus service in MountainView, California. The bus starts at time T = 0 at station1 and goes through station2, station3, station4 in that order and reaches the headquarters located at stationn. At every station,
Dortmund Dilemma
Cerinta completa Borussia Dortmund are a famous football ( soccer ) club from Germany. Apart from their fast-paced style of playing, the thing that makes them unique is the hard to pronounce names of their players ( błaszczykowski , papastathopoulos
Electronics Shop
Cerinta completa A person wants to determine the most expensive computer keyboard and USB drive that can be purchased with a give budget. Given price lists for keyboards and USB drives and a budget, find the cost to buy them.
Divisible Sum Pairs
Cerinta completa Given an array of integers and a positive integer , determine the number of pairs where and + is divisible by . Example Three pairs meet the criteria: and . Function Description Complete the divisibleSumPairs function in the
Drawing Book
Cerinta completa A teacher asks the class to open their books to a page number. A student can either start turning pages from the front of the book or from the back of the book. They always turn pages one
Distant Pairs
Cerinta completa We take a line segment of length on a one-dimensional plane and bend it to create a circle with circumference that’s indexed from to . For example, if : We denote a pair of points, and , as
Digits Square Board
Cerinta completa Two HackerRank staffers found a secret room with a mysterious square board and decided to play a game with it. The game has the following rules: At the beginning of the game, the players write a single digit
Divisible Numbers
Cerinta completa Given an integer, , find the smallest integer such that is divisible by (i.e., is a factor of ) and satisfies the following properties: must not contain zeroes in its decimal representation. The sum of ‘s digits must
