Get the Reddit app

Subreddit for posting questions and asking for general advice about your python code.

Just earned the Gold Badge for 30 Days of Code on HackerRank!

I finished solving the 30 coding challenges in python and it was a great journey looking forward to solving more challenges. This helped me gain a bit more confidence and i would definitely recommend it. The best part about hackerrank is that they give you stars and the gold badge when you have completed all of it . There is the python gold badge that I am going to start working towards now!

The gold badge:

https://www.hackerrank.com/aiden506sams?badge=30-days-of-code&stars=5&level=3&hr_r=1&utm_campaign=social-buttons&utm_medium=twitter&utm_source=badge_share&social=linkedin

  • Stack Overflow Public questions & answers
  • Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers
  • Talent Build your employer brand
  • Advertising Reach developers & technologists worldwide
  • Labs The future of collective knowledge sharing
  • About the company

Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Get early access and see previews of new features.

How to better understand Hacker Rank problems

I'm trying to level up my skills by doing Hacker Rank challenges, however, some of the problem descriptions aren't clear to me.

For instance, in this problem , the function will receive 3 arguments: an integer and 2 arrays. So, why in both example solutions, the input values don't match?

One shows the example input is 3 arrays:

and the other shows 1 array and 2 integers:

Am I understanding this right?

  • data-structures

Mark's user avatar

  • Regarding the "how to better understand" question... Just read all the words, man. Your question is clearly presented and nicely formatted. It took some care and effort, and I respect that. I think you should respect the guy who wrote that Hacker Rank question. He tried hard to make it clear and easy to understand, but you didn't even give him a chance. You just read the first bit, and then dismissed all the rest of that work as unimportant. –  Matt Timmermans Commented Sep 18, 2020 at 21:52

2 Answers 2

The input you get is 3 integers (the first line) and two arrays (2nd and 3rd line). The first number in line one gives you your budget and number two and three give you the length of the two following arrays.

mdebets's user avatar

Quote: "The first line contains three space-separated integers b, n, and m, the budget, the number of keyboard models and the number of USB drive models."

The "number of" integers are list/array length. In the second example, the two lists/arrays are of length 1.

גלעד ברקן's user avatar

Your Answer

Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more

Sign up or log in

Post as a guest.

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy .

Not the answer you're looking for? Browse other questions tagged algorithm data-structures or ask your own question .

  • Featured on Meta
  • Upcoming sign-up experiments related to tags
  • The return of Staging Ground to Stack Overflow
  • Policy: Generative AI (e.g., ChatGPT) is banned

Hot Network Questions

  • Are there really half-a billion visible supernovae exploding all the time?
  • Mechanistic view of the universe
  • Tiny book about a planet full of man-eating sunflowers
  • The method of substitution in the problem of finding the integral
  • Am I experiencing discrimination from my professor, and if so, how can I safely go about this?
  • Reaching max stay on multi entry Schengen visa
  • Is there a category even more general than "thing"?
  • What is the purpose of the M1 pin on a Z80
  • Creating a command to display blackboard font
  • Do differently rendered measure numbers convey meaning?
  • Definition of "Supports DSP" or "has DSP extensions" in a processor
  • How to find gaps in mathematics/theoretical physics/mathematical physics ? How to proceed after you found them?
  • proper way to write C code that injects message into /var/log/messages
  • Vertical alignment of array inside array
  • Is there some sort of kitchen utensil/device like a cylinder with a strainer?
  • What does "the dogs of prescriptivism" mean?
  • Securing HTTP File Transfer over local network
  • Are there substantive differences between the different approaches to "size issues" in category theory?
  • Is zip tie a durable way to carry a spare tube on a frame?
  • Delimiter sizes with unicode-math
  • Clear jel to thicken the filling of a key lime pie?
  • What would cause desoldering braid to simply not work?
  • The connection between determinants and eigenvalues
  • A member of NATO falls into civil war, who do the rest of the members back?

problem solving badge hackerrank

Say "Hello, World!" With Python Easy Max Score: 5 Success Rate: 96.23%

Python if-else easy python (basic) max score: 10 success rate: 89.68%, arithmetic operators easy python (basic) max score: 10 success rate: 97.39%, python: division easy python (basic) max score: 10 success rate: 98.68%, loops easy python (basic) max score: 10 success rate: 98.10%, write a function medium python (basic) max score: 10 success rate: 90.31%, print function easy python (basic) max score: 20 success rate: 97.28%, list comprehensions easy python (basic) max score: 10 success rate: 97.68%, find the runner-up score easy python (basic) max score: 10 success rate: 94.18%, nested lists easy python (basic) max score: 10 success rate: 91.72%, cookie support is required to access hackerrank.

Seems like cookies are disabled on this browser, please enable them to open this website

Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications You must be signed in to change notification settings

Hackerrank Problem Solve using Python

webishan/hackerrank_problem_solve_using_python

Folders and files.

NameName
1 Commit

Repository files navigation

Hackerrank_problem_solve_using_python.

IMAGES

  1. What is HackerRank ?

    problem solving badge hackerrank

  2. GitHub

    problem solving badge hackerrank

  3. SQL ADVANCED Certification Part 1 on Hackerrank

    problem solving badge hackerrank

  4. Akshay Kumar

    problem solving badge hackerrank

  5. HackerRank Problem solving Problem Solution

    problem solving badge hackerrank

  6. Problem Solving(Basic)

    problem solving badge hackerrank

VIDEO

  1. HackerRank Problem Solving Basic Certificate

  2. HITTING THE "GOLD BADGE" @HACKERRANK

  3. HackerRank

  4. How To Get Verified On Telegram 2024

  5. Top Earners

  6. How To Cancel Meta Verified Instagram 2024

COMMENTS

  1. Scoring

    The badges you earn will be added to your profile, and will be visible for other users. 1.2. What are the badges I can earn on HackerRank. You can earn the following badges by solving challenges on HackerRank : Problem Solving (Algorithms and Data Structures) Language Proficiency. C++; Java; Python; Specialized Skills. SQL

  2. Problem solving

    Problem solving. There are N problems numbered 1..N which you need to complete. You've arranged the problems in increasing difficulty order, and the i th problem has estimated difficulty level i. You have also assigned a rating vi to each problem. Problems with similar vi values are similar in nature. On each day, you will choose a subset of ...

  3. Solve Data Structures

    Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews. ... Easy Problem Solving (Basic) Max Score: 20 Success Rate: 91.36%. Solve Challenge. Sparse Arrays. Medium Problem Solving (Basic) Max Score: 25 Success Rate: 97.29%.

  4. Solve Algorithms

    Easy Problem Solving (Basic) Max Score: 10 Success Rate: 94.51%. Solve Challenge. Compare the Triplets. ... Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews. Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to ...

  5. What I Learned in Obtaining a Problem Solving (Basic) Hackerrank

    There are problem-solving questions that we can solve within 1 month. It is divided into 4 weeks where each week has around 12-16 practice questions and 1 mock test question.

  6. How to get Gold Badge for Problem Solving on HackerRank? || 2 mins

    In this video, I am going to tell you, how did I achieve Gold Badge for Problem Solving on HackerRank!My HackerRank Profile Link:https://www.hackerrank.com/a...

  7. 7 Tips I Wish I Knew Before Clearing All HackerRank Python Challenges

    Tip #1: Start Easy, and Gently Work Your Way Up. L ike most other competitive programming platforms, HackerRank groups challenges into different difficulty levels. When you first start, the best way is to use the filters on the right side, start from the 'Easy' ones, then gradually work your way down the difficulty chain.

  8. What is the value of Hackerrank badges? : r/cscareerquestions

    CSCareerQuestions is a community for those who are in the process of entering or are already part of the computer science field. Our goal is to help navigate and share challenges of the industry and strategies to be successful .

  9. Solutions to Certification of Problem Solving Basic on Hackerrank

    Solutions to Certification of Problem Solving Basic on Hackerrank. To get a certificate, two problems have to be solved within 90 minutes. The following is a list of possible problems per certificate. Problem Solving (Basic) Active Traders; Balanced System Files Partition; Longest Subarray; Maximum Cost of Laptop Count; Nearly Similar Rectangles

  10. Solutions to Hackerrank practice problems

    This repository contains 185 solutions to Hackerrank practice problems with Python 3 and Oracle SQL. Updated daily :) If it was helpful please press a star. Algorithms Warmup Solve Me First | Problem | Solution | Score: 1; Simple Array Sum | Problem | Solution | Score: 10; Compare the Triplets | Problem | Solution | Score: 10

  11. Scoring a Coding Question

    A coding question requires the applicant to submit code in any of the available languages to solve the task. Coding questions are scored using test cases, which are designed to evaluate the correctness and efficiency of a candidate's code. Test cases are a set of specified inputs and expected outputs with a given execution condition, and they ...

  12. hackerrank-challenges · GitHub Topics · GitHub

    HackerRank's programming challenges can be solved in a variety of programming languages (including Java, C++, PHP, Python, SQL, JavaScript) and span multiple computer science domains. When a programmer submits a solution to a programming challenge, their submission is scored on the accuracy of their output.

  13. Does 6 STAR BADGE on Hackerrank and Problem solving ...

    To avail discount on all courses on geeks for geeks you can use the code ADIRAJ10 to get 10%off.Link to the courses: https://practice.geeksforgeeks.org/cours...

  14. Just earned the Gold Badge for 30 Days of Code on HackerRank!

    Aidensamuel00. ADMIN MOD. Just earned the Gold Badge for 30 Days of Code on HackerRank! I finished solving the 30 coding challenges in python and it was a great journey looking forward to solving more challenges. This helped me gain a bit more confidence and i would definitely recommend it. The best part about hackerrank is that they give you ...

  15. Mastering HackerRank Coding Challenges: 10 Foolproof ...

    In this blog, I'll share 10 tried-and-tested strategies that will help you nail HackerRank coding challenges with confidence. These strategies have been carefully curated to enhance your problem ...

  16. Solve Algorithms

    Easy Problem Solving (Intermediate) Max Score: 20 Success Rate: 80.05%. Solve Challenge. Caesar Cipher. ... Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews. Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to ...

  17. One Does Not Simply Solve 50 Hacker Rank Coding Challenges

    After solving all these problems in hacker rank you will receive a gold badge in the algorithms section. This is what I had worked for. Day 2 — Merge two Sorted List

  18. hakerrank-problem-solving · GitHub Topics · GitHub

    To associate your repository with the hakerrank-problem-solving topic, visit your repo's landing page and select "manage topics." GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

  19. How to better understand Hacker Rank problems

    I'm trying to level up my skills by doing Hacker Rank challenges, however, some of the problem descriptions aren't clear to me. For instance, in this problem, the function will receive 3 arguments: an integer and 2 arrays. So, why in both example solutions, the input values don't match? One shows the example input is 3 arrays: 10 2 3. 3 1. 5 2 8.

  20. Solve Algorithms

    Problem Solving (Intermediate) Problem Solving (Advanced) Problem Solving (Basic) Difficulty. Easy. Medium. Hard. Subdomains. Warmup. Implementation. Strings. Sorting. Search. Graph Theory. Greedy. Dynamic Programming. ... Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming ...

  21. Solve Python

    Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews. ... Problem Solving (Basic) Python (Basic) Problem Solving (Advanced) Python (Intermediate) Difficulty. Easy. Medium. Hard. Subdomains. Introduction. Basic Data Types. Strings. Sets. Math. Itertools. Collections ...

  22. GitHub

    All my solutions to get 5 * (gold) badge in both SQL and Problem solving. - ashraf789/Hackerrank-problem-solving

  23. PARTH AADTHAKKAR on LinkedIn: #achievementunlocked #hackerrank #

    🌟🚀 Achieving New Milestones: 4th Star with Silver Badge in Problem Solving on HackerRank! 🚀🌟 Thrilled to share an exciting milestone in my coding…

  24. hackerrank-problem-solutions · GitHub Topics · GitHub

    To associate your repository with the hackerrank-problem-solutions topic, visit your repo's landing page and select "manage topics." GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

  25. webishan/hackerrank_problem_solve_using_python

    Hackerrank Problem Solve using Python. Contribute to webishan/hackerrank_problem_solve_using_python development by creating an account on GitHub.