{"id":3161,"date":"2025-01-14T08:01:28","date_gmt":"2025-01-14T08:01:28","guid":{"rendered":"https:\/\/gnomeledge.com\/QH2301B\/?p=3161"},"modified":"2025-01-17T05:30:17","modified_gmt":"2025-01-17T05:30:17","slug":"hackerrank-tutorial-4-division-challenge","status":"publish","type":"post","link":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/","title":{"rendered":"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge"},"content":{"rendered":"\n<p><strong>Step 1 \u2013 Launch the HackerRank Website and \u201cSign In\u201d.<\/strong>&nbsp;<strong>Ref:&nbsp;<a href=\"https:\/\/www.hackerrank.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.hackerrank.com\/<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"914\" src=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_1-1024x914.jpg\" alt=\"\" class=\"wp-image-3166\" srcset=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_1-1024x914.jpg 1024w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_1-300x268.jpg 300w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_1-768x685.jpg 768w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_1.jpg 1150w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 2 \u2013 Under Python click \u201cContinue Preparation\u201d. Choose \u201cDivision\u201d Challenge.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"821\" src=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_2-1024x821.jpg\" alt=\"\" class=\"wp-image-3167\" srcset=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_2-1024x821.jpg 1024w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_2-300x241.jpg 300w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_2-768x616.jpg 768w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_2.jpg 1131w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 3 \u2013 Read the Instructions Carefully.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"807\" src=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3a-1024x807.jpg\" alt=\"\" class=\"wp-image-3168\" srcset=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3a-1024x807.jpg 1024w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3a-300x236.jpg 300w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3a-768x605.jpg 768w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3a.jpg 1147w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"807\" src=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3b-1024x807.jpg\" alt=\"\" class=\"wp-image-3169\" srcset=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3b-1024x807.jpg 1024w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3b-300x236.jpg 300w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3b-768x605.jpg 768w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_3b.jpg 1150w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 4 \u2013 List the Requirements and Constraints in a Notepad in simple words. Learn to take notes.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"682\" height=\"426\" src=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_4.jpg\" alt=\"\" class=\"wp-image-3170\" srcset=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_4.jpg 682w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_4-300x187.jpg 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/figure>\n\n\n\n<p>a \/\/ b is to get the remainder value of the division between a and b. \/\/ known as Floor Division Operator, divides and then rounds the result down to the nearest whole number (integer).<\/p>\n\n\n\n<p><strong>Step 5 \u2013 Convert What You Understand of the\u00a0<strong>Requirements and Constraints<\/strong>\u00a0into code<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"636\" height=\"906\" src=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_5.jpg\" alt=\"\" class=\"wp-image-3171\" srcset=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_5.jpg 636w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_5-211x300.jpg 211w\" sizes=\"auto, (max-width: 636px) 100vw, 636px\" \/><\/figure>\n\n\n\n<p><strong>Step 6 \u2013 Click \u201cRun Code\u201d to Test Your Code. Do Note if you submit code with errors, you will lose points. So \u201cRun Code\u201d first to ensure everything works.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"607\" height=\"852\" src=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_6.jpg\" alt=\"\" class=\"wp-image-3172\" style=\"width:607px;height:auto\" srcset=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_6.jpg 607w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_6-214x300.jpg 214w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/figure>\n\n\n\n<p><strong>Step 7 \u2013 Once you have tested that your code works, \u201cSubmit Code\u201d to clear the challenge and earn some Hacker points.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"806\" src=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_7-1024x806.jpg\" alt=\"\" class=\"wp-image-3173\" srcset=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_7-1024x806.jpg 1024w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_7-300x236.jpg 300w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_7-768x605.jpg 768w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_7.jpg 1152w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If you have not submitted any codes with error so far and have scored the full points for the last 3 tutorials. You will have enough total points to earn your 1st star.<\/p>\n\n\n\n<p><strong>Step 8 \u2013 Go to Your Profile Page and Check-out Your First Python Star.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"811\" src=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_8-1024x811.jpg\" alt=\"\" class=\"wp-image-3174\" srcset=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_8-1024x811.jpg 1024w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_8-300x238.jpg 300w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_8-768x608.jpg 768w, https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/h4_8.jpg 1149w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Step 1 \u2013 Launch the HackerRank Website and \u201cSign In\u201d.&nbsp;Ref:&nbsp;https:\/\/www.hackerrank.com\/ Step 2 \u2013 Under Python click \u201cContinue Preparation\u201d. Choose \u201cDivision\u201d Challenge. Step 3 \u2013 Read the Instructions Carefully. Step 4 \u2013 List the Requirements and Constraints in a Notepad in simple words. Learn to take notes. a \/\/ b is to get the remainder value [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":3165,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[360,365,370,3,256,174,375,366,9,371],"tags":[],"class_list":["post-3161","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ambition","category-competitive-programming","category-hackerrank","category-ite","category-learning-through-experimentations","category-methods-and-techniques","category-python","category-ranking-up","category-student-development","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge - Gnome Ledge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge - Gnome Ledge\" \/>\n<meta property=\"og:description\" content=\"Step 1 \u2013 Launch the HackerRank Website and \u201cSign In\u201d.&nbsp;Ref:&nbsp;https:\/\/www.hackerrank.com\/ Step 2 \u2013 Under Python click \u201cContinue Preparation\u201d. Choose \u201cDivision\u201d Challenge. Step 3 \u2013 Read the Instructions Carefully. Step 4 \u2013 List the Requirements and Constraints in a Notepad in simple words. Learn to take notes. a \/\/ b is to get the remainder value [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/\" \/>\n<meta property=\"og:site_name\" content=\"Gnome Ledge\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-14T08:01:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-17T05:30:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Wei Jing HO\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Wei Jing HO\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/\"},\"author\":{\"name\":\"Wei Jing HO\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/person\/6895e6c29fbf0423d8b9b25fe6ead8f5\"},\"headline\":\"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge\",\"datePublished\":\"2025-01-14T08:01:28+00:00\",\"dateModified\":\"2025-01-17T05:30:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/\"},\"wordCount\":186,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#organization\"},\"image\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp\",\"articleSection\":[\"Ambition\",\"Competitive Programming\",\"HackerRank\",\"ITE\",\"Learning through Experimentations\",\"Methods and Techniques\",\"Python\",\"Ranking Up\",\"Student Development\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/\",\"url\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/\",\"name\":\"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge - Gnome Ledge\",\"isPartOf\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp\",\"datePublished\":\"2025-01-14T08:01:28+00:00\",\"dateModified\":\"2025-01-17T05:30:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#primaryimage\",\"url\":\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp\",\"contentUrl\":\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp\",\"width\":1024,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/gnomeledge.com\/QH2301B\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#website\",\"url\":\"https:\/\/gnomeledge.com\/QH2301B\/\",\"name\":\"Gnome Ledge\",\"description\":\"Seekers of Knowledge\",\"publisher\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#organization\"},\"alternateName\":\"Class QH2301B\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/gnomeledge.com\/QH2301B\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#organization\",\"name\":\"Gnome Ledge\",\"alternateName\":\"Class QH2301B\",\"url\":\"https:\/\/gnomeledge.com\/QH2301B\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2023\/01\/cropped-cropped-icon_gnome_1-1.png\",\"contentUrl\":\"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2023\/01\/cropped-cropped-icon_gnome_1-1.png\",\"width\":40,\"height\":67,\"caption\":\"Gnome Ledge\"},\"image\":{\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/averageone.com\/\",\"https:\/\/www.linkedin.com\/in\/howeijing-wr\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/person\/6895e6c29fbf0423d8b9b25fe6ead8f5\",\"name\":\"Wei Jing HO\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/36cf9b99a7f988a70d4ab76145bc594be673e5f440a112c6b54f22638524203c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/36cf9b99a7f988a70d4ab76145bc594be673e5f440a112c6b54f22638524203c?s=96&d=mm&r=g\",\"caption\":\"Wei Jing HO\"},\"sameAs\":[\"https:\/\/averageone.com\/\"],\"url\":\"https:\/\/gnomeledge.com\/QH2301B\/author\/mr-ho\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge - Gnome Ledge","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/","og_locale":"en_US","og_type":"article","og_title":"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge - Gnome Ledge","og_description":"Step 1 \u2013 Launch the HackerRank Website and \u201cSign In\u201d.&nbsp;Ref:&nbsp;https:\/\/www.hackerrank.com\/ Step 2 \u2013 Under Python click \u201cContinue Preparation\u201d. Choose \u201cDivision\u201d Challenge. Step 3 \u2013 Read the Instructions Carefully. Step 4 \u2013 List the Requirements and Constraints in a Notepad in simple words. Learn to take notes. a \/\/ b is to get the remainder value [&hellip;]","og_url":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/","og_site_name":"Gnome Ledge","article_published_time":"2025-01-14T08:01:28+00:00","article_modified_time":"2025-01-17T05:30:17+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp","type":"image\/webp"}],"author":"Wei Jing HO","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Wei Jing HO","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#article","isPartOf":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/"},"author":{"name":"Wei Jing HO","@id":"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/person\/6895e6c29fbf0423d8b9b25fe6ead8f5"},"headline":"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge","datePublished":"2025-01-14T08:01:28+00:00","dateModified":"2025-01-17T05:30:17+00:00","mainEntityOfPage":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/"},"wordCount":186,"commentCount":0,"publisher":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/#organization"},"image":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#primaryimage"},"thumbnailUrl":"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp","articleSection":["Ambition","Competitive Programming","HackerRank","ITE","Learning through Experimentations","Methods and Techniques","Python","Ranking Up","Student Development","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/","url":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/","name":"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge - Gnome Ledge","isPartOf":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#primaryimage"},"image":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#primaryimage"},"thumbnailUrl":"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp","datePublished":"2025-01-14T08:01:28+00:00","dateModified":"2025-01-17T05:30:17+00:00","breadcrumb":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#primaryimage","url":"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp","contentUrl":"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2025\/01\/DALL\u00b7E-2025-01-14-15.39.26-Two-penguins-standing-back-to-back-in-an-action-packed-pose-set-in-a-dark-digital-world.-One-penguin-is-holding-a-glowing-holographic-shield-with-vib.webp","width":1024,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/gnomeledge.com\/QH2301B\/2025\/01\/14\/hackerrank-tutorial-4-division-challenge\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gnomeledge.com\/QH2301B\/"},{"@type":"ListItem","position":2,"name":"[HackerRank] Tutorial 4: \u201cDivision\u201d Challenge"}]},{"@type":"WebSite","@id":"https:\/\/gnomeledge.com\/QH2301B\/#website","url":"https:\/\/gnomeledge.com\/QH2301B\/","name":"Gnome Ledge","description":"Seekers of Knowledge","publisher":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/#organization"},"alternateName":"Class QH2301B","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gnomeledge.com\/QH2301B\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/gnomeledge.com\/QH2301B\/#organization","name":"Gnome Ledge","alternateName":"Class QH2301B","url":"https:\/\/gnomeledge.com\/QH2301B\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/logo\/image\/","url":"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2023\/01\/cropped-cropped-icon_gnome_1-1.png","contentUrl":"https:\/\/gnomeledge.com\/QH2301B\/wp-content\/uploads\/2023\/01\/cropped-cropped-icon_gnome_1-1.png","width":40,"height":67,"caption":"Gnome Ledge"},"image":{"@id":"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/averageone.com\/","https:\/\/www.linkedin.com\/in\/howeijing-wr\/"]},{"@type":"Person","@id":"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/person\/6895e6c29fbf0423d8b9b25fe6ead8f5","name":"Wei Jing HO","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gnomeledge.com\/QH2301B\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/36cf9b99a7f988a70d4ab76145bc594be673e5f440a112c6b54f22638524203c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/36cf9b99a7f988a70d4ab76145bc594be673e5f440a112c6b54f22638524203c?s=96&d=mm&r=g","caption":"Wei Jing HO"},"sameAs":["https:\/\/averageone.com\/"],"url":"https:\/\/gnomeledge.com\/QH2301B\/author\/mr-ho\/"}]}},"_links":{"self":[{"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/posts\/3161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/comments?post=3161"}],"version-history":[{"count":2,"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/posts\/3161\/revisions"}],"predecessor-version":[{"id":3238,"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/posts\/3161\/revisions\/3238"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/media\/3165"}],"wp:attachment":[{"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/media?parent=3161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/categories?post=3161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gnomeledge.com\/QH2301B\/wp-json\/wp\/v2\/tags?post=3161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}