{"id":112,"date":"2026-11-21T03:09:16","date_gmt":"2026-11-20T21:39:16","guid":{"rendered":"https:\/\/bhashitva.org\/?page_id=112"},"modified":"2026-11-21T03:58:50","modified_gmt":"2026-11-20T22:28:50","slug":"bhash-problem-showcase","status":"publish","type":"page","link":"https:\/\/bhashitva.org\/index.php\/bhash-problem-showcase\/","title":{"rendered":"Bhash Problem Showcase"},"content":{"rendered":"<h2 class=\"wp-block-heading\">\u092d\u093e\u0937 \u092e\u0947\u0902 \u0938\u092e\u0938\u094d\u092f\u093e \u0938\u092e\u093e\u0927\u093e\u0928<\/h2>\n<p class=\"wp-block-paragraph\">\u0915\u094d\u092f\u093e \u0926\u0947\u0935\u0928\u093e\u0917\u0930\u0940 \u092e\u0947\u0902 \u0932\u093f\u0916\u0947 \u092a\u094d\u0930\u094b\u0917\u094d\u0930\u093e\u092e \u092d\u0942\u0932\u092d\u0941\u0932\u0948\u092f\u093e \u092e\u0947\u0902 \u0930\u093e\u0938\u094d\u0924\u093e \u0916\u094b\u091c \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u092f\u093e \u0938\u0941\u0921\u094b\u0915\u0942 \u0915\u0940 \u091c\u093e\u0901\u091a \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902? \u0907\u0928 \u0926\u0938 \u0909\u0926\u093e\u0939\u0930\u0923\u094b\u0902 \u092e\u0947\u0902 \u092a\u094d\u0930\u0936\u094d\u0928, \u0938\u092e\u093e\u0927\u093e\u0928 \u0915\u0940 \u0935\u093f\u0927\u093f, \u091a\u0932\u0928\u0947 \u092f\u094b\u0917\u094d\u092f \u092d\u093e\u0937 \u0915\u094b\u0921 \u0914\u0930 \u0905\u092a\u0947\u0915\u094d\u0937\u093f\u0924 \u092a\u0930\u093f\u0923\u093e\u092e \u0938\u093e\u0925 \u0926\u093f\u090f \u0917\u090f \u0939\u0948\u0902\u0964<\/p>\n<p class=\"wp-block-paragraph\">Explore nine solutions to the 2026 Practice Problems. Each program reads contest-format input and prints its answer. Start with Sum or Product for a short first exercise, then try Food Search for breadth-first search or Razorback Ziplines for subset dynamic programming.<\/p>\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/bhashitva.org\/wp-content\/uploads\/2026\/11\/bhash-practice-2026.zip\">Download the nine contest programs and the illustrated-by-example guide (ZIP)<\/a>. Extract the archive and open <code>index.html<\/code> to read the explanations, expand the source listings and compare sample inputs with expected outputs. Each <code>.bhash<\/code> file runs independently with the Bhash compiler.<\/p>\n<h2 class=\"wp-block-heading\">\u0938\u092e\u0938\u094d\u092f\u093e\u090f\u0901 \u00b7 The problems<\/h2>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/bhash-bullseye\/\">Bullseye \u00b7 \u0928\u093f\u0936\u093e\u0928\u0947 \u0915\u0947 \u0905\u0902\u0915<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u0935\u0943\u0924\u094d\u0924 \u0915\u0940 \u0938\u0940\u092e\u093e \u092a\u0930 \u0932\u0917\u0947 \u0924\u0940\u0930 \u0915\u094b \u092d\u0940\u0924\u0930\u0940 \u0918\u0947\u0930\u0947 \u0915\u0947 \u0905\u0902\u0915 \u092e\u093f\u0932\u0924\u0947 \u0939\u0948\u0902\u0964 Compare squared distances to score five shots without square roots.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/bhash-tipsy-canoe\/\">Tipsy Canoe \u00b7 \u0921\u094b\u0902\u0917\u0940 \u0915\u093e \u0938\u0902\u0924\u0941\u0932\u0928<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u0938\u092c\u0938\u0947 \u092d\u093e\u0930\u0940 \u0914\u0930 \u0938\u092c\u0938\u0947 \u0939\u0932\u094d\u0915\u0947 \u0935\u094d\u092f\u0915\u094d\u0924\u093f \u0915\u093e \u0905\u0902\u0924\u0930 \u091c\u093e\u0901\u091a\u0947\u0902\u0964 The largest possible imbalance covers every seating order.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/bhash-programming-contest\/\">Programming Contest \u00b7 \u0938\u092c\u0938\u0947 \u0938\u0930\u0932 \u092a\u094d\u0930\u0936\u094d\u0928<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u0939\u0930 \u092a\u094d\u0930\u0936\u094d\u0928 \u0915\u0947 \u0905\u0902\u0915\u094b\u0902 \u0915\u093e \u0914\u0938\u0924 \u0928\u093f\u0915\u093e\u0932\u0947\u0902\u0964 Cross-multiply rating totals and vote counts to resolve ties exactly.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/bhash-food-search\/\">Food Search \u00b7 \u092d\u094b\u091c\u0928 \u0924\u0915 \u0915\u093e \u0930\u093e\u0938\u094d\u0924\u093e<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u0915\u0924\u093e\u0930 \u0915\u0940 \u0938\u0939\u093e\u092f\u0924\u093e \u0938\u0947 \u0928\u093f\u0915\u091f\u0924\u092e \u092d\u094b\u091c\u0928 \u0924\u0915 \u092a\u0939\u0941\u0901\u091a\u0947\u0902\u0964 A breadth-first search finds the shortest walk around walls.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/bhash-strictly-increasing\/\">Strictly Increasing \u00b7 \u092c\u0922\u093c\u0924\u093e \u0915\u094d\u0930\u092e<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u092f\u0926\u093f \u0915\u094b\u0908 \u0938\u0902\u0916\u094d\u092f\u093e \u0926\u094b \u092c\u093e\u0930 \u0906\u0924\u0940 \u0939\u0948 \u0924\u094b \u0938\u0916\u094d\u0924\u0940 \u0938\u0947 \u092c\u0922\u093c\u0924\u093e \u0915\u094d\u0930\u092e \u0905\u0938\u0902\u092d\u0935 \u0939\u0948\u0964 Detect duplicates with a presence table.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/bhash-sum-or-product\/\">Sum or Product \u00b7 \u092f\u094b\u0917 \u092f\u093e \u0917\u0941\u0923\u0928\u092b\u0932<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u0924\u0940\u0928 \u0938\u0902\u0916\u094d\u092f\u093e\u0913\u0902 \u0915\u093e \u092f\u094b\u0917 \u0914\u0930 \u0917\u0941\u0923\u0928\u092b\u0932 \u0928\u093f\u0915\u093e\u0932\u0915\u0930 \u092c\u0921\u093c\u093e \u092e\u093e\u0928 \u091a\u0941\u0928\u0947\u0902\u0964 For 3, \u22121 and 4, the sum wins with 6.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/bhash-razorback-ziplines\/\">Razorback Ziplines \u00b7 \u092a\u0947\u0921\u093c\u094b\u0902 \u0915\u0947 \u092c\u0940\u091a \u092e\u093e\u0930\u094d\u0917<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u0939\u0930 \u092a\u0947\u0921\u093c \u0938\u0947 \u0920\u0940\u0915 \u090f\u0915 \u092c\u093e\u0930 \u0917\u0941\u091c\u0930\u0928\u093e \u0939\u0948\u0964 Track the shortest and longest path for each visited subset and last tree.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/bhash-sudoku-checker\/\">Sudoku Checker \u00b7 \u0938\u0941\u0921\u094b\u0915\u0942 \u0915\u0940 \u091c\u093e\u0901\u091a<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u092a\u0902\u0915\u094d\u0924\u093f, \u0938\u094d\u0924\u0902\u092d \u0914\u0930 \u0916\u0902\u0921 \u0915\u0940 \u0924\u094d\u0930\u0941\u091f\u093f\u092f\u093e\u0901 \u0905\u0932\u0917-\u0905\u0932\u0917 \u0917\u093f\u0928\u0947\u0902\u0964 Nine-bit masks show which digits occur in each unit.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/bhash-caesar-salad-cipher\/\">Caesar Salad Cipher \u00b7 \u0905\u0915\u094d\u0937\u0930\u094b\u0902 \u0915\u093e \u092c\u0926\u0932\u093e\u0935<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u0939\u0930 \u0905\u0915\u094d\u0937\u0930 \u0915\u094b SALAD \u0915\u0947 \u0905\u0917\u0932\u0947 \u092e\u093e\u0928 \u0938\u0947 \u0906\u0917\u0947 \u092c\u0922\u093c\u093e\u090f\u0901\u0964 Spaces keep their position and consume no shift.<\/p>\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/bhashitva.org\/index.php\/hindi-weekday-calculator\/\">Hindi Weekday Calculator \u00b7 \u0924\u093f\u0925\u093f \u0938\u0947 \u0935\u093e\u0930 \u0928\u093f\u0915\u093e\u0932\u0947\u0902<\/a><\/h3>\n<p class=\"wp-block-paragraph\">\u0905\u092a\u0928\u0940 \u0924\u093e\u0930\u0940\u0916 \u0938\u0947 \u0938\u092a\u094d\u0924\u093e\u0939 \u0915\u093e \u0926\u093f\u0928 \u091c\u093e\u0928\u0947\u0902\u0964 Enter a date such as 11\/20\/2026 to find its Hindi weekday, \u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u092d\u093e\u0937 \u092e\u0947\u0902 \u0938\u092e\u0938\u094d\u092f\u093e \u0938\u092e\u093e\u0927\u093e\u0928 \u0915\u094d\u092f\u093e \u0926\u0947\u0935\u0928\u093e\u0917\u0930\u0940 \u092e\u0947\u0902 \u0932\u093f\u0916\u0947 \u092a\u094d\u0930\u094b\u0917\u094d\u0930\u093e\u092e \u092d\u0942\u0932\u092d\u0941\u0932\u0948\u092f\u093e \u092e\u0947\u0902 \u0930\u093e\u0938\u094d\u0924\u093e \u0916\u094b\u091c \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u092f\u093e \u0938\u0941\u0921\u094b\u0915\u0942 \u0915\u0940 \u091c\u093e\u0901\u091a \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902? \u0907\u0928 \u0926\u0938 \u0909\u0926\u093e\u0939\u0930\u0923\u094b\u0902 \u092e\u0947\u0902 \u092a\u094d\u0930\u0936\u094d\u0928, \u0938\u092e\u093e\u0927\u093e\u0928 \u0915\u0940 \u0935\u093f\u0927\u093f, \u091a\u0932\u0928\u0947 \u092f\u094b\u0917\u094d\u092f \u092d\u093e\u0937 \u0915\u094b\u0921 \u0914\u0930 \u0905\u092a\u0947\u0915\u094d\u0937\u093f\u0924 \u092a\u0930\u093f\u0923\u093e\u092e \u0938\u093e\u0925 \u0926\u093f\u090f \u0917\u090f<span class=\"more-dots\">&#8230;<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-112","page","type-page","status-publish","hentry","no-post-thumbnail"],"_links":{"self":[{"href":"https:\/\/bhashitva.org\/index.php\/wp-json\/wp\/v2\/pages\/112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bhashitva.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bhashitva.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bhashitva.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bhashitva.org\/index.php\/wp-json\/wp\/v2\/comments?post=112"}],"version-history":[{"count":3,"href":"https:\/\/bhashitva.org\/index.php\/wp-json\/wp\/v2\/pages\/112\/revisions"}],"predecessor-version":[{"id":140,"href":"https:\/\/bhashitva.org\/index.php\/wp-json\/wp\/v2\/pages\/112\/revisions\/140"}],"wp:attachment":[{"href":"https:\/\/bhashitva.org\/index.php\/wp-json\/wp\/v2\/media?parent=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}