HackerEarth conducted an annual Collegiate Cup for all programming enthusiasts across the globe, looking for the best programmers.
The contest had five rounds, where teams of three from any part of the world could participate for the coveted title and prize.
Round 1: Let the game begin
Held on September 3, 2016, the first round of the contest was an online qualifier round of 24 hours with three sets of problems.The contest was preparatory for ICPC aspirants. International Collegiate Programming contest is one of the world’s biggest competitive contest held globally. All the rules and themes of this contest were very similar to prepare contestants for ICPC. Every team which solved at least one of the three problem sets moved forward to the next round. Of the 1885 teams that participated, 755 made it to the next round.
Round 2: The first elimination round
On September 18, 2016, the first elimination round began. In this three-hour online contest, only the top 3 teams from every college could make it to the next round. Dealing with 5 problems, all 755 teams competed furiously, with only marginal differences in the points for the second qualifiers.
The challenge saw a pool of highly skilled programmers battle it out. A wild-card entry round was organized on October 2, 2016, which allowed five teams to qualify for the second elimination round. As the competition progressed, 318 teams battled for the top five positions in a three-hour contest, tackling extremely hard problems.
Round 4: Second elimination round
Out of 2000 teams, 214 teams made it to the second elimination round; the teams were neck and neck. A five-hour contest with 10 problems would get the contestant to the onsite round, with all expenses paid, at HackerEarth arena in Bangalore. But only 20 teams (15 Indian, 5 Global) would get the chance. With 80% of the teams competing till the last minute, only few could successfully accomplish the feat . Top 15 teams from different corners of the country were invited for a final onsite round at Bengaluru.
The Final Round
The final round of the HCC was held at HackerEarth, Bengaluru on November 5, 2016.
It comprised two rounds:
Each team had 12 problems to solve in the 5-hour contest.
Here is a sample problem from the Onsite round. Why don’t you give it a shot?.
Given 2?N pebbles of N different colors, where there are exactly 2 pebbles of each color. You need to arrange these pebbles in some order on a table. You may consider the table as an infinite 2D plane.The pebbles need to be placed under some restrictions: You can place a pebble of color X, at a coordinate (X,Y) such that Y is not equal to X, and there exist 2 pebbles of color Y. In short, consider you place a pebble of color ii at coordinate (X,Y). Here, it is necessary that (i=X),(i!=Y) there exist some other pebbles of color equal to Y. Now, you need to enclose this arrangement within a boundary , made by a ribbon. Considering that each unit of the ribbon costs M, you need to find the minimum cost in order to make a boundary which encloses any possible arrangement of the pebbles. The ribbon is sold only in units (not in further fractions).
You can find the solution Here
Here is another one.
Given an array A of length N, find the number of on- empty sub-arrays such that the sum of all the elements in the sub-array is a palindrome. In other words, you have to find a number of pairs (i,j) such that ?jx=iAx is a palindrome, where (1?i?j?N).
Try the solution at palindromic sum editorial.
The top 3 teams in the Onsite round :
Top 3 teams in the Mirror Round :
Although the competition was intense, the participants found the HackerEarth platform an excellent tool for learning and practice.
Testimonial by Arun Yadav –
“Greeaaat !! Problem set was awesome , would love to up solve them with
editorials .. HackerEarth has a really nice workplace 🙂 . Everything
was well managed , we didn’t face any glitches . T-shirts were awesome
!!! keep it every year XD”
Find it interesting? Try out similar programming challenges at HackerEarth Challenges.
Introduction In today's dynamic workplaces, a strong HR department is no longer a luxury –…
Job task analysis is a crucial process for understanding the specific duties and skills required…
In today's competitive talent landscape, attracting top candidates requires going beyond traditional job board postings.…
Finding the perfect fit for your team can feel like searching for a unicorn. But…
Recruitment forms a strong foundation to build an effective team. However, do you know if…
Introduction Performance appraisal has seen a tremendous change over the years. It is no longer…