1<!DOCTYPE html> 2<html lang="en"> 3 <head> 4 <title>C/C++ Algorithms â C and C++ Examples | CodeUtility</title> 5 <meta charset="UTF-8"> 6 <meta name="description" content="Searching, sorting, recursion, and bit manipulation with runnable implementations."> 7 <meta name="keywords" content=""> 8 <meta name="author" content="Hien Tran"> 9 <meta name="robots" content="index, follow" /> 10 <meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" /> 11 <meta name="bingbot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" /> 12 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 13 <meta name='impact-site-verification' value='5199b633-1f18-410e-9140-564a4b837408'> 14 <meta name='admaven-placement' content=BqjaHpdw4> 15 <meta name="ezoic-site-verification" content="V8o81EN0MirO36GaaU1HlxeWEf7N4h" /> 16 <meta name="google-adsense-account" content="ca-pub-9949151625051976"> 17 <link rel="canonical" href="https://cpp.codeutility.io/examples/algorithms/" /> 18 <link rel="alternate" hreflang="en" href="https://cpp.codeutility.io/examples/algorithms/" /> 19 <link rel="alternate" hreflang="de" href="https://cpp.codeutility.io/de/examples/algorithms/" /> 20 <link rel="alternate" hreflang="fr" href="https://cpp.codeutility.io/fr/examples/algorithms/" /> 21 <link rel="alternate" hreflang="ja" href="https://cpp.codeutility.io/ja/examples/algorithms/" /> 22 <link rel="alternate" hreflang="ko" href="https://cpp.codeutility.io/ko/examples/algorithms/" /> 23 <link rel="alternate" hreflang="it" href="https://cpp.codeutility.io/it/examples/algorithms/" /> 24 <link rel="alternate" hreflang="es" href="https://cpp.codeutility.io/es/examples/algorithms/" /> 25 <link rel="alternate" hreflang="vi" href="https://cpp.codeutility.io/vi/examples/algorithms/" /> 26 <link rel="alternate" hreflang="th" href="https://cpp.codeutility.io/th/examples/algorithms/" /> 27 <link rel="alternate" hreflang="pt" href="https://cpp.codeutility.io/pt/examples/algorithms/" /> 28 <link rel="alternate" hreflang="ru" href="https://cpp.codeutility.io/ru/examples/algorithms/" /> 29 <link rel="alternate" hreflang="hi" href="https://cpp.codeutility.io/hi/examples/algorithms/" /> 30<link rel="alternate" hreflang="x-default" href="https://cpp.codeutility.io/examples/algorithms/" /> 31 32 <link rel="preload" href="https://assets.codeutility.io/assets/ef286a780bddb8597b16.woff2" as="font" type="font/woff2" crossorigin="anonymous"> 33 <link rel="preload" href="https://assets.codeutility.io/assets/49fef0a4523623da84ca.woff" as="font" type="font/woff" crossorigin="anonymous"> 34 <link rel="preload" href="https://assets.codeutility.io/assets/page.8504da59c49775715c6d.js" as="script"> 35 <meta property="og:site_name" content="CodeUtility"> 36 <meta property="og:title" content="C/C++ Algorithms â C and C++ Examples | CodeUtility"> 37 <meta property="og:description" content="Searching, sorting, recursion, and bit manipulation with runnable implementations."> 38 <meta property="og:url" content="https://cpp.codeutility.io/examples/algorithms/"> 39 <meta name="twitter:url" content="https://cpp.codeutility.io/examples/algorithms/"> 40 <meta property="og:image" content="https://thumbnail.codeutility.io/thumbnail.png"> 41 <meta name="twitter:image" content="https://thumbnail.codeutility.io/thumbnail.png"> 42 43 <!-- Twitter Meta Tags --> 44 <meta name="twitter:title" content="C/C++ Algorithms â C and C++ Examples | CodeUtility"> 45 <meta name="twitter:description" content="Searching, sorting, recursion, and bit manipulation with runnable implementations."> 46 <meta name="twitter:card" content="summary_large_image"> 47 48 <link rel="icon" type="image/png" href="https://thumbnail.codeutility.io/favicon-96x96.png" sizes="96x96" /> 49 <link rel="icon" type="image/svg+xml" href="https://thumbnail.codeutility.io/favicon.svg" /> 50 <link rel="shortcut icon" href="https://thumbnail.codeutility.io/favicon.ico" /> 51 <link rel="apple-touch-icon" sizes="180x180" href="https://thumbnail.codeutility.io/apple-touch-icon.png" /> 52 53
53<script type="application/ld+json"> 54 {"@context":"https://schema.org","@type":"CollectionPage","name":"C/C++ Algorithms","description":"Searching, sorting, recursion, and bit manipulation with runnable implementations.","url":"https://cpp.codeutility.io/examples/algorithms/","inLanguage":"en","mainEntityOfPage":{"@type":"WebPage","@id":"https://cpp.codeutility.io/examples/algorithms/"},"isPartOf":{"@type":"WebSite","name":"CodeUtility C/C++","url":"https://cpp.codeutility.io"},"about":[{"@type":"ComputerLanguage","name":"C"},{"@type":"ComputerLanguage","name":"C++"}],"publisher":{"@type":"Organization","name":"CodeUtility"}} 55 </script>
55 56 <!-- JSON-LD Schema --> 57 <meta name="csrf-param" content="authenticity_token" /> 58<meta name="csrf-token" content="cvedzkuqFQ9Z1yVYGzNyynXspSQRObjjo7YhpcFUnylwcahmgiQhM-RWGAukGBRVaMIniEO9giOdlJgaXINPmA" /> 59 60 <style> 61 h1 { 62 font-size: 39px; 63 line-height: 40px; 64 font-weight: bold; 65 text-rendering: optimizeLegibility; 66 font-family: "Proxima Nova Soft", sans-serif; 67 } 68 </style> 69 <link rel="stylesheet" href="https://assets.codeutility.io/assets/application.ed49b6f96d12a5f303a5.css" media="all" data-turbo-track="reload" /> 70 <link rel="stylesheet" href="https://assets.codeutility.io/assets/page.4b3271cd423149c4bea7.css" data-turbo-track="reload" /> 71 <style> 72 .python-content { 73 --pc-surface: #fff; 74 --pc-surface-2: #f6f8fa; 75 --pc-surface-3: #eef2f6; 76 --pc-border: #d8dee4; 77 --pc-text: #1f2328; 78 --pc-muted: #59636e; 79 --pc-code: #f6f8fa; 80 --pc-scrollbar-track: #eef2f6; 81 --pc-scrollbar-thumb: #aab4bf; 82 --pc-scrollbar-thumb-hover: #7d8996; 83 --pc-breadcrumb-current: #0b63ce; 84 --pc-breadcrumb-current-bg: rgba(13,110,253,.09); 85 --pc-breadcrumb-current-border: rgba(13,110,253,.24); 86 --pc-shadow: 0 10px 30px rgba(31,35,40,.08); 87 width: min(1180px, calc(100% - 40px)); 88 margin-inline: auto; 89 color: var(--pc-text); 90 font-family: inherit; 91 } 92 body.theme-dark .python-content { 93 --pc-surface: #212529; 94 --pc-surface-2: #1e1e1e; 95 --pc-surface-3: #2a2a2a; 96 --pc-border: #444; 97 --pc-text: #efefef; 98 --pc-muted: #babbbc; 99 --pc-code: #1e1e1e; 100 --pc-scrollbar-track: #24272b; 101 --pc-scrollbar-thumb: #555d66; 102 --pc-scrollbar-thumb-hover: #747e89; 103 --pc-breadcrumb-current: #79b8ff; 104 --pc-breadcrumb-current-bg: rgba(88,166,255,.13); 105 --pc-breadcrumb-current-border: rgba(88,166,255,.3); 106 --pc-shadow: 0 .5rem 1rem rgba(0,0,0,.5); 107 } 108 .python-content h1,.python-content h2,.python-content h3 { 109 color: var(--pc-text); 110 font-family:'Proxima Nova Soft','Nunito','Segoe UI','Helvetica Neue',sans-serif; 111 font-weight:bold; 112 letter-spacing:normal; 113 } 114 .python-content h1 { font-size:39px; line-height:40px; text-rendering:optimizelegibility; } 115 .python-content h2 { font-size:2rem; line-height:1.2; } 116 .python-content h3 { font-size:1.5rem; line-height:1.25; } 117 .python-content p { line-height:1.5; } 118 .python-content .lead { font-family:"Proxima Nova Soft Light",'Segoe UI','Helvetica Neue',sans-serif; font-size:1.25rem; line-height:1.5; } 119 .python-content .btn { font-family:'Proxima Nova Soft','Nunito','Segoe UI','Helvetica Neue',sans-serif!important; } 120 .python-content-muted { color: var(--pc-muted)!important; } 121 .pc-breadcrumb { display:flex; flex-wrap:wrap; gap:0; align-items:center; margin:0 0 1.5rem; padding:.55rem .65rem; list-style:none; font-size:.9rem; background:var(--pc-surface); border:1px solid var(--pc-border); border-radius:10px; } 122 .pc-breadcrumb li { display:flex; min-width:0; align-items:center; color:var(--pc-muted); line-height:1.35; } 123 .pc-breadcrumb li:not(:last-child)::after { margin:0 .35rem; content:"âº"; color:var(--pc-muted); font-size:1.25rem; font-weight:400; line-height:1; opacity:.55; } 124 .pc-breadcrumb a { display:inline-flex; min-height:32px; align-items:center; padding:.3rem .5rem; color:var(--pc-muted); font-weight:600; border-radius:6px; text-decoration:none; transition:color .15s ease,background-color .15s ease; } 125 .pc-breadcrumb a:hover,.pc-breadcrumb a:focus-visible { color:var(--pc-text); background:var(--pc-surface-3); outline:none; } 126 .pc-breadcrumb li[aria-current="page"] { max-width:100%; padding:.35rem .65rem; color:var(--pc-breadcrumb-current); font-weight:700; overflow-wrap:anywhere; background:var(--pc-breadcrumb-current-bg); border:1px solid var(--pc-breadcrumb-current-border); border-radius:7px; } 127 .pc-hero { position:relative; overflow:hidden; padding:clamp(1.5rem,3vw,2.25rem); background:linear-gradient(135deg,var(--pc-surface),var(--pc-surface-2)); border:1px solid var(--pc-border); border-radius:8px; } 128 .pc-hero::after { position:absolute; top:-90px; right:-70px; width:260px; height:260px; content:""; background:radial-gradient(circle,rgba(13,110,253,.22),transparent 68%); pointer-events:none; } 129 .pc-eyebrow { display:inline-flex; align-items:center; gap:.5rem; margin-bottom:1rem; padding:.38rem .7rem; color:#58a6ff; font-family:'Proxima Nova Soft','Nunito','Segoe UI','Helvetica Neue',sans-serif; font-size:.85rem; font-weight:bold; letter-spacing:.04em; text-transform:uppercase; background:rgba(13,110,253,.12); border:1px solid rgba(13,110,253,.25); border-radius:8px; } 130 .pc-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:2rem; align-items:start; margin-top:2rem; } 131 .pc-section { margin-bottom:2rem; padding:clamp(1.25rem,3vw,2rem); background:var(--pc-surface); border:1px solid var(--pc-border); border-radius:8px; } 132 .pc-section-heading { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; justify-content:space-between; margin-bottom:1.25rem; } 133 .pc-section-heading h2 { margin:0; } 134 .pc-sidebar { position:sticky; top:24px; } 135 .pc-sidebar-card { margin-bottom:1rem; padding:1.25rem; background:var(--pc-surface); border:1px solid var(--pc-border); border-radius:8px; } 136 .pc-sidebar-card h2 { margin-bottom:1rem; font-size:1rem; letter-spacing:0; } 137 .pc-sidebar-card a:not(.btn) { display:block; padding:.38rem 0; color:var(--pc-muted); text-decoration:none; } 138 .pc-sidebar-card a:not(.btn):hover { color:var(--bs-primary); } 139 .python-code-panel { overflow:hidden; background:var(--pc-code); border:1px solid var(--pc-border); border-radius:12px; } 140 .python-code-panel-label { display:flex; gap:7px; align-items:center; min-height:42px; padding:0 15px; color:var(--pc-muted); font:600 .78rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; background:var(--pc-surface-3); border-bottom:1px solid var(--pc-border); } 141 .python-code-dot { width:10px; height:10px; border-radius:50%; } 142 .python-code-dot.red{background:#ff5f57}.python-code-dot.yellow{background:#febc2e}.python-code-dot.green{margin-right:5px;background:#28c840} 143 .python-code-panel pre,.python-output-panel { margin:0; overflow:auto; font: .9rem/1.7 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; tab-size:4; } 144 .python-code-panel pre,.python-output-panel { scrollbar-width:thin; scrollbar-color:var(--pc-scrollbar-thumb) var(--pc-scrollbar-track); } 145 .python-code-panel pre::-webkit-scrollbar,.python-output-panel::-webkit-scrollbar { width:7px; height:7px; } 146 .python-code-panel pre::-webkit-scrollbar-track,.python-output-panel::-webkit-scrollbar-track, 147 .python-code-panel pre::-webkit-scrollbar-corner,.python-output-panel::-webkit-scrollbar-corner { background:var(--pc-scrollbar-track); } 148 .python-code-panel pre::-webkit-scrollbar-thumb,.python-output-panel::-webkit-scrollbar-thumb { background:var(--pc-scrollbar-thumb); border:1px solid var(--pc-scrollbar-track); border-radius:999px; background-clip:padding-box; } 149 .python-code-panel pre::-webkit-scrollbar-thumb:hover,.python-output-panel::-webkit-scrollbar-thumb:hover { background:var(--pc-scrollbar-thumb-hover); } 150 .python-code-panel code.hljs { display:block; min-width:max-content; padding:1.4rem 1.5rem; background:var(--pc-code)!important; } 151 .python-output-panel { padding:1.25rem 1.4rem; color:var(--pc-text); background:var(--pc-surface-2); border:1px solid var(--pc-border); border-left:4px solid #2ea043; border-radius:10px; } 152 .pc-guide h3{margin-top:1.6rem}.pc-guide li{margin-bottom:.55rem;line-height:1.5}.pc-note{margin-top:1.25rem;padding:1rem 1.1rem;background:rgba(13,110,253,.1);border-left:4px solid var(--bs-primary);border-radius:6px}.pc-example-note h3{margin:0 0 .65rem;font-size:1.2rem}.pc-example-values{display:flex;flex-wrap:wrap;gap:.5rem;margin:.85rem 0}.pc-example-values code{padding:.35rem .65rem;color:var(--pc-text);font-size:.92rem;font-weight:700;background:var(--pc-surface);border:1px solid var(--pc-border);border-radius:999px} 153 .av-complexity{padding:.3rem .6rem;color:var(--pc-muted);font:600 .78rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--pc-surface-2);border:1px solid var(--pc-border);border-radius:999px} 154 .algorithm-visualizer{overflow:hidden;background:var(--pc-surface-2);border:1px solid var(--pc-border);border-radius:12px} 155 .av-stage{display:flex;min-height:205px;align-items:flex-end;padding:1.5rem 1.25rem 1rem;background:linear-gradient(180deg,var(--pc-surface),var(--pc-surface-2))} 156 .av-array{display:flex;width:100%;gap:clamp(.35rem,1.5vw,.8rem);align-items:flex-end;justify-content:center} 157 .av-item{position:relative;display:flex;width:min(68px,11vw);height:var(--av-height);min-height:48px;align-items:flex-start;justify-content:center;padding-top:.55rem;color:var(--pc-text);font:bold 1rem/1 'Proxima Nova Soft',sans-serif;background:#6c757d;border:2px solid transparent;border-radius:8px 8px 4px 4px;box-shadow:inset 0 -8px 18px rgba(0,0,0,.13);transition:height .28s ease,opacity .2s,transform .2s,background .2s,border-color .2s} 158 .av-index{position:absolute;bottom:-1.35rem;color:var(--pc-muted);font:normal .7rem/1 ui-monospace,SFMono-Regular,Menlo,monospace} 159 .av-item.is-active{background:#f0ad4e;border-color:#ffd57a;transform:translateY(-5px)} 160 .av-item.is-pivot{background:#0d6efd;border-color:#77aaff} 161 .av-item.is-sorted,.av-item.is-found{color:#fff;background:#198754;border-color:#57c18a} 162 .av-item.is-checked,.av-item.is-outside{opacity:.3} 163 .av-graph{position:relative;width:min(100%,560px);height:175px;margin:auto}.av-graph svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.av-graph line{stroke:var(--pc-border);stroke-width:2.5}.av-node{position:absolute;display:grid;width:44px;height:44px;place-items:center;color:var(--pc-text);font:bold 1rem/1 'Proxima Nova Soft',sans-serif;background:var(--pc-surface);border:3px solid #6c757d;border-radius:50%;box-shadow:var(--pc-shadow);transform:translate(-50%,-50%);transition:.2s}.av-node.is-active{color:#1f2328;background:#f0ad4e;border-color:#ffd57a;transform:translate(-50%,-50%) scale(1.14)}.av-node.is-sorted{color:#fff;background:#198754;border-color:#57c18a} 164 .av-footer{padding:1rem 1.15rem 1.15rem;background:var(--pc-surface)} 165 .av-status{min-height:1.5rem;margin-bottom:.8rem;font-weight:bold} 166 .av-progress{height:4px;margin-bottom:1rem;overflow:hidden;background:var(--pc-border);border-radius:999px}
166.av-progress span{display:block;width:0;height:100%;background:var(--bs-primary);transition:width .2s} 167 .av-controls{display:flex;flex-wrap:wrap;gap:.55rem} 168 .python-content .python-content-card { color:var(--pc-text)!important; background:var(--pc-surface)!important; border:1px solid var(--pc-border)!important; border-radius:8px; box-shadow:none; transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease; } 169 .python-content .python-content-card:hover { border-color:#388bfd!important; box-shadow:var(--pc-shadow); transform:translateY(-2px); } 170 .python-content .python-content-card .card-title a { color:var(--pc-text); } 171 .python-content .python-content-card:hover .card-title a { color:#388bfd; } 172 .python-card-link { color:#388bfd; } 173 .python-content-card:hover .python-card-link { text-decoration:underline!important; text-underline-offset:3px; } 174 .pc-related { padding-top:2.25rem; border-top:1px solid var(--pc-border); } 175 .pc-related .python-content-card .btn { border:0; padding:0; font-weight:700; } 176 @media(max-width:991.98px){.pc-layout{grid-template-columns:1fr}.pc-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.pc-sidebar-card{margin:0}} 177 @media(max-width:575.98px){.python-content{width:min(100% - 24px,1180px)}.python-content h1{font-size:32px;line-height:34px}.python-content h2{font-size:1.65rem}.pc-breadcrumb{padding:.4rem;font-size:.82rem}.pc-breadcrumb li:not(:last-child)::after{margin:0 .2rem}.pc-breadcrumb a{min-height:29px;padding:.25rem .35rem}.pc-breadcrumb li[aria-current="page"]{padding:.3rem .5rem}.pc-sidebar{grid-template-columns:1fr}.pc-section{padding:1rem}.pc-section-heading .d-flex{width:100%}.pc-section-heading .btn{flex:1}.python-copy-code{display:none}} 178</style> 179 180<style> 181 .c-family-content .pc-hero::after{background:radial-gradient(circle,rgba(89,120,200,.28),transparent 68%)} 182 .c-family-content .pc-eyebrow{color:#6594ff;background:rgba(81,112,190,.13);border-color:rgba(81,112,190,.32)} 183 .c-family-language-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem} 184 .c-family-code-card{min-width:0;overflow:hidden;background:var(--pc-surface-2);border:1px solid var(--pc-border);border-radius:12px} 185 .c-family-code-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.8rem 1rem;background:var(--pc-surface-3);border-bottom:1px solid var(--pc-border)} 186 .c-family-language{display:inline-flex;align-items:center;gap:.5rem;font-weight:bold}.c-family-language::before{width:.62rem;height:.62rem;content:"";background:#6594ff;border-radius:50%}.c-family-language.cpp::before{background:#9b6cff} 187 .c-family-code-card .python-code-panel{border:0;border-radius:0}.c-family-code-card .python-output-panel{margin:.8rem;border-radius:8px} 188 .c-family-output-label{display:block;padding:.7rem 1rem 0;color:var(--pc-muted);font-size:.78rem;font-weight:bold;text-transform:uppercase;letter-spacing:.04em} 189 .c-family-compare{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.c-family-compare>div{padding:1rem;background:var(--pc-surface-2);border:1px solid var(--pc-border);border-radius:8px} 190 @media(max-width:900px){.c-family-language-grid,.c-family-compare{grid-template-columns:1fr}} 191</style> 192 193
193<script src="https://assets.codeutility.io/assets/bootstrap_components.4dc946b2d1b39b8834fb.js" defer="defer"></script>
193 194
194<script src="https://assets.codeutility.io/assets/page.8504da59c49775715c6d.js" data-turbo-track="reload" defer="defer"></script>
194 195 196
196<script src="https://assets.codeutility.io/assets/highlightjs.ade4090f9e7d88a1eea9.js" defer="defer"></script>
196 197 198
198<script src="https://assets.codeutility.io/assets/js_cookie.c80b5e52dc39295aed72.js" defer="defer"></script>
198 199
199<script src="https://assets.codeutility.io/assets/fontawesome.b3c06035c98bdf9c8c33.js" defer="defer"></script>
199 200
200<script src="https://assets.codeutility.io/assets/toastr.4153168a29b53270de13.js" defer="defer"></script>
200 201
201<script src="https://assets.codeutility.io/assets/bootbox.3ead2fda2b7521cf7144.js" defer="defer"></script>
201 202 203 <!-- Global site tag (gtag.js) - Google Analytics -->
vendor: 70 bytes, lines 203-204
203 204 <script async src="https://www.googletagmanager.com/gtag/js?id=
204G-V8GSZV99WQ
vendor: 18 bytes, lines 204-205
204"></script> 205
205<script> 206
vendor: 157 bytes, lines 206-209
206window.dataLayer = window.dataLayer || []; 207 function gtag(){dataLayer.push(arguments);} 208 gtag('js', new Date()); 209 gtag('config', '
209G-V8GSZV99WQ
vendor: 10 bytes, lines 209-210
209'); 210
210</script>
210 211
211<script src="https://cmp.gatekeeperconsent.com/min.js" data-cfasync="false"></script>
211 212
212<script src="https://the.gatekeeperconsent.com/cmp.min.js" data-cfasync="false"></script>
212 213
213<script async src="//www.ezojs.com/ezoic/sa.min.js"></script>
213 214
214<script> 215 window.ezstandalone = window.ezstandalone || {}; 216 ezstandalone.cmd = ezstandalone.cmd || []; 217 </script>
217 218
218<script> 219 window.I18nJS = {"page":{"blog":{"comments":{"be_first":"Be the first to share your thoughts!","comment_now":"Comment Now","sign_in":"Sign In","to_add_comment":"to add your comment.","join_discussion":"Join the discussion with %{count} comments already shared!","to_join_conversation":"to join the conversation.","view_comments":"View Comments","loading":"Loading...","sign_in_reminder":{"please":"Please","sign_in_button":"Sign In","after_text":"to reply to the comment"},"responses_title":"Responses","respond_button":"Respond","placeholder":"Share your thoughts here...","enter_url":"Enter a URL","copy_fail":"Failed to copy link.","sign_in_to_comment":"to comment","confirm_delete":"Are you sure you want to delete this comment?","edit_placeholder":"Edit your comment here...","edited_label":"(edited)","edit":"Edit comment","delete":"Delete comment"},"toc":{"title":"Table of Contents"}},"user":{"confirm_delete":"Are you sure you want to delete this share?"}},"common":{"ads":{"close_in":"You can close it in %{sec}"},"theme":{"dark":"Dark Theme","light":"Light Theme","changed_log":"theme changed: "},"share":{"copy_link":"Copy link","share_on_x":"Share on X","share_on_facebook":"Share on Facebook","share_on_linkedin":"Share on LinkedIn"},"sign_in":{"google":"Sign in with Google","github":"Sign in with Github","yandex":"Sign in with Yandex","signed_in_as":"Signed in as","my_profile":"My Profile","my_shares":"My Shares","sign_out":"Sign Out","modal":{"discover_more_features":"Discover More Features","features":{"coding_tools":{"title":"All-in-One Coding Tools","description":"Beautify, minify, convert, and optimize code for HTML, JavaScript, CSS, JSON, and more in seconds."},"programming_insights":{"title":"Explore Programming Insights","description":"Read expert tutorials, coding tips, and the latest tech updates on our blog."},"more_coming":{"title":"More Features Coming Soon!","description":"Weâre constantly adding new tools and improvements to enhance your coding experience."}},"sign_in_title":"Sign in to CodeUtility","sign_in_subtitle":"Create an account to discover more features","privacy_agreement":"By continuing, you agree to CodeUtility","privacy_policy_link":"Privacy Policy"}},"cookie_settings":{"accept":"Accept All Cookies","save":"Save Preferences","bar_text_short":"This website uses cookies to improve your experience while you navigate through the website","bar_text_full":". Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.","public_notice":"Allow CodeUtility to publish this share on the site","modal":{"title":"Privacy Overview","see_more":"See more","see_less":"See less","necessary":{"title":"Necessary","caption":"Always Enabled","description":"Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information."},"non_necessary":{"title":"Non-Necessary","switch_label":"Enabled","description":"Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website."},"overview":{"text":"This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities..."},"save_accept":"SAVE \u0026 ACCEPT"}},"updates":{"latest_updates":"Latest Updates","back":"Back"},"loading":"Loading...","tooltip":{"explore_articles":"Explore coding articles, tutorials and more here!","explore_executors":"Run code online in our supported languages!","explore_tools":"Explore code beautifiers, converters and more here!","copied":"Copied!"},"messages":{"link_copied":"Link copied to clipboard!","copy_failed":"Unable to copy console output."},"user":{"reload_log":"User signed in. Removing cookie and reloading...","fetch_fail":"Login state update failed:"},"buttons":{"cancel":"Cancel","update":"Update","respond":"Respond","save":"Save","reply":"Reply","change":"Change","delete":"Delete","yes_txt":"Yes","no_txt":"No"},"executor_controls":{"preinstalled_libs":"Pre-installed Libs","installed_libs":"Installed Libs","add_lib":"Add Lib","
219workspace":"Workspace","your_workspace":"Your Workspace","shared_workspace":"Shared Workspace","back_to_your_workspace":"Go to Your Own Workspace","sign_in_to_your_workspace":"Sign In to Your Own Workspace","share_policy":"Share policy","live_share":"Live workspace","snapshot_share":"Snapshot","saving_allowed":"Saving allowed","temporary_edits_only":"Temporary edits only","anyone_with_link":"Anyone with link","invited_people_only":"Invited people only","live_edit_policy":"Your saved changes update the owner's workspace and are recorded in the activity log.","snapshot_edit_policy":"Your saved changes update this shared snapshot and are recorded in the activity log.","read_only_policy":"You can edit and run code temporarily, but you cannot save changes to this share. Refreshing restores the shared version.","recents":"Recents","explanations":"Explanations","previous_run":"Prev Run","next_run":"Next Run","clear_run_output":"Clear run output?","clear_run_output_confirm":"Clear output from all saved runs? This action cannot be undone.","decrease_font_size":"Decrease terminal font size","increase_font_size":"Increase terminal font size","collapse_workspace":"Collapse workspace","executor_actions":"Executor actions","resize_workspace":"Resize workspace explorer","run_output_history":"Run output history","terminal_font_size":"Terminal font size","terminal_tools":"Terminal tools","settings":"Settings"},"settings":{"title":"Editor \u0026 Executor Settings","code_font_size":"Code font size","code_theme":"Code color theme","dark_code_theme":"Dark code color theme","light_code_theme":"Light code color theme","run_python_with":"Run Python with","execution_server":"Execution Server","browser_python":"Browser Python","python_runner_help":"Browser Python synchronizes workspace files before and after each run and includes NumPy, pandas, SciPy, Matplotlib, scikit-learn, and Excel support.","toolbar_buttons":"Top editor toolbar buttons","reset_defaults":"Reset defaults","done":"Done"},"chat":{"title":"Share chat","open":"Open share chat","sign_in_open":"Sign in to join share chat","minimize":"Minimize chat","sign_in_title":"Sign in to join the chat","sign_in_help":"Only signed-in users can view and send messages in this share chat.","sign_in_button":"Sign in to join","sign_in_notice":"Please sign in to join the chat.","message_placeholder":"Message... Use @ to tag · Wrap code in ```code```","message_help":"Enter to send · Option+Enter for a new line · Wrap code in triple backticks: ```code```","send":"Send message","emoticons":"Choose an emoticon","formatting":"Message formatting","bold":"Bold","underline":"Underline","italic":"Italic","strikethrough":"Strikethrough","inline_code":"Inline code","code_block":"Code block","bulleted_list":"Bulleted list","numbered_list":"Numbered list","seen_by_one":"Seen by %{names}","seen_by_many":"Seen by %{names}","online":"%{count} online","nobody_online":"No one is currently online.","you":"You","you_suffix":" (You)","access_de
219nied":"This account does not have access to this share chat.","reconnecting":"Chat disconnected. Reconnectingâ¦","mentioned_you":"%{name} mentioned you in share chat.","typing_one":"%{names} is typingâ¦","typing_many":"%{names} are typingâ¦","message_limit":"This chat has reached its %{count}-message limit. New messages cannot be sent.","message_limit_placeholder":"This chat has reached its message limit."},"libraries":{"install_limit":"You can install up to 10 libraries for each runtime.","preinstalled":"Pre-installed libraries","search_all":"Search all librariesâ¦","available_everyone":"Available to everyone in the base runtime.","inspecting_runtime":"Inspecting the selected runtimeâ¦","no_matching":"No matching libraries.","your_installed":"Your installed libraries","add_lib":"Add Lib","private_runtime":"Private to your account and this runtime.","none_installed":"No private libraries installed for this runtime.","add_library":"Add a library","private_help":"Libraries are private to your account and selected runtime. Cached downloads are reused by the execution server.","selected_runtime":"Selected runtime","package_name":"Package name","package_example":"For example: pendulum","invalid_package":"Use a valid registry package name.","version_optional":"Version (optional)","version_example":"For example: 3.0.0","filter_installed":"Filter installed libraries","filter_installed_short":"Filter installedâ¦","loading_installed":"Loading installed librariesâ¦","install":"Install","already_installed":"Library already installed","already_private":"%{name} %{installed} is already installed for your account. Continue and install %{requested}?","already_preinstalled":"%{name} %{installed} is already included in this runtime. Continue and install a private copy of %{requested}?","install_anyway":"Install anyway","unknown_version":"unknown version","latest_version":"the latest version","bundled":"Bundled","included_base_runtime":"Included in the base runtime","installed_base_runtime":"Installed in the selected base runtime","shared_snapshot_title":"Libraries in shared snapshot","included_libraries":"Included libraries","sign_in_install":"Sign in to install private libraries. Pre-installed libraries remain available to guests.","unavailable_runtime":"Private library installation is not available for this runtime. Its pre-installed libraries remain available.","available_runtime":"Available to your code in this runtime","installed":"Installed","no_filter_matches":"No installed libraries match your filter.","no_search_matches":"No installed libraries match your search.","removing":"Removingâ¦","installing":"Installingâ¦","title":"Libraries","invalid_response":"The library service returned an invalid response. Please refresh the page and try again.","load_runtime_failed":"Unable to load runtime libraries","load_installed_failed":"Unable to load installed libraries","uninstall_success":"%{name} was uninstalled","snapshot_failed":"Unable to snapshot installed libraries","sign_in_shared":"Sign in to install shared libraries"},"share_modal":{"title":"Share code","sharing_mode":"Sharing mode","forked_snapshot":"Forked snapshot","forked_snapshot_help":"Create an independent copy. Later workspace changes do not affect the link.","live_workspace":"Live workspace","live_workspace_help":"Viewers see current owner files. Authorized editors change the ownerâs actual workspace.","content_to_share":"Content to share","access":"Who can access","anyone_with_link":"Anyone with the link","anyone_with_link_help":"Anyone who receives the link can open this share without signing in.","invited_people_only":"Invited people only","invited_people_only_help":"Only you and people invited by email can open this share. For each person, you can choose view-only access or allow them to save changes.","invite_people":"Invite people","who_can_save":"Who can save changes","only_you":"Only you","only_you_help":"Other people can edit and run temporarily, but cannot save changes.","selected_people":"Selected people","selected_people_help":"Choose signed-in users who may save changes to this share.","people_allowed_to_
219save":"People allowed to save","link_savers_help":"Add up to 25 signed-in users who may save changes. Everyone else with the link remains view-only.","select_one_saver":"Select at least one person who can save changes.","add_person":"Add","allow_person_edit":"Allow this person to edit","allow_editing":"Allow saving","invite_limit":"You can invite up to 25 people. Each person can be view-only or allowed to save changes.","invalid_invitee_email":"Enter a valid email address.","person_already_invited":"This person is already in the invitation list.","invitee_limit":"You can invite up to 25 people.","invite_one_person":"Add at least one person who can access this share.","current_file":"Current file","directory":"A directory","directory_help":"Include all files and subdirectories.","no_directories_to_share":"You have not created any directory yet.","parent_directory":"Parent directory","directory_to_share":"Directory to share","loading_directories":"Loading directoriesâ¦","no_child_folders":"No child folders.","selected":"Selected","browse_folder":"Browse into a folder","whole_workspace":"Whole workspace","workspace_limit":"Up to 100 files and 2 MB.","libraries_included":"Exact installed-library versions for the selected runtime will be included.","allow_edit":"Allow signed-in users to edit","allow_edit_help":"Guests always remain read-only. All collaborator changes are logged.","editor_emails":"Allowed editor emails","optional":"(optional)","editor_emails_help":"Leave blank to allow any signed-in user. Add up to 25 emails, separated by commas or new lines.","create_snapshot":"Create snapshot","create_live_share":"Create live share","current_editor_file":"Current editor file","level":"Level %{depth} / 5","workspace":"Workspace","select_directory_first":"Create or select a directory first.","invalid_editor_email":"Invalid editor email: %{email}","editor_email_limit":"You can allow up to 25 editor emails."},"workspace":{"title":"Workspace","workspace_files":"Workspace files","new_folder":"New folder","upload_files":"Upload files","refresh":"Refresh","logs":"Logs","new_folder_name":"New folder name","folder_name":"Folder name","drop_to_move":"Drop here to move into this directory","safe_files_help":"Safe source, data, image, and PDF files; maximum 1 MB each.","date":"Date","created_updated_by":"Created / updated by","created_by":"Created by","updated_by":"Last updated by","actions":"Actions","empty_folder":"This folder is empty. Create a new file, create a folder, or upload files.","files":"Files","upload_help":"Select one or multiple safe source, data, image, or PDF files; maximum 1 MB each.","no_files_selected":"No files selected.","destination_directory":"Destination directory","loading_directories":"Loading directoriesâ¦","no_child_folders":"No child folders.","share_activity_logs":"Share activity logs","no_activity_logs":"No changes have been logged yet.","parent_directory":"Parent directory","create_file":"Create file","move_file":"Move file","move_here":"Move here","image_preview":"Image preview","loading_image":"Loading imageâ¦","sign_in_help":"Sign in to create and manage workspace files. Guests can still run code.","file_saved":"File saved","auto_save_paused":"Auto-save paused: %{error}","creating":"Creatingâ¦","created":"%{name} created","max_depth":"Folders can be nested up to 5 levels.","create":"Create","select_file":"Select at least one file.","uploading":"Uploadingâ¦","upload":"Upload","invalid_file_type":"%{name} is not an allowed file type","file_too_large":"%{name} exceeds the 1 MB upload limit","upload_success":"%{count} file(s) uploaded to /%{destination}","image_failed":"This image could not be displayed. You can still download it.","copied_as":"%{name} copied as %{copy}","already_here":"The file is already in this directory.","directory_inside_itself":"A directory cannot be moved inside itself.","moving":"Movingâ¦","moved":"%{name} moved","shared_files":"Shared files","activity_load_failed":"Unable to load activity logs","share_logs":"Share logs","live_share":"Live share","parent_directory_label":"Parent directory","upload_destination":"Upload destination","selected_parent":"Selected parent directory","move_destination":"Move destination"},"accessibility":{"python_execution_location":"Python execution location","scroll_controls_up":"Scroll controls up","scroll_controls_down":"Scroll controls down","scroll_up":"Scroll up","scroll_down":"Scroll down","remove":"Remove","close"
219:"Close"},"affiliate_courses":{"loading":"Loadingâ¦","later":"Check Them Later","processing_hint":"Looking to improve your skills? These courses may helpâcheck them out while our AI model processes your request."},"editor":{"saved_at":"Saved at %{time}","new_file":"New file","create_new_file":"Create a new file","open_files":"Open filesâ¦","no_workspace_files":"No workspace files","local_history":"Local History","remove_this":"Remove this","revert_to_this":"Revert to this","no_history_yet":"No history yet","type":"Type","wrap":"Wrap","history":"History","maximize":"Maximize","advanced_mode":"Advanced Mode","minimal_mode":"Minimal Mode","minimize":"Minimize","run":"Run","beautify":"Beautify","clear":"Clear","decrease_font_size":"Decrease code font size","increase_font_size":"Increase code font size","paste":"Paste","copy":"Copy","find":"Find","replace":"Replace","replace_all":"Replace All","replace_with":"Replace with","undo":"Undo","redo":"Redo","length":"Length","lines":"Lines","size":"Size","cursor":"Cursor"},"executor":{"welcome_to_the":"Welcome to the %{language} Executor!","cpp_executor":"C++ Executor","php_executor":"PHP Executor","python_executor":"Python Executor","ruby_executor":"Ruby Executor","nodejs_executor":"Node.js Executor","go_executor":"Go Executor","rust_executor":"Rust Executor","matplotlib_detected":{"title":"Matplotlib Detected","content":"Your code uses \u003cb\u003ematplotlib\u003c/b\u003e. We recommend using our \u003cb\u003eMatplotlib Code Runner\u003c/b\u003e for chart rendering.\u003cbr\u003e\u003cbr\u003eDo you want to go there now?","confirm_label":"Yes, open Matplotlib Runner","cancel_label":"No, continue here"},"ws":{"reconnecting":"Reconnectingâ¦","connection_failed":"Connection failed after multiple retries. Your internet connection may have issues.","refresh_and_retry":"Please refresh the page and try again.","offline":"You are offline","still_running":"â³ Still running⦠%{seconds}s elapsed","status_line":"[status] %{state} %{progress}% (elapsed %{seconds}s)"},"browser_runner":{"server":"Execution Server","browser":"Browser %{language}","switch":"Switch","server_tooltip":"Run code on the execution server","browser_tooltip":"Run code locally using the Browser %{language} runtime"}},"tag":{"singular":"Tag","plural":"Tags","no_results":"No tools or articles found for this tag."},"articles":{"singular":"Article","plural":"Articles","no_results":"No articles found."},"tools":{"text":"Tools","version":"Version","sample":"Sample","popular":"Popular","indent":"Indent","code_goes_here":"Code goes here...","select_language":"Select a Language","please_select_language":"Please select a language and enter some code.","encoded_string_goes_here":"Encoded string goes here...","json_goes_here":"JSON goes here...","beautify_title":"Beautify %{language}","cannot_detect_sql_type":"We cannot automatically detect the SQL type. Please select a more specific SQL type.","error_beautify_html":"There is an error when beautifying the HTML code.","error_beautify_js":"There is an error when beautifying the JavaScript code.","css_beautify_error":"There is an error when beautifying the CSS code.","total_conversions":"ð \u003cstrong\u003e%{total_conversion}\u003c/strong\u003e total conversions \u003cspan\u003e(\u003cstrong\u003e%{monthly_conversion}\u003c/strong\u003e this month)\u003c/span\u003e","total_executions":"ð \u003cstrong\u003e%{total_execution}\u003c/strong\u003e total executions \u003cspan\u003e(\u003cstrong\u003e%{monthly_execution}\u003c/strong\u003e this month)\u003c/span\u003e","tab_width":"Tab Width","use_tabs":"Use Tabs","keyword_case":"Keyword Case","preserve":"Preserve","uppercase":"Uppercase","lowercase":"Lowercase","data_type_case":"Data Type Case","function_case":"Function Case","identifier_case":"Identifier Case","and_or_new_lines":"AND/OR New Lines","before":"Before","after":"After","expression_width":"Expression Width","lines_between_queries":"Lines Between Queries","beautify":"Beautify","share":"Share","share_title":"Share Link","share_link":"Your share link:","creating_share":"Creatingâ¦","share_already_exists":"This share already exists. Here is its current link.","share_hint":"Send this link to anyone to view and run your code.","copy":"Copy","open":"Open","required_message_share":"To share your co
219de with others, please sign in.","share_empty":"Please enter your code to share.","close":"Close","copy_failed":"Failed to copy link.","update_share":"Update Share","update_share_success":"Your shared code has been updated successfully!","upload":"Upload","add_to_favorites":"Add to Favorites","new":"New","download":"Download","type":"Type","beautify_json":"Beautify JSON","go_to_beautify_json":"Go to Beautify JSON","value_aligned":"Value Aligned","error":"Error","convert":"Convert","encode":"Encode","decode":"Decode","encrypt":"Encrypt","to_base64":"To Base64","minify":"Minify","source":"Source","tree":"Tree","encoded_uri_goes_here":"Encoded URI goes here...","encoded_html_goes_here":"Encoded HTML goes here...","file_name":"File Name","file_name_should_not_be_empty":"File name should not be empty!","create_share_link":"Create Share Link","name":"Name","name_placeholder":"Enter a name for this share","name_should_not_be_empty":"Name should not be empty!","create":"Create","generated_image":"Generated Image","fixes":"Fixes","explain":"Explain","fix_code":"Fix Code","ai_code_fix_result":"AI Code Fix Result","current_code":"Current Code","fixed_code":"Fixed Code","explanation":"Explanation","token_left":"You have \u003cspan\u003e%{token_left}\u003c/span\u003e tokens left for today.","quota_reset_tooltip":"Your quota will be reset in %{reset_in} (%{local_time})","prev":"Prev","next":"Next","use_this_fix":"Use This Fix","skip":"Skip","code_fix_empty":"Please enter some code to fix.","required_title":"Sign In Required","required_message_ai":"Youâve used your 1,000 free AI tokens as a guest. \u003cstrong\u003ePlease sign in to receive 5,000 AI tokens per day\u003c/strong\u003e and continue using this AI feature to analyze and improve your code.","required_message_ai_explain":"Youâve used your 1,000 free AI tokens as a guest. \u003cstrong\u003ePlease sign in to receive 5,000 AI tokens per day\u003c/strong\u003e and continue using this AI feature to explain and analyze your co
219de.","code_fix_quota_exceeded":"You have exceeded your AI token quota for today. Please try again tomorrow.","align_hash":{"js_description":"JavaScript/TypeScript objects or arrays","php_dump_description":"PHP debug output like print_r, var_export, or var_dump","python_description":"Python dictionaries or lists","php_description":"Standard PHP arrays or hashes","ruby_description":"Ruby hashes or arrays"},"code_fix_default_prompt":"Please fix any issues in this %{language} code and make sure it runs correctly.","code_fix_instructions":"Fix instructions","code_fix_prompt_required":"Please enter fix instructions."},"issue":{"title":"Report an Issue","close":"Close","email":{"label":"Your email (optional)","placeholder":"[email protected]","help":"Weâll use this only to follow up, if needed.","invalid":"Please enter a valid email address."},"type":{"label":"Type of issue","invalid":"Please select the issue type.","options":{"issue":"Issue","lib_issue":"Library issue (library not installed)"}},"description":{"label":"Description of issue","placeholder":"What happened? What did you expect? Steps to reproduce...","invalid":"Please describe the issue."},"images":{"label":"Images (max %{max})","count":"%{current} / %{max}","help":"You can select up to %{max} images. PNG/JPG/WebP recommended."},"buttons":{"cancel":"Cancel","submit":"Submit"},"validation":{"description_required":"Please describe the issue.","type_required":"Please select the issue type.","invalid":"Invalid"},"files":{"over_limit":"You selected %{selected} files; only %{allowed} more allowed. %{ignored} ignored.","type_rejected":"%{count} file(s) were not images and were skipped.","size_rejected":"%{count} image(s) exceeded %{max} MB and were skipped.","count":"%{current} / %{max}"},"actions":{"submit":"Submit","submitting":"Submittingâ¦","remove":"Remove"},"a11y":{"upload_preview_alt":"Upload preview %{n}"},"thanks":{"title":"Thanks for your report!","desc":"Weâve received your issue and will look into it shortly."},"errors":{"submit_failed":"Failed to submit. Please try again.","invalid_upload":"One or more images could not be uploaded."}},"titles":{"error":"Error"},"debugger":{"title":"Browser %{language} Debugger","server_title":"%{language} Debugger","controls":"Debug controls","stop":"Stop debugging","continue":"Continue","step_over":"Step Over","step_into":"Step Into","step_out":"Step Out","starting":"Startingâ¦","running":"Running","variables":"Variables","waiting":"Waiting for the first executable lineâ¦","call_stack":"Call Stack","resize":"Resize debugger","paused_at_line":"Paused at line %{line}","no_local_variables":"(No local variables)"}}}; 220 window.getI18n = function (path, fallback = '', vars = {}) { 221 if (!window.I18nJS) return interpolate(fallback, vars); 222 const keys = path.split('.'); 223 let current = window.I18nJS; 224 for (const key of keys) { 225 if (current[key] == null) { 226 return interpolate(fallback, vars); 227 } 228 current = current[key]; 229 } 230 if (typeof current === 'string') { 231 return interpolate(current, vars); 232 } 233 return current; 234 }; 235 function interpolate(str, vars = {}) { 236 if (typeof str !== 'string') return str; 237 return str.replace(/%\{(\w+)\}/g, (_, key) => { 238 return vars[key] != null ? vars[key] : ''; 239 }); 240 } 241 async function signOut(event) { 242 if (event) event.preventDefault(); 243 244 try { 245 const response = await fetch('/users/logout', { 246 method: 'DELETE', 247 credentials: 'same-origin', 248 headers: { 249 'X-CSRF-Token': document.querySelector('meta[name="csrf-token"]')?.content || '', 250 'Accept': 'application/json', 251 'Content-Type': 'application/json' 252 } 253 }); 254 255 if (!response.ok) throw new Error(`Sign out failed (${response.status})`); 256 257 // Stay on the current executor after signing out. Reloading also 258 // clears all authenticated page state and obtains a fresh CSRF token. 259 window.location.reload(); 260 } catch (error) { 261 console.error('Sign out failed:', error); 262 } 263 } 264 </script>
264 265 </head> 266 <body id="c_family_content_body" class="theme-dark"> 267
267<script> 268//<![CDATA[ 269window.gon={};gon.base_url="https://codeutility.io/";gon.api_url="https://codeutility.io/c_family_content";gon.home_url="https://codeutility.io/";gon.page="c_family_content";gon.action="category";gon.github_auth_url="https://codeutility.io/users/auth/github";gon.google_auth_url="https://codeutility.io/users/auth/google_oauth2";gon.yandex_auth_url="https://codeutility.io/users/auth/yandex";gon.privacy_url="https://codeutility.io/privacy-policy";gon.locale="en";gon.production=true;gon.country="AM";gon.ads_network="ezoic";gon.new_update_ids=[10025,10026]; 270//]]> 271</script>
271 272 <div class="d-flex flex-column min-vh-100"> 273 <header class="navbar navbar-expand-md navbar-dark bd-navbar"> 274 275 <button class="navbar-toggler d-md-none" type="button" data-bs-toggle="collapse" data-bs-target="#primaryNavigation" aria-controls="primaryNavigation" aria-expanded="false" aria-label="Toggle navigation"> 276 <span class="navbar-toggler-icon"></span> 277 </button> 278 279 <a class="navbar-brand me-0 me-md-2 ms-3 ms-sm-3" href="https://codeutility.io/"> 280 <img class="logo" src="https://assets.codeutility.io/images/logo.png" alt="Code Utility" width="40" height="40" class="d-inline-block align-text-top" loading="lazy"> <!-- class="d-none d-md-block" --> 281 <div class="page-name"> 282 <div class="site-name">CodeUtility</div> 283 <div class="slogan d-xxs-none">Making your developer's life easier!</div> 284 </div> 285 </a> 286 287 <div class="collapse navbar-collapse" id="primaryNavigation"> 288 <ul class="navbar-nav navbar-light"> 289 <li id="executors-menu-li" class="nav-item nav-main-item dropdown megamenu-li dmenu"> 290 <a class="nav-link dropdown-toggle text-uppercase" href="#" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 291 Executors 292 </a> 293 <div class="dropdown-menu megamenu sm-menu border-top"> 294 <div class="row"> 295 <div class="col-12 executor-menu-group mb-4"> 296 <a class="dropdown-item python" href="https://python.codeutility.io/"> 297 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="17" height="17"> 298 <path d="M 13 3 C 10.791 3 9 4.791 9 7 L 9 8 L 14 8 C 14.552 8 15 8.448 15 9 C 15 9.552 14.552 10 14 10 L 9 10 L 8 10 L 7 10 C 4.791 10 3 11.791 3 14 L 3 18 C 3 20.209 4.791 22 7 22 L 8 22 L 8 17 C 8 15.346 9.346 14 11 14 L 19 14 C 19.552 14 20 13.552 20 13 L 20 7 C 20 4.791 18.209 3 16 3 L 13 3 z M 12 5 C 12.552 5 13 5.448 13 6 C 13 6.552 12.552 7 12 7 C 11.448 7 11 6.552 11 6 C 11 5.448 11.448 5 12 5 z M 22 8 L 22 13 C 22 14.654 20.654 16 19 16 L 11 16 C 10.448 16 10 16.448 10 17 L 10 23 C 10 25.209 11.791 27 14 27 L 17 27 C 19.209 27 21 25.209 21 23 L 21 22 L 16 22 C 15.448 22 15 21.552 15 21 C 15 20.448 15.448 20 16 20 L 21 20 L 22 20 L 23 20 C 25.209 20 27 18.209 27 16 L 27 12 C 27 9.791 25.209 8 23 8 L 22 8 z M 18 23 C 18.552 23 19 23.448 19 24 C 19 24.552 18.552 25 18 25 C 17.448 25 17 24.552 17 24 C 17 23.448 17.448 23 18 23 z"/> 299 </svg> 300 <span>Python Compiler</span> 301 </a> 302 303 <a class="dropdown-item cplus" href="https://cpp.codeutility.io/"> 304 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 55" width="17px" height="17px"><path d="M 43.910156 12.003906 L 27.070313 2.539063 C 25.792969 1.824219 24.207031 1.824219 22.929688 2.539063 L 6.089844 12.003906 C 4.800781 12.726563 4 14.082031 4 15.535156 L 4 34.464844 C 4 35.917969 4.800781 37.273438 6.089844 37.996094 L 22.929688 47.460938 C 23.570313 47.820313 24.285156 48 25 48 C 25.714844 48 26.429688 47.820313 27.070313 47.460938 L 43.910156 37.996094 C 45.199219 37.273438 46 35.917969 46 34.464844 L 46 15.535156 C 46 14.082031 45.199219 12.726563 43.910156 12.003906 Z M 25 37 C 18.382813 37 13 31.617188 13 25 C 13 18.382813 18.382813 13 25 13 C 28.78125 13 32.273438 14.753906 34.542969 17.742188 L 30.160156 20.277344 C 28.84375 18.835938 26.972656 18 25 18 C 21.140625 18 18 21.140625 18 25 C 18 28.859375 21.140625 32 25 32 C 26.972656 32 28.84375 31.164063 30.160156 29.722656 L 34.542969 32.257813 C 32.273438 35.246094 28.78125 37 25 37 Z M 37 26 L 35 26 L 35 28 L 33 28 L 33 26 L 31 26 L 31 24 L 33 24 L 33 22 L 35 22 L 35 24 L 37 24 Z M 44 26 L 42 26 L 42 28 L 40 28 L 40 26 L 38 26 L 38 24 L 40 24 L 40 22 L 42 22 L 42 24 L 44 24 Z"/></svg> 305 <span>C++ Compiler</span> 306 </a> 307 308 <a class="dropdown-item c" href="https://c.codeutility.io/"> 309 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 55" width="17px" height="17px"> 310 <path d="M43.91 12L27.07 2.54a3 3 0 0 0-2.14 0L6.09 12A3.07 3.07 0 0 0 4 15.54v18.93A3.07 3.07 0 0 0 6.09 38l16.74 9.46a3.07 3.07 0 0 0 2.14 0L43.91 38A3.07 3.07 0 0 0 46 34.47V15.54A3.07 3.07 0 0 0 43.91 12zM25 37a12 12 0 1 1 9.54-19.26L30.16 20.28A7 7 0 1 0 25 32a7 7 0 0 0 5.16-2.28l4.38 2.54A12 12 0 0 1 25 37z"/> 311 <text x="21" y="31" font-size="10" font-family="Arial, sans-serif" fill="black" font-weight="bold">C</text> 312 </svg>
313 <span>C Compiler</span> 314 </a> 315 316 <a class="dropdown-item matplotlib" href="https://matplotlib.codeutility.io/"> 317 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" stroke="#000" viewBox="0 0 128 128" fill-opacity="1"> 318 <path fill="#fff" d="m63,1a63,63 0 1,0 2,0zm0,14a49,49 0 1,0 2,0zm0,14a35,35 0 1,0 2,0zm0,14a21,21 0 1,0 2,0zm0,14a7,7 0 1,0 2,0zm64,7H1m108-45-90,90m90,0-90-90m45-18v126"/> 319 <path fill="#000" d="m50,8-20,10 68,92 10-10L64,64z"/> 320 <path fill="#000" d="m17,50v28L64,64z"/> 321 <path fill="#000" d="m64,64 6,35H58z"/> 322 <path fill="#000" d="m64,64 13-40 9,5z"/> 323 <path fill="#000" d="m64,64 14-6 1,4zl-26,13 3,4z"/> 324 </svg> 325 <span>Matplotlib Compiler</span> 326 </a> 327 328 <a class="dropdown-item nodejs" href="https://node.codeutility.io/"> 329 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="18px" height="18px"><path d="M 15.994141 3 C 15.629141 3 15.264219 3.0895313 14.949219 3.2695312 L 5.0390625 8.9902344 C 4.3990625 9.3602344 4 10.060781 4 10.800781 L 4 21.179688 C 4 21.929688 4.3990625 22.620234 5.0390625 22.990234 L 7.640625 24.490234 C 8.900625 25.110234 9.3499219 25.109375 9.9199219 25.109375 C 11.789922 25.109375 12.859375 23.979531 12.859375 22.019531 L 12.859375 11.310547 C 12.859375 11.150547 12.730312 11.019531 12.570312 11.019531 L 11.320312 11.019531 C 11.150313 11.019531 11.029297 11.150547 11.029297 11.310547 L 11.029297 22.009766 C 11.029297 22.889766 10.120391 23.749531 8.6503906 23.019531 L 5.9296875 21.449219 C 5.8296875 21.399219 5.7695313 21.289687 5.7695312 21.179688 L 5.7695312 10.810547 C 5.7695312 10.690547 5.8296875 10.589297 5.9296875 10.529297 L 15.839844 4.8105469 C 15.929844 4.7505469 16.050391 4.7505469 16.150391 4.8105469 L 26.060547 10.529297 C 26.160547 10.589297 26.220703 10.690781 26.220703 10.800781 L 26.220703 21.179688 C 26.220703 21.289687 26.160313 21.399219 26.070312 21.449219 L 16.150391 27.179688 C 16.060391 27.229688 15.929844 27.229688 15.839844 27.179688 L 13.289062 25.669922 C 13.219062 25.619922 13.120781 25.610391 13.050781 25.650391 C 12.340781 26.050391 12.210781 26.100078 11.550781 26.330078 C 11.390781 26.380078 11.140625 26.479766 11.640625 26.759766 L 14.949219 28.720703 C 15.269219 28.900703 15.630234 29 15.990234 29 C 16.360234 29 16.719062 28.900703 17.039062 28.720703 L 26.960938 22.990234 C 27.600938 22.620234 28 21.929688 28 21.179688 L 28 10.810547 C 28 10.060547 27.600938 9.37 26.960938 9 L 17.039062 3.2695312 C 16.724063 3.0895313 16.359141 3 15.994141 3 z M 18.660156 11.005859 C 15.830156 11.005859 14.140625 12.205078 14.140625 14.205078 C 14.140625 16.375078 15.819062 16.974141 18.539062 17.244141 C 21.789062 17.564141 22.039062 18.045547 22.039062 18.685547 C 22.039062 19.785547 21.150547 20.255859 19.060547 20.255859 C 16.430547 20.255859 15.850156 19.594922 15.660156 18.294922 C 15.640156 18.154922 15.520859 18.054688 15.380859 18.054688 L 14.089844 18.054688 C 13.929844 18.054688 13.810547 18.185938 13.810547 18.335938 C 13.810547 20.005937 14.720547 21.994141 19.060547 21.994141 C 22.200547 21.994141 24 20.755703 24 18.595703 C 24 16.455703 22.549766 15.884609 19.509766 15.474609 C 16.419766 15.074609 16.109375 14.864531 16.109375 14.144531 C 16.109375 13.544531 16.380156 12.755859 18.660156 12.755859 C 20.690156 12.755859 21.449766 13.194453 21.759766 14.564453 C 21.789766 14.694453 21.899062 14.794922 22.039062 14.794922 L 23.330078 14.794922 C 23.410078 14.794922 23.479063 14.755313 23.539062 14.695312 C 23.589062 14.645313 23.619375 14.564609 23.609375 14.474609 C 23.409375 12.114609 21.840156 11.005859 18.660156 11.005859 z"/></svg> 330 <span>JavaScript Runner</span> 331 </a> 332 333 <a class="dropdown-item php" href="https://php.codeutility.io/"> 334 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="20px" height="20px"><path d="M 25 12 C 11.542969 12 1 17.710938 1 25 C 1 32.289063 11.542969 38 25 38 C 38.457031 38 49 32.289063 49 25 C 49 17.710938 38.457031 12 25 12 Z M 22.507813 16 L 25.128906 16 L 24.296875 20 L 26.636719 20 C 28.121094 20 29.117188 20.207031 29.683594 20.726563 C 30.238281 21.238281 30.40625 22.078125 30.183594 23.222656 L 29.144531 28 L 26.480469 28 L 27.4375 23.582031 C 27.554688 22.976563 27.507813 22.554688 27.304688 22.332031 C 27.101563 22.109375 26.65625 22 25.988281 22 L 23.890625 22 L 22.625 28 L 20 28 Z M 11 20 L 16.332031 20 C 18.875 20 20.414063 21.703125 19.8125 24.246094 C 19.113281 27.199219 17.238281 28 13.792969 28 L 12.144531 28 L 11.621094 31 L 8.972656 31 Z M 32 20 L 37.332031 20 C 39.875 20 41.414063 21.703125 40.8125 24.246094 C 40.113281 27.199219 38.238281 28 34.792969 28 L 33.144531 28 L 32.621094 31 L 29.972656 31 Z M 13.269531 22 L 12.515625 26 L 14.226563 26 C 15.707031 26 17.082031 25.832031 17.3125 23.625 C 17.398438 22.769531 17.042969 22 15.332031 22 Z M 34.269531 22 L 33.515625 26 L 35.226563 26 C 36.707031 26 38.082031 25.832031 38.3125 23.625 C 38.398438 22.769531 38.042969 22 36.332031 22 Z"/></svg>
335 <span>PHP Interpreter</span> 336 </a> 337 338 <a class="dropdown-item csharp" href="https://csharp.codeutility.io/"> 339 <svg width="15px" height="15px" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 340 <path fill-rule="nonzero" clip-rule="nonzero" d="M7.00017 5.5C5.61936 5.5 4.5 6.61936 4.5 8.00017C4.5 9.38097 5.61936 10.5003 7.00017 10.5003C7.71226 10.5003 8.3538 10.2036 8.81009 9.725C9.09591 9.4252 9.57065 9.41386 9.87045 9.69968C10.1703 9.9855 10.1816 10.4602 9.89577 10.76C9.16817 11.5232 8.13926 12.0003 7.00017 12.0003C4.79094 12.0003 3 10.2094 3 8.00017C3 5.79094 4.79094 4 7.00017 4C8.13445 4 9.15952 4.47309 9.88658 5.23069C10.1734 5.52954 10.1636 6.00432 9.86477 6.29112C9.56591 6.57793 9.09114 6.56817 8.80433 6.26931C8.3484 5.79424 7.70928 5.5 7.00017 5.5Z" fill="#000000"/> 341 <path fill-rule="nonzero" clip-rule="nonzero" d="M6.58638 0.102166C6.8199 -0.0340553 7.10867 -0.0340553 7.34219 0.102166L12.0565 2.85217C12.4143 3.06088 12.5351 3.52011 12.3264 3.8779C12.1177 4.23569 11.6585 4.35654 11.3007 4.14783L6.96429 1.61828L1.5 4.80578V11.1942L6.96429 14.3817L11.3007 11.8522C11.6585 11.6435 12.1177 11.7643 12.3264 12.1221C12.5351 12.4799 12.4143 12.9391 12.0565 13.1478L7.34219 15.8978C7.10867 16.0341 6.8199 16.0341 6.58638 15.8978L0.372097 12.2728C0.141683 12.1384 0 11.8918 0 11.625V4.375C0 4.10825 0.141683 3.86157 0.372097 3.72717L6.58638 0.102166Z" fill="#000000"/> 342 <path fill-rule="nonzero" clip-rule="nonzero" d="M12.1799 5.25C12.456 5.25 12.6799 5.47386 12.6799 5.75V10.25C12.6799 10.5261 12.456 10.75 12.1799 10.75C11.9038 10.75 11.6799 10.5261 11.6799 10.25V5.75C11.6799 5.47386 11.9038 5.25 12.1799 5.25Z" fill="#000000"/> 343 <path fill-rule="nonzero" clip-rule="nonzero" d="M14.3201 5.25C14.5962 5.25 14.8201 5.47386 14.8201 5.75V10.25C14.8201 10.5261 14.5962 10.75 14.3201 10.75C14.044 10.75 13.8201 10.5261 13.8201 10.25V5.75C13.8201 5.47386 14.044 5.25 14.3201 5.25Z" fill="#000000"/> 344 <path fill-rule="nonzero" clip-rule="nonzero" d="M10.5 6.92993C10.5 6.65379 10.7239 6.42993 11 6.42993H15.5C15.7761 6.42993 16 6.65379 16 6.92993C16 7.20607 15.7761 7.42993 15.5 7.42993H11C10.7239 7.42993 10.5 7.20607 10.5 6.92993Z" fill="#000000"/> 345 <path fill-rule="nonzero" clip-rule="nonzero" d="M10.5 9.07007C10.5 8.79393 10.7239 8.57007 11 8.57007H15.5C15.7761 8.57007 16 8.79393 16 9.07007C16 9.34621 15.7761 9.57007 15.5 9.57007H11C10.7239 9.57007 10.5 9.34621 10.5 9.07007Z" fill="#000000"/> 346 </svg> 347 <span>C# / .NET Compiler</span> 348 </a> 349 350 <a class="dropdown-item rust" href="https://rust.codeutility.io/"> 351 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="15px" height="15px" viewBox="0 0 20 20" version="1.1"> 352 <g id="surface1"> 353 <path d="M 19.863281 9.753906 L 19.023438 9.234375 C 19.015625 9.152344 19.007812 9.070312 19 8.992188 L 19.722656 8.316406 C 19.792969 8.25 19.828125 8.148438 19.808594 8.050781 C 19.789062 7.953125 19.71875 7.871094 19.625 7.835938 L 18.703125 7.492188 C 18.679688 7.410156 18.65625 7.332031 18.632812 7.253906 L 19.207031 6.453125 C 19.265625 6.371094 19.277344 6.265625 19.238281 6.171875 C 19.199219 6.082031 19.117188 6.015625 19.019531 6 L 18.046875 5.839844 C 18.007812 5.765625 17.96875 5.695312 17.929688 5.621094 L 18.335938 4.726562 C 18.378906 4.632812 18.371094 4.527344 18.316406 4.445312 C 18.257812 4.363281 18.164062 4.3125 18.066406 4.316406 L 17.078125 4.351562 C 17.027344 4.285156 16.972656 4.222656 16.921875 4.160156 L 17.148438 3.199219 C 17.171875 3.101562 17.140625 3 17.070312 2.929688 C 17 2.859375 16.898438 2.828125 16.800781 2.851562 L 15.839844 3.078125 C 15.777344 3.027344 15.714844 2.972656 15.648438 2.921875 L 15.683594 1.9375 C 15.6875 1.835938 15.640625 1.742188 15.554688 1.6875 C 15.472656 1.628906 15.367188 1.621094
35315.277344 1.664062 L 14.378906 2.070312 C 14.304688 2.03125 14.234375 1.992188 14.160156 1.953125 L 14 0.980469 C 13.984375 0.882812 13.917969 0.800781 13.828125 0.761719 C 13.734375 0.722656 13.628906 0.734375 13.546875 0.792969 L 12.75 1.371094 C 12.667969 1.34375 12.589844 1.320312 12.511719 1.296875 L 12.164062 0.375 C 12.128906 0.28125 12.050781 0.210938 11.953125 0.191406 C 11.851562 0.171875 11.75 0.207031 11.683594 0.277344 L 11.011719 1 C 10.929688 0.992188 10.847656 0.984375 10.765625 0.976562 L 10.246094 0.136719 C 10.195312 0.0507812 10.101562 0 10 0 C 9.902344 0 9.808594 0.0507812 9.753906 0.136719 L 9.234375 0.976562 C 9.152344 0.984375 9.070312 0.992188 8.992188 1 L 8.316406 0.277344 C 8.25 0.207031 8.148438 0.171875 8.050781 0.191406 C 7.953125 0.210938 7.871094 0.28125 7.835938 0.375 L 7.492188 1.296875 C 7.410156 1.320312 7.332031 1.34375 7.253906 1.371094 L 6.453125 0.792969 C 6.371094 0.734375 6.265625 0.722656 6.171875 0.761719 C 6.082031 0.800781 6.015625 0.882812 6 0.980469 L 5.839844 1.953125 C 5.765625 1.992188 5.695312 2.03125 5.621094 2.070312 L 4.726562 1.664062 C 4.632812 1.621094 4.527344 1.628906 4.445312 1.6875 C 4.359375 1.742188 4.3125 1.835938 4.316406 1.9375 L 4.351562 2.921875 C 4.285156 2.972656 4.222656 3.027344 4.160156 3.078125 L 3.199219 2.851562 C 3.101562 2.828125 3 2.859375 2.929688 2.929688 C 2.859375 3 2.828125 3.101562 2.851562 3.199219 L 3.078125 4.160156 C 3.027344 4.222656 2.972656 4.285156 2.921875 4.351562 L 1.9375 4.316406 C 1.835938 4.3125 1.742188 4.363281 1.683594 4.445312 C 1.628906 4.527344 1.621094 4.632812 1.664062 4.726562 L 2.070312 5.621094 C 2.03125 5.695312 1.992188 5.765625 1.953125 5.839844 L 0.980469 6 C 0.882812 6.015625 0.800781 6.082031 0.761719 6.171875 C 0.722656 6.265625 0.734375 6.371094 0.792969 6.453125 L 1.371094 7.253906 C 1.34375 7.332031 1.320312 7.410156 1.296875 7.492188 L 0.375 7.835938 C 0.28125 7.871094 0.210938 7.953125 0.191406 8.050781 C 0.171875 8.148438 0.207031 8.25 0.277344 8.316406 L 1 8.992188 C 0.992188 9.070312 0.984375 9.152344 0.976562 9.234375 L 0.136719 9.753906 C 0.0507812 9.808594 0 9.898438 0 10 C 0 10.101562 0.0507812 10.195312 0.136719 10.246094 L 0.976562 10.765625 C 0.984375 10.847656 0.992188 10.929688 1 11.011719 L 0.277344 11.683594 C 0.207031 11.75 0.171875 11.851562 0.191406 11.953125 C 0.210938 12.050781 0.28125 12.128906 0.375 12.164062 L 1.296875 12.511719 C 1.320312 12.589844 1.34375 12.667969 1.371094 12.75 L 0.792969 13.546875 C 0.734375 13.628906 0.722656 13.734375 0.761719 13.828125 C 0.800781 13.921875 0.882812 13.984375 0.980469 14 L 1.953125 14.160156 C 1.992188 14.234375 2.03125 14.304688 2.070312 14.378906 L 1.664062 15.277344 C 1.621094 15.367188 1.628906 15.472656 1.683594 15.554688 C 1.742188 15.640625 1.835938 15.6875 1.9375 15.683594 L 2.921875 15.648438 C 2.972656 15.714844 3.027344 15.777344 3.078125 15.839844 L 2.851562 16.800781 C 2.828125 16.898438 2.859375 17 2.929688 17.070312 C 3 17.144531 3.101562 17.171875 3.199219 17.148438 L 4.160156 16.921875 C 4.222656 16.976562 4.285156 17.027344 4.351562 17.078125 L 4.316406 18.066406 C 4.3125 18.164062 4.359375 18.257812 4.445312 18.316406 C 4.527344 18.371094 4.632812 18.378906 4.726562 18.335938 L 5.621094 17.929688 C 5.695312 17.96875 5.765625 18.007812 5.839844 18.046875 L 6 19.019531 C 6.015625 19.117188 6.082031 19.199219 6.171875 19.238281 C 6.265625 19.277344 6.371094 19.265625 6.453125 19.207031 L 7.253906 18.628906 C 7.332031 18.65625 7.410156 18.679688 7.492188 18.703125 L 7.835938 19.625 C 7.871094 19.71875 7.949219 19.789062 8.050781 19.808594 C 8.148438 19.828125 8.25 19.792969 8.316406 19.722656 L 8.992188 19 C 9.070312 19.007812 9.152344 19.015625 9.234375 19.023438 L 9.753906 19.863281 C 9.808594 19.949219 9.898438 20 10 20 C 10.101562 20 10.195312 19.949219 10.246094 19.863281 L 10.765625 19.023438 C 10.847656 19.015625 10.929688 19.007812 11.011719 19 L 11.683594 19.722656 C 11.75 19.792969 11.851562 19.828125 11.949219 19.808594 C 12.050781 19.789062 12.128906 19.71875 12.164062 19.625 L 12.511719 18.703125 C 12.589844 18.679688 12.667969 18.65625 12.75 18.628906 L 13.546875 19.207031 C 13.628906 19.265625 13.734375 19.277344 13.828125 19.238281 C 13.917969 19.199219 13.984375 19.117188 14 19.019531 L 14.160156 18.046875 C 14.234375 18.007812 14.304688 17.96875 14.378906 17.929688 L 15.277344 18.335938 C 15.367188 18.378906 15.472656 18.371094 15.554688 18.316406 C 15.640625 18.257812 15.6875 18.164062 15.683594 18.066406 L 15.648438 17.078125 C 15.714844 17.027344 15.777344 16.976562 15.839844 16.921875 L 16.800781 17.148438 C 16.898438 17.171875 17 17.144531 17.070312 17.070312 C 17.140625 17 17.171875 16.898438 17.148438 16.800781 L 16.921875 15.839844 C 16.972656 15.777344 17.027344 15.714844 17.078125 15.648438 L 18.066406 15.683594 C 18.164062 15.6875 18.257812 15.640625 18.316406 15.554688 C 18.371094 15.472656 18.378906 15.367188 18.335938 15.277344 L 17.929688 14.378906 C 17.96875 14.304688 18.007812 14.234375 18.046875 14.160156 L 19.019531 14 C 19.117188 13.984375 19.199219 13.921875 19.238281 13.828125 C 19.277344 13.734375 19.265625 13.628906 19.207031 13.546875 L 18.628906 12.75 C 18.65625 12.667969 18.679688 12.589844 18.703125 12.511719 L 19.625 12.164062 C 19.71875 12.128906 19.789062 12.050781 19.808594 11.953125 C 19.828125 11.851562 19.792969 11.75 19.722656 11.683594 L 19 11.011719 C 19.007812 10.929688 19.015625 10.847656 19.023438 10.765625 L 19.863281 10.246094 C 19.949219 10.195312 20 10.101562 20 10 C 20 9.902344 19.949219 9.808594 19.863281 9.753906 Z M 14.242188 16.71875 C 13.921875 16.652344 13.71875 16.335938 13.789062 16.011719 C 13.855469 15.691406 14.171875 15.488281 14.492188 15.558594 C 14.8
353125 15.625 15.019531 15.941406 14.949219 16.261719 C 14.878906 16.585938 14.5625 16.789062 14.242188 16.71875 Z M 13.957031 14.789062 C 13.664062 14.726562 13.378906 14.914062 13.316406 15.207031 L 13.015625 16.597656 C 12.097656 17.015625 11.074219 17.246094 10 17.246094 C 8.898438 17.246094 7.855469 17.003906 6.917969 16.570312 L 6.621094 15.179688 C 6.558594 14.886719 6.269531 14.699219 5.980469 14.761719 L 4.75 15.023438 C 4.523438 14.789062 4.3125 14.539062 4.117188 14.277344 L 10.089844 14.277344 C 10.160156 14.277344 10.203125 14.265625 10.203125 14.203125 L 10.203125 12.089844 C 10.203125 12.027344 10.160156 12.015625 10.089844 12.015625 L 8.34375 12.015625 L 8.34375 10.675781 L 10.234375 10.675781 C 10.40625 10.675781 11.15625 10.726562 11.394531 11.683594 C 11.472656 11.976562 11.636719 12.9375 11.75 13.246094 C 11.863281 13.589844 12.320312 14.277344 12.804688 14.277344 L 15.785156 14.277344 C 15.816406 14.277344 15.855469 14.273438 15.890625 14.265625 C 15.683594 14.546875 15.457031 14.8125 15.214844 15.0625 Z M 5.695312 16.691406 C 5.371094 16.761719 5.058594 16.554688 4.988281 16.234375 C 4.917969 15.914062 5.125 15.597656 5.445312 15.527344 C 5.765625 15.460938 6.082031 15.664062 6.148438 15.984375 C 6.21875 16.304688 6.015625 16.621094 5.695312 16.691406 Z M 3.425781 7.5 C 3.558594 7.800781 3.425781 8.152344 3.125 8.285156 C 2.824219 8.417969 2.472656 8.28125 2.339844 7.980469 C 2.207031 7.679688 2.34375 7.328125 2.644531 7.195312 C 2.941406 7.0625 3.292969 7.199219 3.425781 7.5 Z M 2.730469 9.152344 L 4.007812 8.582031 C 4.28125 8.460938 4.40625 8.140625 4.285156 7.867188 L 4.019531 7.269531 L 5.058594 7.269531 L 5.058594 11.941406 L 2.964844 11.941406 C 2.785156 11.304688 2.6875 10.632812 2.6875 9.9375 C 2.6875 9.671875 2.703125 9.40625 2.730469 9.152344 Z M 8.34375 8.695312 L 8.34375 7.320312 L 10.8125 7.320312 C 10.9375 7.320312 11.710938 7.46875 11.710938 8.046875 C 11.710938 8.523438 11.121094 8.695312 10.632812 8.695312 Z M 17.3125 9.9375 C 17.3125 10.117188 17.304688 10.300781 17.292969 10.480469 L 16.542969 10.480469 C 16.464844 10.480469 16.4375 10.527344 16.4375 10.601562 L 16.4375 10.945312 C 16.4375 11.757812 15.980469 11.933594 15.578125 11.980469 C 15.195312 12.023438 14.773438 11.820312 14.722656 11.585938 C 14.496094 10.320312 14.121094 10.046875 13.527344 9.582031 C 14.265625 9.113281 15.027344 8.425781 15.027344 7.503906 C 15.027344 6.507812 14.347656 5.882812 13.882812 5.574219 C 13.230469 5.144531 12.507812 5.058594 12.3125 5.058594 L 4.554688 5.058594 C 5.605469 3.882812 7.03125 3.050781 8.644531 2.75 L 9.558594 3.707031 C 9.765625 3.925781 10.109375 3.933594 10.324219 3.726562 L 11.347656 2.746094 C 13.492188 3.148438 15.308594 4.480469 16.351562 6.3125 L 15.652344 7.894531 C 15.53125 8.167969 15.65625 8.488281 15.929688 8.609375 L 17.277344 9.210938 C 17.300781 9.449219 17.3125 9.691406 17.3125 9.9375 Z M 9.558594 1.933594 C 9.796875 1.707031 10.171875 1.714844 10.398438 1.953125 C 10.625 2.191406 10.617188 2.566406 10.378906 2.792969 C 10.
353140625 3.019531 9.765625 3.011719 9.539062 2.773438 C 9.3125 2.535156 9.320312 2.160156 9.558594 1.933594 Z M 16.511719 7.527344 C 16.644531 7.226562 16.996094 7.09375 17.292969 7.226562 C 17.59375 7.359375 17.730469 7.710938 17.597656 8.011719 C 17.464844 8.308594 17.113281 8.445312 16.8125 8.3125 C 16.511719 8.179688 16.378906 7.828125 16.511719 7.527344 Z M 16.511719 7.527344 "/> 354 </g> 355 </svg> 356 <span>Rust Compiler</span> 357 </a> 358 359 <a class="dropdown-item ruby" href="https://ruby.codeutility.io/"> 360 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="15px" height="15px"><path d="M 3.125 23.160156 L 8.183594 14.480469 C 8.230469 14.394531 8.292969 14.316406 8.363281 14.253906 L 17.441406 5.792969 C 17.539063 5.703125 17.65625 5.632813 17.78125 5.585938 L 25.578125 2.722656 L 32.152344 7.316406 L 28.878906 17.722656 L 16.597656 29.132813 L 6.582031 31.378906 Z M 7.296875 33.269531 L 11.96875 46.628906 L 15.8125 31.355469 Z M 42.484375 2.875 L 35.074219 6.992188 L 47.355469 15.910156 C 47.613281 14.761719 47.914063 13.195313 47.984375 11.863281 C 47.980469 11.847656 47.980469 11.828125 47.980469 11.808594 C 48.019531 9.910156 47.707031 7.925781 46.675781 6.210938 C 45.75 4.667969 44.359375 3.539063 42.535156 2.828125 C 42.519531 2.84375 42.507813 2.863281 42.484375 2.875 Z M 34.375 35.578125 L 29.296875 20.058594 L 18.988281 29.644531 Z M 31.144531 19.269531 L 36.1875 34.679688 C 40.132813 30.386719 44.171875 25.246094 46.476563 18.925781 Z M 45.382813 16.949219 L 33.851563 8.578125 L 31.117188 17.269531 Z M 5.761719 34.9375 L 2.335938 40.816406 C 3.507813 46.242188 7.566406 47.457031 10.242188 47.753906 Z M 4.878906 32.484375 L 2 25.644531 L 2 37.421875 Z M 39.921875 2.011719 C 39.90625 2.007813 39.890625 2 39.871094 2 L 28.039063 2 L 33.3125 5.6875 Z M 17.875 31.355469 L 13.777344 47.632813 C 22.109375 46.40625 28.359375 41.929688 33.425781 37.355469 Z M 44.546875 45.648438 C 44.3125 45.648438 44.074219 45.566406 43.882813 45.398438 L 35.617188 38.058594 C 31.984375 41.429688 27.742188 44.855469 22.519531 47.164063 L 44.5625 45.667969 C 44.691406 45.660156 44.8125 45.621094 44.925781 45.570313 C 44.804688 45.621094 44.675781 45.648438 44.546875 45.648438 Z M 37.0625 36.667969 L 45.210938 43.902344 C 45.382813 44.054688 45.472656 44.253906 45.511719 44.460938 L 47.195313 22.414063 C 44.582031 28.078125 40.742188 32.730469 37.0625 36.667969 Z"/></svg> 361 <span>Ruby Interpreter</span> 362 </a> 363 364 <a class="dropdown-item java" href="https://java.codeutility.io/"> 365 <svg width="18" height="18" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m8.851 18.56s-.917.534.653.714c1.902.218 2.874.187 4.969-.211 0 0 .552.346 1.321.646-4.699 2.013-10.633-.118-6.943-1.149m-.575-2.627s-1.028.761.542.924c2.032.209 3.636.227 6.413-.308 0 0 .384.389.987.602-5.679 1.661-12.007.13-7.942-1.218m4.84-4.458c1.158 1.333-.304 2.533-.304 2.533s2.939-1.518 1.589-3.418c-1.261-1.772-2.228-2.652 3.007-5.688 0-.001-8.216 2.051-4.292 6.573m6.214 9.029s.679.559-.747.991c-2.712.822-11.288 1.069-13.669.033-.856-.373.75-.89 1.254-.998.527-.114.828-.093.828-.093-.953-.671-6.156 1.317-2.643 1.887 9.58 1.553 17.462-.7 14.977-1.82m-10.038-7.294s-4.362 1.036-1.544 1.412c1.189.159 3.561.123 5.77-.062 1.806-.152 3.618-.477 3.618-.477s-.637.272-1.098.587c-4.429 1.165-12.986.623-10.522-.568 2.082-1.006 3.776-.892 3.776-.892m7.824 4.374c4.503-2.34 2.421-4.589.968-4.285-.355.074-.515.138-.515.138s.132-.207.385-.297c2.875-1.011 5.086 2.981-.928 4.562 0-.001.07-.062.09-.118m-2.715-17.584s2.494 2.494-2.365 6.33c-3.896 3.077-.888 4.832-.001 6.836-2.274-2.053-3.943-3.858-2.824-5.539 1.644-2.469 6.197-3.665 5.19-7.627m-4.667 23.924c4.322.277 10.959-.153 11.116-2.198 0 0-.302.775-3.572 1.391-3.688.694-8.239.613-10.937.168 0-.001.553.457 3.393.639"/></svg> 366 <span>Java Compiler</span> 367 </a> 368 369 <a class="dropdown-item go" href="https://go.codeutility.io/"> 370 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="17px" height="15px"><path d="M 25 2 C 18 2 14.908203 5.5175781 14.908203 5.5175781 C 14.343203 5.1955781 13.699 5 13 5 C 10.791 5 9 6.791 9 9 C 9 10.863 10.276 12.418281 12 12.863281 L 12 22.878906 L 8.4394531 26.439453 C 7.8534531 27.025453 7.8534531 27.974547 8.4394531 28.560547 C 8.7324531 28.853547 9.116 29 9.5 29 C 9.884 29 10.267547 28.853547 10.560547 28.560547 L 11.902344 27.21875 C 11.651344 29.89475 11 31.154 11 36 C 11 38.529 12.222063 41.240844 14.539062 43.339844 L 12.439453 45.439453 C 11.853453 46.025453 11.853453 46.974547 12.439453 47.560547 C 12.732453 47.853547 13.116 48 13.5 48 C 13.884 48 14.267547 47.853547 14.560547 47.560547 L 17.03125 45.091797 C 19.16525 46.260797 21.828 47 25 47 C 28.172 47 30.835703 46.260797 32.970703 45.091797 L 35.439453 47.560547 C 35.731453 47.853547 36.116 48 36.5 48 C 36.884 48 37.267547 47.853547 37.560547 47.560547 C 38.146547 46.974547 38.146547 46.025453 37.560547 45.439453 L 35.460938 43.339844 C 37.777938 41.240844 39 38.529 39 36 C 39 31.154 38.348656 29.89575 38.097656 27.21875 L 39.439453 28.560547 C 39.732453 28.854547 40.116 29 40.5 29 C 40.884 29 41.267547 28.853547 41.560547 28.560547 C 42.145547 27.974547 42.145547 27.025453 41.560547 26.439453 L 38 22.878906 L 38 12.863281 C 39.724 12.418281 41 10.862 41 9 C 41 6.791 39.209 5 37 5 C 36.301 5 35.656797 5.1955781 35.091797 5.5175781 C 35.091797 5.5175781 32 2 25 2 z M 13 8 C 13.299 8 13.550422 8.1425625 13.732422 8.3515625 C 13.422422 8.8645625 13.166422 9.4140938 12.982422 9.9960938 C 12.438422 9.9860938 12 9.546 12 9 C 12 8.448 12.448 8 13 8 z M 37 8 C 37.552 8 38 8.448 38 9 C 38 9.546 37.561578 9.9860938 37.017578 9.9960938 C 36.833578 9.4130937 36.577578 8.8645625 36.267578 8.3515625 C 36.449578 8.1425625 36.701 8 37 8 z M 19.501953 9.0019531 C 21.434953 9.0029531 22.999047 10.568953 22.998047 12.501953 C 22.997047 14.434953 21.430047 16.001 19.498047 16 C 17.66949 15.999054 16.187176 14.589813
37016.03125 12.802734 C 16.171195 13.486055 16.7755 14 17.5 14 C 18.328 14 19 13.328 19 12.5 C 19 11.671 18.329 11 17.5 11 C 16.7755 11 16.171195 11.513945 16.03125 12.197266 C 16.187092 10.407645 17.672043 9.0010065 19.501953 9.0019531 z M 30.5 9.0019531 C 32.433 9.0029531 33.999047 10.568953 33.998047 12.501953 C 33.997047 14.434953 32.429094 16.001 30.496094 16 C 28.563094 15.999 26.997047 14.431047 26.998047 12.498047 C 26.999047 10.565047 28.567 9.0009531 30.5 9.0019531 z M 28.5 11 C 27.672 11 27 11.672 27 12.5 C 27 13.328 27.672 14 28.5 14 C 29.328 14 30 13.328 30 12.5 C 30 11.671 29.328 11 28.5 11 z M 25 16 C 26.105 16 27 16.448 27 17 C 27 17.552 26.105 18 25 18 C 23.895 18 23 17.552 23 17 C 23 16.448 23.895 16 25 16 z M 28.505859 18.490234 C 28.810859 18.951234 29 19.474 29 20 C 29 20.5 29 22 25 22 C 21 22 21 20.5 21 20 C 21 19.475 21.189188 18.954141 21.492188 18.494141 C 22.152188 19.413141 23.425 20 25 20 C 26.577 20 27.850859 19.412234 28.505859 18.490234 z M 23 23.845703 C 23.583 23.941703 24.24 24 25 24 C 25.76 24 26.417 23.941703 27 23.845703 L 27 25 C 27 25.553 26.552 26 26 26 C 25.448 26 25 25.553 25 25 C 25 25.553 24.552 26 24 26 C 23.448 26 23 25.553 23 25 L 23 23.845703 z"/></svg> 371 <span>Go Compiler</span> 372 </a> 373 374 <a class="dropdown-item kotlin" href="https://kotlin.codeutility.io/"> 375 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="17px" height="17px"><path d="M11.59 3L3 11.59V4c0-.552.448-1 1-1H11.59zM18.88 4.71L9.58 14l-6.46 6.46C3.04 20.32 3 20.17 3 20v-5.59L14.41 3h3.76C19.07 3 19.51 4.08 18.88 4.71zM18.586 21H5.42l7.785-7.795 6.087 6.087C19.923 19.923 19.477 21 18.586 21z"/></svg> 376 <span>Kotlin Compiler</span> 377 </a> 378 379 <a class="dropdown-item swift" href="https://swift.codeutility.io/"> 380 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="17px" height="17px"><path d="M35.5,3h-21C8.159,3,3,8.159,3,14.5v21C3,41.841,8.159,47,14.5,47h21C41.841,47,47,41.841,47,35.5v-21 C47,8.159,41.841,3,35.5,3z M39.615,39c0,0-1.65-2.807-4.416-2.807c-2.666,0-4.707,2.807-10.074,2.807 c-9.975-0.001-15.629-7.398-17.093-9.7c-0.115-0.181,0.1-0.381,0.281-0.266C12.555,31.701,16.658,33,19.5,32.999 C23.657,32.998,26,31,26,31c-3.829-2.255-13-12.75-14.954-15.681c-0.135-0.202,0.107-0.425,0.293-0.269 c7.947,6.684,12.476,9.203,12.476,9.203c-1.682-1.412-6.69-8.004-8.773-10.935c-0.141-0.198,0.118-0.427,0.296-0.262 C21.038,18.356,31,26,31,26c0.627-1.764,1.024-3.881,0.998-5.5c-0.067-4.269-2.82-8.526-3.961-10.191 c-0.129-0.188,0.106-0.399,0.291-0.266c7.422,5.332,9.673,11.99,9.672,15.832c-0.001,2.76-1,4.5-1,4.5S41.232,34.992,39.615,39z"/></svg> 381 <span>Swift Compiler</span> 382 </a> 383 384 <a class="dropdown-item ts" href="https://typescript.codeutility.io/"> 385 <svg viewBox="0 0 18 21" role="img" xmlns="http://www.w3.org/2000/svg" width="15" height="15"><g id="SVGRepo_bgCarrier" stroke-width="0"/><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/><g id="SVGRepo_iconCarrier"><path d="M0 10v10h20V0H0zm16.118 -0.797c0.508 0.127 0.895 0.352 1.251 0.721 0.184 0.197 0.458 0.555 0.479 0.642 0.007 0.025 -0.863 0.608 -1.39 0.936 -0.019 0.013 -0.096 -0.07 -0.181 -0.197 -0.258 -0.375 -0.528 -0.537 -0.94 -0.565 -0.607 -0.042 -0.997 0.276 -0.993 0.806a0.75 0.75 0 0 0 0.085 0.375c0.133 0.276 0.382 0.442 1.158 0.778 1.433 0.617 2.045 1.023 2.426 1.6 0.425 0.644 0.521 1.673 0.232 2.438 -0.317 0.832 -1.104 1.397 -2.212 1.583 -0.342 0.061 -1.155 0.052 -1.523 -0.015 -0.803 -0.143 -1.565 -0.54 -2.035 -1.061 -0.184 -0.203 -0.543 -0.733 -0.521 -0.771a1.333 1.333 0 0 1 0.183 -0.117c0.09 -0.051 0.426 -0.245 0.743 -0.429l0.575 -0.333 0.121 0.178c0.168 0.257 0.536 0.609 0.758 0.727 0.638 0.337 1.514 0.289 1.946 -0.098a0.733 0.733 0 0 0 0.261 -0.6c0 -0.232 -0.029 -0.333 -0.15 -0.508 -0.155 -0.222 -0.472 -0.408 -1.374 -0.8 -1.032 -0.444 -1.476 -0.72 -1.883 -1.158a2.667 2.667 0 0 1 -0.549 -1c-0.076 -0.283 -0.095 -0.991 -0.035 -1.276 0.213 -0.998 0.965 -1.692 2.051 -1.898 0.352 -0.067 1.172 -0.042 1.518 0.044m-4.695 0.835 0.007 0.819H8.825v7.397H6.983v-7.397H4.382v-0.803c0 -0.445 0.009 -0.817 0.022 -0.825 0.01 -0.013 1.594 -0.02 3.514 -0.017l3.496 0.01z"/></g></svg>
386 <span>TypeScript Compiler</span> 387 </a> 388 </div> 389 </div> 390 </div> 391 </li> 392 393 <li id="learn-menu-li" class="nav-item nav-main-item dropdown dmenu"> 394 <a id="learn-menu-toggle" 395 class="nav-link dropdown-toggle text-uppercase active" 396 href="#" 397 data-bs-toggle="dropdown" 398 aria-haspopup="true" 399 aria-expanded="false"> 400 Learn 401 </a> 402 <div class="dropdown-menu dropdown-menu-end learn-menu sm-menu" aria-labelledby="learn-menu-toggle"> 403 <div class="learn-menu-grid"> 404 <a class="learn-menu-item" 405 href="https://python.codeutility.io/examples/"> 406 <span class="learn-menu-icon learn-menu-icon--python" aria-hidden="true"> 407 <svg viewBox="0 0 30 30" focusable="false"><path d="M13 3c-2.21 0-4 1.79-4 4v1h5a1 1 0 1 1 0 2H7c-2.21 0-4 1.79-4 4v4c0 2.21 1.79 4 4 4h1v-5a3 3 0 0 1 3-3h8a1 1 0 0 0 1-1V7c0-2.21-1.79-4-4-4h-3Zm-1 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm10 3v5a3 3 0 0 1-3 3h-8a1 1 0 0 0-1 1v6c0 2.21 1.79 4 4 4h3c2.21 0 4-1.79 4-4v-1h-5a1 1 0 1 1 0-2h7c2.21 0 4-1.79 4-4v-4c0-2.21-1.79-4-4-4h-1Zm-4 15a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></svg> 408 </span> 409 <span class="learn-menu-copy"> 410 <strong>Python Learning Hub</strong> 411 <small>Runnable examples, NumPy, pandas, and more</small> 412 </span> 413 </a> 414 415 <a class="learn-menu-item" 416 href="https://cpp.codeutility.io/examples/"> 417 <span class="learn-menu-icon learn-menu-icon--cpp" aria-hidden="true"> 418 <svg viewBox="0 0 50 50" focusable="false"><path d="M43.91 12 27.07 2.54a4.25 4.25 0 0 0-4.14 0L6.09 12A4.07 4.07 0 0 0 4 15.54v18.93A4.07 4.07 0 0 0 6.09 38l16.84 9.46a4.25 4.25 0 0 0 4.14 0L43.91 38A4.07 4.07 0 0 0 46 34.47V15.54A4.07 4.07 0 0 0 43.91 12ZM25 37a12 12 0 1 1 9.54-19.26l-4.38 2.54A7 7 0 1 0 25 32a7 7 0 0 0 5.16-2.28l4.38 2.54A11.95 11.95 0 0 1 25 37Zm12-11h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2Zm7 0h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2Z"/></svg> 419 </span> 420 <span class="learn-menu-copy"> 421 <strong>C & C++ Learning Hub</strong> 422 <small>Pointers, memory, STL, and modern C++</small> 423 </span> 424 </a> 425 426 <a class="learn-menu-item" 427 href="https://csharp.codeutility.io/examples/"> 428 <span class="learn-menu-icon learn-menu-icon--cpp" aria-hidden="true"> 429 <svg viewBox="0 0 50 50" focusable="false"><path d="M43.9 12 27.1 2.5a4.3 4.3 0 0 0-4.2 0L6.1 12A4.1 4.1 0 0 0 4 15.5v19A4.1 4.1 0 0 0 6.1 38l16.8 9.5a4.3 4.3 0 0 0 4.2 0L43.9 38a4.1 4.1 0 0 0 2.1-3.5v-19a4.1 4.1 0 0 0-2.1-3.5ZM25 37a12 12 0 1 1 9.5-19.3l-4.3 2.6A7 7 0 1 0 30.2 29.7l4.3 2.6A12 12 0 0 1 25 37Zm15-11h-3v3h-2v-3h-3v-2h3v-3h2v3h3v2Z"/></svg> 430 </span> 431 <span class="learn-menu-copy"><strong>C# Learning Hub</strong><small>C# basics, OOP, LINQ, async, and .NET exercises</small></span> 432 </a> 433 434 <a class="learn-menu-item" 435 href="https://python.codeutility.io/algorithms/"> 436 <span class="learn-menu-icon learn-menu-icon--algorithm" aria-hidden="true"> 437 <svg class="learn-menu-icon-svg--stroke" viewBox="0 0 24 24" focusable="false"> 438 <rect x="8" y="2.5" width="8" height="5" rx="1.5"/> 439 <circle cx="6" cy="18" r="2.5"/> 440 <circle cx="18" cy="18" r="2.5"/> 441 <path d="M12 7.5v4m0 0H6v4m6-4h6v4"/> 442 </svg> 443 </span> 444 <span class="learn-menu-copy"> 445 <strong>Python Algorithms</strong> 446 <small>Search, sorting, recursion, and visualizers</small> 447 </span> 448 </a> 449 450 <a class="learn-menu-item active" 451 href="https://cpp.codeutility.io/examples/algorithms/"> 452 <span class="learn-menu-icon learn-menu-icon--complexity" aria-hidden="true"> 453 <span class="learn-menu-complexity">O(n)</span> 454 </span>
455 <span class="learn-menu-copy"> 456 <strong>C & C++ Algorithms</strong> 457 <small>Compare algorithms implemented in C and C++</small> 458 </span> 459 </a> 460 </div> 461 </div> 462 </li> 463 </ul> 464 </div> 465 466 <ul class="navbar-nav ms-md-auto d-md-flex me-1 me-md-3 ms-auto"> 467 <li class="nav-item updates" id="open-updates-modal"> 468 <svg aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" style="color: rgb(255, 255, 255); height: 28px; width: 28px;"><path fill="currentColor" d="M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"></path></svg> 469 <div class="badge-count d-none"><span>0</span></div> 470 </li> 471 <li class="nav-item"> 472 <div class="btn-group me-3" id="theme-mode" role="group" aria-label="Theme Mode" title="Switch Theme"> 473 <button type="button" data-theme="light" class="btn btn-sm btn-light"> 474 <svg style="width: 14px; height: 14px;margin-top:-2px;" aria-hidden="true" focusable="false" data-prefix="far" data-icon="sun" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M494.2 221.9l-59.8-40.5 13.7-71c2.6-13.2-1.6-26.8-11.1-36.4-9.6-9.5-23.2-13.7-36.2-11.1l-70.9 13.7-40.4-59.9c-15.1-22.3-51.9-22.3-67 0l-40.4 59.9-70.8-13.7C98 60.4 84.5 64.5 75 74.1c-9.5 9.6-13.7 23.1-11.1 36.3l13.7 71-59.8 40.5C6.6 229.5 0 242 0 255.5s6.7 26 17.8 33.5l59.8 40.5-13.7 71c-2.6 13.2 1.6 26.8 11.1 36.3 9.5 9.5 22.9 13.7 36.3 11.1l70.8-13.7 40.4 59.9C230 505.3 242.6 512 256 512s26-6.7 33.5-17.8l40.4-59.9 70.9 13.7c13.4 2.7 26.8-1.6 36.3-11.1 9.5-9.5 13.6-23.1 11.1-36.3l-13.7-71 59.8-40.5c11.1-7.5 17.8-20.1 17.8-33.5-.1-13.6-6.7-26.1-17.9-33.7zm-112.9 85.6l17.6 91.2-91-17.6L256 458l-51.9-77-90.9 17.6 17.6-91.2-76.8-52 76.8-52-17.6-91.2 91 17.6L256 53l51.9 76.9 91-17.6-17.6 91.1 76.8 52-76.8 52.1zM256 152c-57.3 0-104 46.7-104 104s46.7 104 104 104 104-46.7 104-104-46.7-104-104-104zm0 160c-30.9 0-56-25.1-56-56s25.1-56 56-56 56 25.1 56 56-25.1 56-56 56z"></path></svg> 475 <span class="d-sm-inline d-none">Light Theme</span> 476 </button> 477</div> 478 </li> 479 <li class="nav-item d-xs-none ms-auto" id="currentUserContainer"> 480 <button class="btn btn-primary btn-sm" id="sign-in-btn" data-bs-toggle="modal" data-bs-target="#sign_in_modal">Sign In</button> 481 </li> 482 </ul> 483</header> 484 485 <main id="c_family_content_page" style="visibility: hidden;"> 486 487<main class="python-content c-family-content py-4"> 488 <nav aria-label="Breadcrumb"><ol class="pc-breadcrumb"><li><a href="https://cpp.codeutility.io/">C++ Online IDE</a></li><li><a href="https://cpp.codeutility.io/examples/">C/C++ Examples</a></li><li aria-current="page">C/C++ Algorithms</li></ol></nav> 489 <header class="pc-hero mb-5"><span class="pc-eyebrow">Runnable C and C++ guides</span><h1>C/C++ Algorithms</h1><p class="lead python-content-muted">Searching, sorting, recursion, and bit manipulation with runnable implementations.</p><div class="d-flex flex-wrap gap-2"><a class="btn btn-primary" href="http://c.codeutility.io/7adf9f96dbd7" target="_blank" rel="noopener noreferrer">Run C online</a><a class="btn btn-outline-primary" href="https://cpp.codeutility.io/422e7ec89e4d" target="_blank" rel="noopener noreferrer">Run C++ online</a></div></header> 490 <section aria-labelledby="category-examples"><h2 id="category-examples">7 C/C++ lessons</h2><div class="row mt-3"><article class="col-md-6 col-lg-4 mb-4"> 491 <div class="card h-100 python-content-card"> 492 <div class="card-body d-flex flex-column"> 493 <h2 class="h5 card-title"><a class="text-decoration-none" href="https://cpp.codeutility.io/examples/algorithms/linear-search/">Linear Search</a></h2> 494 <p class="card-text python-content-muted flex-grow-1">Find a target in unsorted data.</p> 495 <a class="python-card-link align-self-start text-decoration-none fw-semibold" href="https://cpp.codeutility.io/examples/algorithms/linear-search/">View C/C++ example â</a> 496 </div> 497 </div> 498</article> 499<article class="col-md-6 col-lg-4 mb-4"> 500 <div class="card h-100 python-content-card"> 501 <div class="card-body d-flex flex-column"> 502 <h2 class="h5 card-title"><a class="text-decoration-none" href="https://cpp.codeutility.io/examples/algorithms/binary-search/">Binary Search</a></h2> 503 <p class="card-text python-content-muted flex-grow-1">Search sorted data in logarithmic time.</p> 504 <a class="python-card-link align-self-start text-decoration-none fw-semibold" href="https://cpp.codeutility.io/examples/algorithms/binary-search/">View C/C++ example â</a> 505 </div> 506 </div> 507</article> 508<article class="col-md-6 col-lg-4 mb-4"> 509 <div class="card h-100 python-content-card"> 510 <div class="card-body d-flex flex-column"> 511 <h2 class="h5 card-title"><a class="text-decoration-none" href="https://cpp.codeutility.io/examples/algorithms/bubble-sort/">
511Bubble Sort</a></h2> 512 <p class="card-text python-content-muted flex-grow-1">Sort by repeatedly swapping adjacent inversions.</p> 513 <a class="python-card-link align-self-start text-decoration-none fw-semibold" href="https://cpp.codeutility.io/examples/algorithms/bubble-sort/">View C/C++ example â</a> 514 </div> 515 </div> 516</article> 517<article class="col-md-6 col-lg-4 mb-4"> 518 <div class="card h-100 python-content-card"> 519 <div class="card-body d-flex flex-column"> 520 <h2 class="h5 card-title"><a class="text-decoration-none" href="https://cpp.codeutility.io/examples/algorithms/merge-sort/">Merge Sort</a></h2> 521 <p class="card-text python-content-muted flex-grow-1">Use divide and conquer for predictable O(n log n) sorting.</p> 522 <a class="python-card-link align-self-start text-decoration-none fw-semibold" href="https://cpp.codeutility.io/examples/algorithms/merge-sort/">View C/C++ example â</a> 523 </div> 524 </div> 525</article> 526<article class="col-md-6 col-lg-4 mb-4"> 527 <div class="card h-100 python-content-card"> 528 <div class="card-body d-flex flex-column"> 529 <h2 class="h5 card-title"><a class="text-decoration-none" href="https://cpp.codeutility.io/examples/algorithms/quick-sort/">Quick Sort</a></h2> 530 <p class="card-text python-content-muted flex-grow-1">Partition values around a pivot.</p> 531 <a class="python-card-link align-self-start text-decoration-none fw-semibold" href="https://cpp.codeutility.io/examples/algorithms/quick-sort/">View C/C++ example â</a> 532 </div> 533 </div> 534</article> 535<article class="col-md-6 col-lg-4 mb-4"> 536 <div class="card h-100 python-content-card"> 537 <div class="card-body d-flex flex-column"> 538 <h2 class="h5 card-title"><a class="text-decoration-none" href="https://cpp.codeutility.io/examples/algorithms/bit-manipulation/">Bit Manipulation</a></h2> 539 <p class="card-text python-content-muted flex-grow-1">Set, clear, toggle, and test individual flags.</p> 540 <a class="python-card-link align-self-start text-decoration-none fw-semibold" href="https://cpp.codeutility.io/examples/algorithms/bit-manipulation/">View C/C++ example â</a> 541 </div> 542 </div> 543</article> 544<article class="col-md-6 col-lg-4 mb-4"> 545 <div class="card h-100 python-content-card"> 546 <div class="card-body d-flex flex-column"> 547 <h2 class="h5 card-title"><a class="text-decoration-none" href="https://cpp.codeutility.io/examples/algorithms/recursion/">Recursion and the Call Stack</a></h2> 548 <p class="card-text python-content-muted flex-grow-1">Solve a problem by reducing it to a smaller instance.</p> 549 <a class="python-card-link align-self-start text-decoration-none fw-semibold" href="https://cpp.codeutility.io/examples/algorithms/recursion/">View C/C++ example â</a> 550 </div> 551 </div> 552</article> 553</div></section> 554</main> 555 556 </main> 557 <div id="cookie-law-info-bar" style="display: none;"> 558 <span>This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. 559 <a role="button" tabindex="0" data-bs-toggle="modal" data-bs-target="#cookie_settings_modal" class="cli-settings-button">Cookie Settings</a> 560 <a role="button" tabindex="0" data-cli_action="accept" id="cookie-settings-accept">ACCEPT</a> 561 </span> 562</div> 563<footer class="bd-footer text-muted mt-auto"> 564 <div class="container-fluid p-3 p-md-5 d-flex flex-column flex-md-row justify-content-between align-items-center"> 565 <div> 566 <ul class="bd-footer-links mb-2 mb-md-4"> 567 <li><a href="https://codeutility.io/">Home</a></li> 568 <li><a href="https://blog.codeutility.io/">Tech Articles</a></li> 569 <li><a href="https://codeutility.io/tools">Tools</a></li> 570 <li><a href="https://codeutility.io/updates">Updates</a></li> 571 <li><a href="https://codeutility.io/our-story">About Us</a></li> 572 <li><a href="https://codeutility.io/talk-to-us">Contact Us</a></li> 573 <li><a href="https://codeutility.io/privacy-policy">Privacy Policy</a></li> 574 <li><a href="https://codeutility.io/terms-of-service">Terms of Service</a></li> 575 </ul> 576 <p class="mt-2"> 577 Built with passion and precision by the 578 <a href="https://github.com/dinhhientran">@codeutility-team</a>. 579 </p> 580 </div> 581 <div class="mt-3 mt-md-0 language-select-container"> 582 <select id="languageSelect" style="width: 220px;"></select> 583 </div> 584 </div> 585</footer> 586 587 </div> 588 <div id="updatesPopover" class="modal"> 589 <div class="modal-header">
590 <span class="modal-title">Latest Updates</span> 591 <a href="https://codeutility.io/updates" target="_blank" class="external-link" aria-label="Open in New Tab"> 592 <span class="me-1">View All Updates</span> 593 <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 24 24"> 594 <path d="M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7H5V5z"/> 595 </svg> 596 </a> 597 </div> 598 <div class="modal-body"> 599 </div> 600 </div> 601 </body> 602</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.