[{"data":1,"prerenderedAt":1027},["ShallowReactive",2],{"content-all-\u002Fdata-structure-algorithm\u002Finput-output":3,"related-\u002Fdata-structure-algorithm\u002Finput-output":888,"sidebar-content":1001},[4],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"tags":11,"date":14,"weight":15,"body":16,"_type":882,"_id":883,"_source":884,"_file":885,"_stem":886,"_extension":887},"\u002Fdata-structure-algorithm\u002Finput-output","data-structure-algorithm",false,"","Input and Output","Handling input and output in Python for competitive programming.",[12,13],"python","backend","2026-04-10",1,{"type":17,"children":18,"toc":874},"root",[19,28,34,41,55,150,163,441,447,460,526,532,553,758,808,814,868],{"type":20,"tag":21,"props":22,"children":24},"element","h2",{"id":23},"input-and-output-in-python",[25],{"type":26,"value":27},"text","Input and Output in Python",{"type":20,"tag":29,"props":30,"children":31},"p",{},[32],{"type":26,"value":33},"In competitive programming, handling input and output efficiently is crucial. Python provides built-in functions to read from standard input and write to standard output.",{"type":20,"tag":35,"props":36,"children":38},"h3",{"id":37},"reading-input",[39],{"type":26,"value":40},"Reading Input",{"type":20,"tag":29,"props":42,"children":43},{},[44,46,53],{"type":26,"value":45},"You can read input using the ",{"type":20,"tag":47,"props":48,"children":50},"code",{"className":49},[],[51],{"type":26,"value":52},"input()",{"type":26,"value":54}," function, which reads a line of input as a string. For example:",{"type":20,"tag":56,"props":57,"children":60},"pre",{"className":58,"code":59,"language":12,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","name = input(\"Enter your name: \")\nprint(f\"Hello, {name}!\")\n",[61],{"type":20,"tag":47,"props":62,"children":63},{"__ignoreMap":8},[64,103],{"type":20,"tag":65,"props":66,"children":68},"span",{"class":67,"line":15},"line",[69,75,81,87,92,98],{"type":20,"tag":65,"props":70,"children":72},{"style":71},"--shiki-default:#24292E;--shiki-dark:#E1E4E8",[73],{"type":26,"value":74},"name ",{"type":20,"tag":65,"props":76,"children":78},{"style":77},"--shiki-default:#D73A49;--shiki-dark:#F97583",[79],{"type":26,"value":80},"=",{"type":20,"tag":65,"props":82,"children":84},{"style":83},"--shiki-default:#005CC5;--shiki-dark:#79B8FF",[85],{"type":26,"value":86}," input",{"type":20,"tag":65,"props":88,"children":89},{"style":71},[90],{"type":26,"value":91},"(",{"type":20,"tag":65,"props":93,"children":95},{"style":94},"--shiki-default:#032F62;--shiki-dark:#9ECBFF",[96],{"type":26,"value":97},"\"Enter your name: \"",{"type":20,"tag":65,"props":99,"children":100},{"style":71},[101],{"type":26,"value":102},")\n",{"type":20,"tag":65,"props":104,"children":106},{"class":67,"line":105},2,[107,112,116,121,126,131,136,141,146],{"type":20,"tag":65,"props":108,"children":109},{"style":83},[110],{"type":26,"value":111},"print",{"type":20,"tag":65,"props":113,"children":114},{"style":71},[115],{"type":26,"value":91},{"type":20,"tag":65,"props":117,"children":118},{"style":77},[119],{"type":26,"value":120},"f",{"type":20,"tag":65,"props":122,"children":123},{"style":94},[124],{"type":26,"value":125},"\"Hello, ",{"type":20,"tag":65,"props":127,"children":128},{"style":83},[129],{"type":26,"value":130},"{",{"type":20,"tag":65,"props":132,"children":133},{"style":71},[134],{"type":26,"value":135},"name",{"type":20,"tag":65,"props":137,"children":138},{"style":83},[139],{"type":26,"value":140},"}",{"type":20,"tag":65,"props":142,"children":143},{"style":94},[144],{"type":26,"value":145},"!\"",{"type":20,"tag":65,"props":147,"children":148},{"style":71},[149],{"type":26,"value":102},{"type":20,"tag":29,"props":151,"children":152},{},[153,155,161],{"type":26,"value":154},"For multiple inputs, you can use the ",{"type":20,"tag":47,"props":156,"children":158},{"className":157},[],[159],{"type":26,"value":160},"split()",{"type":26,"value":162}," method to separate the input into parts. For example:",{"type":20,"tag":56,"props":164,"children":166},{"className":58,"code":165,"language":12,"meta":8,"style":8},"# Array of Strings input\ndata = input(\"Enter data separated by space: \").split()\nprint(data) # Output: ['data1', 'data2', 'data3']\n\n# Array of integers input\nnumbers = input(\"Enter numbers separated by space: \").split()\nprint(numbers) # Output: ['1', '2', '3']\nnumbers = [int(num) for num in numbers]  # Convert strings to integers\nprint(numbers) # Output: [1, 2, 3]\n\n# Split with a custom delimiter\ndata = input(\"Enter data separated by comma: \").split(',') # Input: data1,data2,data3\nprint(data) # Output: ['data1', 'data2', 'data3']\n",[167],{"type":20,"tag":47,"props":168,"children":169},{"__ignoreMap":8},[170,179,209,227,237,246,276,294,346,363,371,380,425],{"type":20,"tag":65,"props":171,"children":172},{"class":67,"line":15},[173],{"type":20,"tag":65,"props":174,"children":176},{"style":175},"--shiki-default:#6A737D;--shiki-dark:#6A737D",[177],{"type":26,"value":178},"# Array of Strings input\n",{"type":20,"tag":65,"props":180,"children":181},{"class":67,"line":105},[182,187,191,195,199,204],{"type":20,"tag":65,"props":183,"children":184},{"style":71},[185],{"type":26,"value":186},"data ",{"type":20,"tag":65,"props":188,"children":189},{"style":77},[190],{"type":26,"value":80},{"type":20,"tag":65,"props":192,"children":193},{"style":83},[194],{"type":26,"value":86},{"type":20,"tag":65,"props":196,"children":197},{"style":71},[198],{"type":26,"value":91},{"type":20,"tag":65,"props":200,"children":201},{"style":94},[202],{"type":26,"value":203},"\"Enter data separated by space: \"",{"type":20,"tag":65,"props":205,"children":206},{"style":71},[207],{"type":26,"value":208},").split()\n",{"type":20,"tag":65,"props":210,"children":212},{"class":67,"line":211},3,[213,217,222],{"type":20,"tag":65,"props":214,"children":215},{"style":83},[216],{"type":26,"value":111},{"type":20,"tag":65,"props":218,"children":219},{"style":71},[220],{"type":26,"value":221},"(data) ",{"type":20,"tag":65,"props":223,"children":224},{"style":175},[225],{"type":26,"value":226},"# Output: ['data1', 'data2', 'data3']\n",{"type":20,"tag":65,"props":228,"children":230},{"class":67,"line":229},4,[231],{"type":20,"tag":65,"props":232,"children":234},{"emptyLinePlaceholder":233},true,[235],{"type":26,"value":236},"\n",{"type":20,"tag":65,"props":238,"children":240},{"class":67,"line":239},5,[241],{"type":20,"tag":65,"props":242,"children":243},{"style":175},[244],{"type":26,"value":245},"# Array of integers input\n",{"type":20,"tag":65,"props":247,"children":249},{"class":67,"line":248},6,[250,255,259,263,267,272],{"type":20,"tag":65,"props":251,"children":252},{"style":71},[253],{"type":26,"value":254},"numbers ",{"type":20,"tag":65,"props":256,"children":257},{"style":77},[258],{"type":26,"value":80},{"type":20,"tag":65,"props":260,"children":261},{"style":83},[262],{"type":26,"value":86},{"type":20,"tag":65,"props":264,"children":265},{"style":71},[266],{"type":26,"value":91},{"type":20,"tag":65,"props":268,"children":269},{"style":94},[270],{"type":26,"value":271},"\"Enter numbers separated by space: \"",{"type":20,"tag":65,"props":273,"children":274},{"style":71},[275],{"type":26,"value":208},{"type":20,"tag":65,"props":277,"children":279},{"class":67,"line":278},7,[280,284,289],{"type":20,"tag":65,"props":281,"children":282},{"style":83},[283],{"type":26,"value":111},{"type":20,"tag":65,"props":285,"children":286},{"style":71},[287],{"type":26,"value":288},"(numbers) ",{"type":20,"tag":65,"props":290,"children":291},{"style":175},[292],{"type":26,"value":293},"# Output: ['1', '2', '3']\n",{"type":20,"tag":65,"props":295,"children":297},{"class":67,"line":296},8,[298,302,306,311,316,321,326,331,336,341],{"type":20,"tag":65,"props":299,"children":300},{"style":71},[301],{"type":26,"value":254},{"type":20,"tag":65,"props":303,"children":304},{"style":77},[305],{"type":26,"value":80},{"type":20,"tag":65,"props":307,"children":308},{"style":71},[309],{"type":26,"value":310}," [",{"type":20,"tag":65,"props":312,"children":313},{"style":83},[314],{"type":26,"value":315},"int",{"type":20,"tag":65,"props":317,"children":318},{"style":71},[319],{"type":26,"value":320},"(num) ",{"type":20,"tag":65,"props":322,"children":323},{"style":77},[324],{"type":26,"value":325},"for",{"type":20,"tag":65,"props":327,"children":328},{"style":71},[329],{"type":26,"value":330}," num ",{"type":20,"tag":65,"props":332,"children":333},{"style":77},[334],{"type":26,"value":335},"in",{"type":20,"tag":65,"props":337,"children":338},{"style":71},[339],{"type":26,"value":340}," numbers]  ",{"type":20,"tag":65,"props":342,"children":343},{"style":175},[344],{"type":26,"value":345},"# Convert strings to integers\n",{"type":20,"tag":65,"props":347,"children":349},{"class":67,"line":348},9,[350,354,358],{"type":20,"tag":65,"props":351,"children":352},{"style":83},[353],{"type":26,"value":111},{"type":20,"tag":65,"props":355,"children":356},{"style":71},[357],{"type":26,"value":288},{"type":20,"tag":65,"props":359,"children":360},{"style":175},[361],{"type":26,"value":362},"# Output: [1, 2, 3]\n",{"type":20,"tag":65,"props":364,"children":366},{"class":67,"line":365},10,[367],{"type":20,"tag":65,"props":368,"children":369},{"emptyLinePlaceholder":233},[370],{"type":26,"value":236},{"type":20,"tag":65,"props":372,"children":374},{"class":67,"line":373},11,[375],{"type":20,"tag":65,"props":376,"children":377},{"style":175},[378],{"type":26,"value":379},"# Split with a custom delimiter\n",{"type":20,"tag":65,"props":381,"children":383},{"class":67,"line":382},12,[384,388,392,396,400,405,410,415,420],{"type":20,"tag":65,"props":385,"children":386},{"style":71},[387],{"type":26,"value":186},{"type":20,"tag":65,"props":389,"children":390},{"style":77},[391],{"type":26,"value":80},{"type":20,"tag":65,"props":393,"children":394},{"style":83},[395],{"type":26,"value":86},{"type":20,"tag":65,"props":397,"children":398},{"style":71},[399],{"type":26,"value":91},{"type":20,"tag":65,"props":401,"children":402},{"style":94},[403],{"type":26,"value":404},"\"Enter data separated by comma: \"",{"type":20,"tag":65,"props":406,"children":407},{"style":71},[408],{"type":26,"value":409},").split(",{"type":20,"tag":65,"props":411,"children":412},{"style":94},[413],{"type":26,"value":414},"','",{"type":20,"tag":65,"props":416,"children":417},{"style":71},[418],{"type":26,"value":419},") ",{"type":20,"tag":65,"props":421,"children":422},{"style":175},[423],{"type":26,"value":424},"# Input: data1,data2,data3\n",{"type":20,"tag":65,"props":426,"children":428},{"class":67,"line":427},13,[429,433,437],{"type":20,"tag":65,"props":430,"children":431},{"style":83},[432],{"type":26,"value":111},{"type":20,"tag":65,"props":434,"children":435},{"style":71},[436],{"type":26,"value":221},{"type":20,"tag":65,"props":438,"children":439},{"style":175},[440],{"type":26,"value":226},{"type":20,"tag":35,"props":442,"children":444},{"id":443},"writing-output",[445],{"type":26,"value":446},"Writing Output",{"type":20,"tag":29,"props":448,"children":449},{},[450,452,458],{"type":26,"value":451},"You can write output using the ",{"type":20,"tag":47,"props":453,"children":455},{"className":454},[],[456],{"type":26,"value":457},"print()",{"type":26,"value":459}," function. For example:",{"type":20,"tag":56,"props":461,"children":463},{"className":58,"code":462,"language":12,"meta":8,"style":8},"result = 42\nprint(f\"The result is: {result}\")\n",[464],{"type":20,"tag":47,"props":465,"children":466},{"__ignoreMap":8},[467,484],{"type":20,"tag":65,"props":468,"children":469},{"class":67,"line":15},[470,475,479],{"type":20,"tag":65,"props":471,"children":472},{"style":71},[473],{"type":26,"value":474},"result ",{"type":20,"tag":65,"props":476,"children":477},{"style":77},[478],{"type":26,"value":80},{"type":20,"tag":65,"props":480,"children":481},{"style":83},[482],{"type":26,"value":483}," 42\n",{"type":20,"tag":65,"props":485,"children":486},{"class":67,"line":105},[487,491,495,499,504,508,513,517,522],{"type":20,"tag":65,"props":488,"children":489},{"style":83},[490],{"type":26,"value":111},{"type":20,"tag":65,"props":492,"children":493},{"style":71},[494],{"type":26,"value":91},{"type":20,"tag":65,"props":496,"children":497},{"style":77},[498],{"type":26,"value":120},{"type":20,"tag":65,"props":500,"children":501},{"style":94},[502],{"type":26,"value":503},"\"The result is: ",{"type":20,"tag":65,"props":505,"children":506},{"style":83},[507],{"type":26,"value":130},{"type":20,"tag":65,"props":509,"children":510},{"style":71},[511],{"type":26,"value":512},"result",{"type":20,"tag":65,"props":514,"children":515},{"style":83},[516],{"type":26,"value":140},{"type":20,"tag":65,"props":518,"children":519},{"style":94},[520],{"type":26,"value":521},"\"",{"type":20,"tag":65,"props":523,"children":524},{"style":71},[525],{"type":26,"value":102},{"type":20,"tag":35,"props":527,"children":529},{"id":528},"fast-input-and-output",[530],{"type":26,"value":531},"Fast Input and Output",{"type":20,"tag":29,"props":533,"children":534},{},[535,537,543,545,551],{"type":26,"value":536},"In competitive programming, you may need to handle large inputs and outputs efficiently. You can use ",{"type":20,"tag":47,"props":538,"children":540},{"className":539},[],[541],{"type":26,"value":542},"sys.stdin",{"type":26,"value":544}," and ",{"type":20,"tag":47,"props":546,"children":548},{"className":547},[],[549],{"type":26,"value":550},"sys.stdout",{"type":26,"value":552}," for faster input and output. Here's how:",{"type":20,"tag":56,"props":554,"children":556},{"className":58,"code":555,"language":12,"meta":8,"style":8},"import sys\n# Fast input\ninput = sys.stdin.readline\n# Fast output\nprint = sys.stdout.write\n\n# Example of fast input and output\nn = int(input())\nfor _ in range(n):\n    data = input().strip()\n    print(f\"Processed: {data}\\n\")\n",[557],{"type":20,"tag":47,"props":558,"children":559},{"__ignoreMap":8},[560,573,581,599,607,623,630,638,668,694,715],{"type":20,"tag":65,"props":561,"children":562},{"class":67,"line":15},[563,568],{"type":20,"tag":65,"props":564,"children":565},{"style":77},[566],{"type":26,"value":567},"import",{"type":20,"tag":65,"props":569,"children":570},{"style":71},[571],{"type":26,"value":572}," sys\n",{"type":20,"tag":65,"props":574,"children":575},{"class":67,"line":105},[576],{"type":20,"tag":65,"props":577,"children":578},{"style":175},[579],{"type":26,"value":580},"# Fast input\n",{"type":20,"tag":65,"props":582,"children":583},{"class":67,"line":211},[584,589,594],{"type":20,"tag":65,"props":585,"children":586},{"style":83},[587],{"type":26,"value":588},"input",{"type":20,"tag":65,"props":590,"children":591},{"style":77},[592],{"type":26,"value":593}," =",{"type":20,"tag":65,"props":595,"children":596},{"style":71},[597],{"type":26,"value":598}," sys.stdin.readline\n",{"type":20,"tag":65,"props":600,"children":601},{"class":67,"line":229},[602],{"type":20,"tag":65,"props":603,"children":604},{"style":175},[605],{"type":26,"value":606},"# Fast output\n",{"type":20,"tag":65,"props":608,"children":609},{"class":67,"line":239},[610,614,618],{"type":20,"tag":65,"props":611,"children":612},{"style":83},[613],{"type":26,"value":111},{"type":20,"tag":65,"props":615,"children":616},{"style":77},[617],{"type":26,"value":593},{"type":20,"tag":65,"props":619,"children":620},{"style":71},[621],{"type":26,"value":622}," sys.stdout.write\n",{"type":20,"tag":65,"props":624,"children":625},{"class":67,"line":248},[626],{"type":20,"tag":65,"props":627,"children":628},{"emptyLinePlaceholder":233},[629],{"type":26,"value":236},{"type":20,"tag":65,"props":631,"children":632},{"class":67,"line":278},[633],{"type":20,"tag":65,"props":634,"children":635},{"style":175},[636],{"type":26,"value":637},"# Example of fast input and output\n",{"type":20,"tag":65,"props":639,"children":640},{"class":67,"line":296},[641,646,650,655,659,663],{"type":20,"tag":65,"props":642,"children":643},{"style":71},[644],{"type":26,"value":645},"n ",{"type":20,"tag":65,"props":647,"children":648},{"style":77},[649],{"type":26,"value":80},{"type":20,"tag":65,"props":651,"children":652},{"style":83},[653],{"type":26,"value":654}," int",{"type":20,"tag":65,"props":656,"children":657},{"style":71},[658],{"type":26,"value":91},{"type":20,"tag":65,"props":660,"children":661},{"style":83},[662],{"type":26,"value":588},{"type":20,"tag":65,"props":664,"children":665},{"style":71},[666],{"type":26,"value":667},"())\n",{"type":20,"tag":65,"props":669,"children":670},{"class":67,"line":348},[671,675,680,684,689],{"type":20,"tag":65,"props":672,"children":673},{"style":77},[674],{"type":26,"value":325},{"type":20,"tag":65,"props":676,"children":677},{"style":71},[678],{"type":26,"value":679}," _ ",{"type":20,"tag":65,"props":681,"children":682},{"style":77},[683],{"type":26,"value":335},{"type":20,"tag":65,"props":685,"children":686},{"style":83},[687],{"type":26,"value":688}," range",{"type":20,"tag":65,"props":690,"children":691},{"style":71},[692],{"type":26,"value":693},"(n):\n",{"type":20,"tag":65,"props":695,"children":696},{"class":67,"line":365},[697,702,706,710],{"type":20,"tag":65,"props":698,"children":699},{"style":71},[700],{"type":26,"value":701},"    data ",{"type":20,"tag":65,"props":703,"children":704},{"style":77},[705],{"type":26,"value":80},{"type":20,"tag":65,"props":707,"children":708},{"style":83},[709],{"type":26,"value":86},{"type":20,"tag":65,"props":711,"children":712},{"style":71},[713],{"type":26,"value":714},"().strip()\n",{"type":20,"tag":65,"props":716,"children":717},{"class":67,"line":373},[718,723,727,731,736,740,745,750,754],{"type":20,"tag":65,"props":719,"children":720},{"style":83},[721],{"type":26,"value":722},"    print",{"type":20,"tag":65,"props":724,"children":725},{"style":71},[726],{"type":26,"value":91},{"type":20,"tag":65,"props":728,"children":729},{"style":77},[730],{"type":26,"value":120},{"type":20,"tag":65,"props":732,"children":733},{"style":94},[734],{"type":26,"value":735},"\"Processed: ",{"type":20,"tag":65,"props":737,"children":738},{"style":83},[739],{"type":26,"value":130},{"type":20,"tag":65,"props":741,"children":742},{"style":71},[743],{"type":26,"value":744},"data",{"type":20,"tag":65,"props":746,"children":747},{"style":83},[748],{"type":26,"value":749},"}\\n",{"type":20,"tag":65,"props":751,"children":752},{"style":94},[753],{"type":26,"value":521},{"type":20,"tag":65,"props":755,"children":756},{"style":71},[757],{"type":26,"value":102},{"type":20,"tag":29,"props":759,"children":760},{},[761,763,769,771,776,778,784,786,791,793,799,801,806],{"type":26,"value":762},"Using ",{"type":20,"tag":47,"props":764,"children":766},{"className":765},[],[767],{"type":26,"value":768},"sys.stdin.readline",{"type":26,"value":770}," is faster than ",{"type":20,"tag":47,"props":772,"children":774},{"className":773},[],[775],{"type":26,"value":52},{"type":26,"value":777},", and using ",{"type":20,"tag":47,"props":779,"children":781},{"className":780},[],[782],{"type":26,"value":783},"sys.stdout.write",{"type":26,"value":785}," can be more efficient than ",{"type":20,"tag":47,"props":787,"children":789},{"className":788},[],[790],{"type":26,"value":457},{"type":26,"value":792}," for large outputs. Remember to include a newline character (",{"type":20,"tag":47,"props":794,"children":796},{"className":795},[],[797],{"type":26,"value":798},"\\n",{"type":26,"value":800},") when using ",{"type":20,"tag":47,"props":802,"children":804},{"className":803},[],[805],{"type":26,"value":783},{"type":26,"value":807}," to ensure proper formatting.",{"type":20,"tag":35,"props":809,"children":811},{"id":810},"summary",[812],{"type":26,"value":813},"Summary",{"type":20,"tag":815,"props":816,"children":817},"ul",{},[818,838,850],{"type":20,"tag":819,"props":820,"children":821},"li",{},[822,824,829,831,836],{"type":26,"value":823},"Use ",{"type":20,"tag":47,"props":825,"children":827},{"className":826},[],[828],{"type":26,"value":52},{"type":26,"value":830}," for simple input and ",{"type":20,"tag":47,"props":832,"children":834},{"className":833},[],[835],{"type":26,"value":457},{"type":26,"value":837}," for simple output.",{"type":20,"tag":819,"props":839,"children":840},{},[841,843,848],{"type":26,"value":842},"For multiple inputs, use ",{"type":20,"tag":47,"props":844,"children":846},{"className":845},[],[847],{"type":26,"value":160},{"type":26,"value":849}," to separate them and convert to the desired type.",{"type":20,"tag":819,"props":851,"children":852},{},[853,855,860,861,866],{"type":26,"value":854},"For large inputs and outputs, consider using ",{"type":20,"tag":47,"props":856,"children":858},{"className":857},[],[859],{"type":26,"value":768},{"type":26,"value":544},{"type":20,"tag":47,"props":862,"children":864},{"className":863},[],[865],{"type":26,"value":783},{"type":26,"value":867}," for better performance.",{"type":20,"tag":869,"props":870,"children":871},"style",{},[872],{"type":26,"value":873},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":8,"searchDepth":211,"depth":211,"links":875},[876],{"id":23,"depth":105,"text":27,"children":877},[878,879,880,881],{"id":37,"depth":211,"text":40},{"id":443,"depth":211,"text":446},{"id":528,"depth":211,"text":531},{"id":810,"depth":211,"text":813},"markdown","content:data-structure-algorithm:input-output.md","content","data-structure-algorithm\u002Finput-output.md","data-structure-algorithm\u002Finput-output","md",[889,896,901,906,915,920,925,930,934,943,949,954,959,964,969,974,982,988,995],{"_path":890,"title":891,"description":892,"tags":893,"date":895},"\u002Fdata-structure-algorithm\u002Farray-manipulation\u002Ffor-looping","For Looping in Python","Using for loops to manipulate arrays in Python.",[12,13,894],"arrays","2026-03-18",{"_path":897,"title":898,"description":899,"tags":900,"date":895},"\u002Fdata-structure-algorithm\u002Farray-manipulation\u002Fwhile-looping","While Looping in Python","Using while loops to manipulate arrays in Python.",[12,13,894],{"_path":902,"title":903,"description":904,"tags":905,"date":14},"\u002Fdata-structure-algorithm\u002Fassignments","Assignments","Assignments in Python for competitive programming.",[12,13],{"_path":907,"title":908,"description":909,"tags":910,"date":914},"\u002Fdata-structure-algorithm\u002Fbuzzword","Buzzword List DSA","Common terms and concepts in data structures and algorithms.",[911,912,913],"dsa","algorithms","data-structures","2026-04-03",{"_path":916,"title":917,"description":918,"tags":919,"date":14},"\u002Fdata-structure-algorithm\u002Fdata-type","Data Types","Data types in Python for competitive programming.",[12,13],{"_path":921,"title":922,"description":923,"tags":924,"date":14},"\u002Fdata-structure-algorithm\u002Fhash-map","Hash Map","Hash map implementation in Python for competitive programming.",[12,13],{"_path":926,"title":927,"description":928,"tags":929,"date":895},"\u002Fdata-structure-algorithm\u002Fmath-library\u002Fsum","Sum Elements","Using for loops to sum elements in Python.",[12,13,894],{"_path":931,"title":813,"description":932,"tags":933,"date":895},"\u002Fdata-structure-algorithm\u002Fmath-library\u002Fsummary","Summary of the math library in Python.",[12,13,894],{"_path":935,"title":936,"description":937,"tags":938,"date":942},"\u002Fdocker\u002Fcheat-sheets","Docker Cheat Sheets","Cheat sheets for frequently used Docker commands and concepts",[939,940,941],"docker","devops","infrastructure","2026-05-01",{"_path":944,"title":945,"description":946,"tags":947,"date":948},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-container","Docker Container","Introduction to Docker containers and their usage",[939,940,941],"2026-03-12",{"_path":950,"title":951,"description":952,"tags":953,"date":948},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-execution","Docker Execution","Introduction to Docker execution and their usage",[939,940,941],{"_path":955,"title":956,"description":957,"tags":958,"date":948},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-image","Docker Image","Introduction to Docker images and their usage",[939,940,941],{"_path":960,"title":961,"description":962,"tags":963,"date":948},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-logging","Docker Logging","Introduction to Docker logging and their usage",[939,940,941],{"_path":965,"title":966,"description":967,"tags":968,"date":948},"\u002Fdocker\u002Fdocker-prerequisites\u002Fdocker-installation","Docker Installation","Introduction to Docker installation and their usage",[939,940,941],{"_path":970,"title":971,"description":972,"tags":973,"date":948},"\u002Fdocker\u002Fresources","Docker Resources","Collection of Docker resources for learning and reference",[939,940,941],{"_path":975,"title":976,"description":977,"tags":978,"date":948},"\u002Fjavascript\u002Fpromises","Promise Patterns","Common JavaScript promise patterns and async\u002Fawait usage",[979,980,981],"javascript","frontend","async",{"_path":983,"title":984,"description":985,"tags":986,"date":895},"\u002Fphp\u002Farrays","PHP Array Functions","Essential PHP array functions and patterns",[987,13,894],"php",{"_path":989,"title":990,"description":991,"tags":992,"date":994},"\u002Fphp\u002Fpatterns\u002Fsingleton","Singleton Pattern","Implementing the singleton pattern in PHP",[987,993,13],"patterns","2026-03-13",{"_path":996,"title":997,"description":998,"tags":999,"date":1000},"\u002Fphp\u002Freferences","PHP References (&)","Useful PHP reference snippets and patterns",[987,13],"2026-03-19",[1002,1003,1004,1005,1006,1007,1008,1009,1011,1012,1014,1015,1017,1019,1021,1022,1023,1024,1025,1026],{"_path":890,"title":891,"weight":365},{"_path":897,"title":898,"weight":365},{"_path":902,"title":903,"weight":211},{"_path":907,"title":908,"weight":15},{"_path":916,"title":917,"weight":105},{"_path":921,"title":922,"weight":365},{"_path":5,"title":9,"weight":15},{"_path":926,"title":927,"weight":1010},20,{"_path":931,"title":813,"weight":365},{"_path":935,"title":936,"weight":1013},100,{"_path":944,"title":945,"weight":1010},{"_path":950,"title":951,"weight":1016},22,{"_path":955,"title":956,"weight":1018},21,{"_path":960,"title":961,"weight":1020},23,{"_path":965,"title":966,"weight":365},{"_path":970,"title":971,"weight":15},{"_path":975,"title":976},{"_path":983,"title":984,"weight":15},{"_path":989,"title":990},{"_path":996,"title":997,"weight":105},1777825383670]