PageSourceSearch

https://www.codechef.com/build/react2/assets/LearnTopicPage-Bdj35Ebx.js

js codechef.com collected 2026-10-01 10:25:42 UTC 22,991 bytes, 1 lines download raw bytes

1import{r as d,a1 as xe,Z as t,a2 as m,a3 as i,Y as Te}from"./vendor-mui-BWh-6WAH.js";import{U as He,S as Re,b as Ee,d as R,A as U,a as ae,Z as s,X as _,k as je,g as W,T as Oe}from"./index-Df_dD346.js";import{S as Me}from"./SelectDropdown-3_52kpVq.js";import{L as Be,R as te}from"./LearningPathCard-Df9nhDPs.js";import{S as Fe}from"./index-BvdDkoxk.js";import"./__commonjsHelpers__-BosuxZz1.js";import"./vendor-sweetalert2-CokzRhbv.js";const E=[{id:63,name:"C++"},{id:116,name:"Python"},{id:10,name:"Java"},{id:11,name:"C"},{id:44,name:"C++"},{id:109,name:"Python"},{id:40,name:"SQL"},{id:27,name:"C#"},{id:56,name:"JavaScript"},{id:93,name:"Rust"},{id:114,name:"Go"},{id:47,name:"Kotlin"},{id:29,name:"PHP"},{id:42,name:"C++"}],G=[{topic:"Learn Python",slug:"python"},{topic:"Learn C++",slug:"cpp"},{topic:"Learn C",slug:"c"},{topic:"Learn Java",slug:"java"},{topic:"Data structures and Algorithms",slug:"data-structures-and-algorithms"},{topic:"Data analytics",slug:"data-analytics"},{topic:"Web development",slug:"web-development"},{topic:"Learn C#",slug:"c-sharp"},{topic:"Learn Kotlin",slug:"kotlin"},{topic:"Learn Rust",slug:"rust"},{topic:"Foundations of programming",slug:"foundations-of-programming"},{topic:"Beginner DSA",slug:"beginner-dsa"},{topic:"Data structures",slug:"data-structures"},{topic:"Algorithms",slug:"algorithms"},{topic:"Difficulty rating wise",slug:"difficulty-rating-wise"},{topic:"Star wise paths",slug:"star-wise-paths"},{topic:"Interview Prep",slug:"interview"},{topic:"SQL",slug:"sql-practice"},{topic:"Debugging Puzzles",slug:"puzzles"},{topic:"Learn Go",slug:"go"},{topic:"All Roadmaps",slug:"roadmaps"},{topic:"All Skill Test",slug:"skill-tests"},{topic:"Learn PHP",slug:"php"},{topic:"Machine Learning",slug:"machine-learning"},{topic:"Development Fundamentals",slug:"development-fundamentals"}],ne=[{topic:"Learn Python",slug:"python",item:"This module is excellent for both learning and practicing simultaneously. It provides a clear and deep understanding of concepts, unlike traditional learning methods.",profession:"Student",username:"hamidkhan18",learnersCount:"30k"},{topic:"Learn Cpp",slug:"cpp",item:"I found the module very informative and useful. The examples and exercises were clear and relevant, and the explanations were concise and easy to follow. I especially liked the interactive quizzes that tested my understanding and gave me instant feedback.",profession:"Student",username:"thegeeksam",learnersCount:"30k"},{topic:"Learn C",slug:"c",item:"I find this platform very interactive and helpful, much better than many YouTube videos. This will help me clear my college C exams.",profession:"Student",username:"abhijitsudheer",learnersCount:"30k"},{topic:"Learn Java",slug:"java",item:"I have been trying to learn coding for a while, but getting stuck was frustrating, but here, I have the option to seek help when I am stuck. It has been a really positive experience for me.",profession:"Student",username:"nishya97",learnersCount:"30k"},{topic:"Data analytics",slug:"data-analytics",item:"This was really good as I was given hints at the start and then I had to do it on my own which made it really effective way of learning",profession:"Student",username:"devil_slayer",learnersCount:"30k"},{topic:"Learn Kotlin",slug:"kotlin",item:"The content and resources available are comprehensive, well-structured, and immensely informative. The way the lessons are presented has made complex topics easily understandable, allowing me to grasp new concepts effortlessly.",profession:"Student",username:"sabreenmalik",learnersCount:"30k"},{topic:"Learn Go",slug:"go",item:"I found the module very informative and useful. The examples and exercises were clear and relevant, and the explanations were concise and easy to follow. I especially liked the interactive quizzes that tested my understanding and gave me instant feedback.",profession:"Student",username:"thegeeksam",learnersCount:"30k"},{topic:"Learn Rust",slug:"rust",item:"I truly appreciate the quality of the content and assistance provided. The problems you offered are awesome for beginners. The support here has been instrumental in my learning journey",profession:"Student",username:"shakilahamedri",learnersCount:"30k"},{topic:"Learn C#",slug:"c-sharp",item:"I have been trying to learn coding for a while, but getting stuck was frustrating, but here, I have the option to seek help when I am stuck. It has been a really positive experience for me.",profession:"Student",username:"nishya97",learnersCount:"30k"},{topic:"Web Development",slug:"web-development",item:"I have been trying to learn coding for a while, but getting stuck was frustrating, but here, I have the option to seek help when I am stuck. It has been a really positive experience for me.",profession:"Student",username:"nishya97",learnersCount:"30k"}
1],se=[42,116,11,10,56],C="All Courses Catalog",v="All Roadmaps",h="Skill Tests",re="Data structures and Algorithms",qe="Explore the fundamental building blocks of computer science through our comprehensive courses on Data Structures and Algorithms. Gain a solid understanding of both theory and practical application.",Ue="_topBannerSection_110wv_3",We="_bannerSection_110wv_7",Ge="_bannerHead_110wv_22",ze="_mHead_110wv_26",Qe="_topicDesc_110wv_51",Je="_dark_110wv_62",Ke="_fullPageContainer_110wv_66",Ye="_leftContainer_110wv_111",Ze="_buttonContainer_110wv_116",Ve="_topicIcon_110wv_125",Xe="_tabs_110wv_133",ea="_tabsHeading_110wv_138",aa="_tabsContainer_110wv_149",ta="_topicsHeading_110wv_154",na="_tabsComp_110wv_162",sa="_assessmentTab_110wv_187",ra="_tabsCompSelected_110wv_204",oa="_mobileDropdown_110wv_220",ia="_selectBox_110wv_236",ca="_rightContainer_110wv_259",la="_mainHeading_110wv_271",da="_sectionHead_110wv_280",ua="_courseDetailsContainer_110wv_291",ma="_mainContainer_110wv_308",pa="_searchContainer_110wv_314",ha="_searchIcon_110wv_318",ga="_searchInput_110wv_327",_a="_noCourseFoundMessage_110wv_355",Ca="_cards__container_110wv_361",va="_card_110wv_361",fa="_learning__card_110wv_376",wa="_topRowContainer_110wv_398",Sa="_title_110wv_435",ka="_roadmapCardSection_110wv_445",Na="_firstSection_110wv_450",ya="_maxWidth320px_110wv_467",ba="_allCoursesCardSection_110wv_471",Ia="_firstSectionCards_110wv_476",La="_courseCard_110wv_486",$a="_primaryButton_110wv_493",Aa="_ratingContainer_110wv_497",Da="_star_110wv_497",Pa="_learnCard_110wv_521",xa="_course__icon_110wv_590",Ta="_testimonialCard_110wv_617",Ha="_topContent_110wv_645",Ra="_quoteMark_110wv_650",Ea="_review_110wv_659",ja="_learnersInfo_110wv_675",Oa="_userInfo_110wv_687",Ma="_username_110wv_692",Ba="_roadmapCardsContainer_110wv_701",Fa="_cardsContainer_110wv_723",qa="_allCoursesCard_110wv_471",Ua="_paragraph_110wv_796",Wa="_rightContent_110wv_816",Ga="_courseInfo_110wv_837",za="_learnCount_110wv_849",Qa="_dot_110wv_856",Ja="_starEmpty_110wv_872",Ka="_ratingInfo_110wv_901",Ya="_rating_110wv_497",Za="_totalCount_110wv_906",Va="_chipContainer_110wv_1102",Xa="_inProgressChip_110wv_1108",et="_completedChip_110wv_1126",at="_chip_110wv_1102",tt="_dropdown_110wv_1151",nt="_dropdown__title_110wv_1164",e={topBannerSection:Ue,bannerSection:We,bannerHead:Ge,mHead:ze,topicDesc:Qe,dark:Je,fullPageContainer:Ke,leftContainer:Ye,buttonContainer:Ze,topicIcon:Ve,tabs:Xe,tabsHeading:ea,tabsContainer:aa,topicsHeading:ta,tabsComp:na,assessmentTab:sa,tabsCompSelected:ra,mobileDropdown:oa,selectBox:ia,rightContainer:ca,mainHeading:la,sectionHead:da,courseDetailsContainer:ua,mainContainer:ma,searchContainer:pa,searchIcon:ha,searchInput:ga,noCourseFoundMessage:_a,cards__container:Ca,card:va,learning__card:fa,topRowContainer:wa,title:Sa,roadmapCardSection:ka,firstSection:Na,maxWidth320px:ya,allCoursesCardSection:ba,firstSectionCards:Ia,courseCard:La,primaryButton:$a,ratingContainer:Aa,star:Da,learnCard:Pa,course__icon:xa,testimonialCard:Ta,topContent:Ha,quoteMark:Ra,review:Ea,learnersInfo:ja,userInfo:Oa,username:Ma,roadmapCardsContainer:Ba,cardsContainer:Fa,allCoursesCard:qa,paragraph:Ua,rightContent:Wa,courseInfo:Ga,learnCount:za,dot:Qa,starEmpty:Ja,ratingInfo:Ka,rating:Ya,totalCount:Za,chipContainer:Va,inProgressChip:Xa,completedChip:et,chip:at,dropdown:tt,dropdown__title:nt};function mt(){const{dispatch:f,state:oe}=d.useContext(He),[u,N]=d.useState("All Courses Catalog"),[y,z]=d.useState(),[j,ie]=d.useState(),[Q,ce]=d.useState({}),[x,le]=d.useState({}),[de,ue]=d.useState([]),[b,me]=d.useState([]),pe=xe("@media (max-width:720px)"),[he,O]=d.useState(""),[k,ge]=d.useState(""),[M,_e]=d.useState([]),[B,T]=d.useState(!0),Ce=async()=>{try{let a=window.learnCatalogData||{};Object.keys(a).length||(a=(await U.get("api/learn/catalog/topics")).data);const n=se.includes(a?.user_default_language)?E.find(r=>r.id===a?.user_default_language):E.find(r=>r.id===116);oe.isLoggedIn?O(n?.name):O("Python"),ie(a?.learning_paths),ce(a?.all_paths),ue(a?.tag_mapping),le(a?.roadmaps),me(a?.skill_tests??[])}catch(a){ae(a)}finally{f(Oe(!1))}};d.useEffect(()=>{f(Re("100%")),f(Ee(!0));const a=()=>{window.learnCatalogRequestPending?setTimeout(a,10):Ce()};a()},[]),d.useEffect(()=>{const n=(()=>
1{const l=window.location.pathname.split("/").filter(Boolean).join("/").split("/");return l[l.length-1]})(),r=G.find(l=>l.slug===n),c=r?r.topic:"",o=ne.find(l=>l.slug===n);N(n==="learn"||!c?C:n==="roadmaps"||!c?v:n==="skill-tests"||!c?h:c),f(n==="skill-tests"?R("Programming Skill Tests | Python, C, C++, Java, Data Structures & Algorithms"):R(c)),z(o)},[]),d.useEffect(()=>{const a=setTimeout(async()=>{if(k)try{T(!0);const n=await U.get("api/learn-catalog-course-search",{params:{keyword:k}});_e(n.data.path_ids)}catch(n){ae(n)}finally{T(!1)}else T(!1)},1e3);return()=>clearTimeout(a)},[k]);const I=a=>{if(a){const n=G.find(l=>l.topic===a),r=n?n?.slug:"";N(a);const c=ne.find(l=>l.slug===r);z(c);let o;a===C?o=`${window.location.origin}/learn`:a===v?o=`${window.location.origin}/roadmaps`:a===h?o=`${window.location.origin}/skill-tests`:o=`${window.location.origin}/learn/topic/${r}`,f(a===h?R("Programming Skill Tests | Python, C, C++, Java, Data Structures & Algorithms"):R(a)),window.history.pushState({path:o},"",o)}},ve=async a=>{try{await U.put("/api/user/language/update",{languageId:a})}catch{}},fe=async a=>{O(a)},g=j?.find(a=>Object.keys(a)[0]===u),J=g&&Object.values(g).flatMap(a=>Object.values(a).flatMap(n=>Object.values(n?.courses).map(r=>r?.slug||{}))),K=Array.from(new Set(de.map(a=>a.path_id))),Y=(a,n,r)=>Object.entries(a).filter(([,c])=>n.includes(Number(c.id))&&r(c)).reduce((c,[o,l])=>(c[o]=l,c),{}),we=Y(Q,K,a=>!a.is_practice_path),Se=Y(Q,K,()=>!0),ke=Object.values(we).sort((a,n)=>n.learners_count-a.learners_count),Z=Object.values(Se).filter(a=>M.includes(a.id.toString())).sort((a,n)=>M.indexOf(a.id.toString())-M.indexOf(n.id.toString())),V=Z.map(a=>a.slug),F=Object.keys(x).filter(a=>{const n=x[Number(a)],r=J&&J.filter(c=>n?.learning_paths.includes(c));if(u===C){if(k){const c=V&&V.filter(o=>n?.learning_paths.includes(o));return c&&c.length>0}return!0}return r&&r.length>0}).reduce((a,n)=>(a[Number(n)]=x[Number(n)],a),{}),Ne=g&&Object.values(g).some(a=>Object.values(a).some(n=>Object.values(n?.courses).some(r=>r?.solved_count>0))),ye=a=>i("div",{className:e.dropdown,children:[t("p",{className:s(e.dropdown__title,e.dark),children:"Update Language"}),t(Me,{fullWidth:!0,value:he,menuEntries:E.filter(n=>a.includes(n.id)).map(n=>({value:n.name,label:n.name}))||[],onChange:n=>{const r=E.find(c=>c.name===n.target.value)?.id||0;ve(r),fe(n.target.value)}})]}),be=(a,n,r,c,o,l,p,w,q)=>t("div",{className:`${s(e.firstSection,e.dark)} ${y?"":e.maxWidth320px}`,children:i("div",{className:e.firstSectionCards,children:[t("a",{className:e.learnCard,href:`${W()}/${q?"practice":"learn/course"}/${n}`,children:i("div",{className:e.courseCard,children:[i("div",{className:e.topRowContainer,children:[t("img",{src:`${_()}/images/self-learning/icons/${n}.svg`,alt:"python",className:e.course__icon,onError:H=>{const S=H.currentTarget,D=`${_()}/images/self-learning/icons/default-icon.svg`;S.src!==D&&(S.src=D)}}),i("div",{className:e.rightContent,children:[t("span",{className:s(e.title,e.dark),children:c}),t("div",{className:s(e.chip,e.dark),children:r})]})]}),i("div",{className:e.learnersInfo,children:[i("div",{className:e.ratingContainer,children:[Array.from({length:5},(H,S)=>t("span",{className:`${e.star} ${S<parseInt(p.toString()[0],10)?"":e.starEmpty}`},S)),i("div",{className:e.ratingInfo,children:[t("span",{className:s(e.rating,e.dark),children:p}),i("span",{className:s(e.totalCount,e.dark),children:["(",w,")"]})]})]}),i("div",{className:e.courseInfo,children:[i("span",{className:s(e.learnCount,e.dark),children:[l," ","lessons"]}),t("span",{className:s(e.dot,e.dark)}),i("span",{className:s(e.learnCount,e.dark),children:[o>999?`${(o/1e3).toFixed(1)}k`:o," "," ","learners"]})]})]}),t("span",{className:s(e.primaryButton,e.dark),children:"Start Learning"})]})},a),y&&i("div",{className:e.testimonialCard,children:[i("div",{className:e.topContent,children:[t("div",{className:e.quoteMark}),t("p",{className:s(e.review,e.dark),children:y?.item})]}),i("div",{className:e.userInfo,children:[t("span",{className:e.username,children:y?.username}),t("span",{children:y?.profession})]})]})]})},a),L=a=>`${a} Question${a===1?"":"s"}`,$=a=>{const n=Math.floor(a/60),r=a%60;return n===0?`${r} minutes`:r===0?`${n} hr${n===1?"":"s"}`:`${n} hr${n===1?"":"s"} ${r} min`},A=(a,n,r,c,o)=>t("a",{href:`${W()}/skill-test/${n}`,style:{textDecoration:"none"},children:i("div",{className:s(e.learning__card,e.dark),children:[i("div",{className:e.topRowContainer,children:[t("img",{src:`${_()}/images/self-learning/icons/assessments.svg`,alt:"python",className:e.course__icon,onError:l=>{const p=l.currentTarget,w=`${_()}/images/self-learning/icons/default-icon.svg`;p.src!==w&&(p.src=w)}}),i("div",{className:e.rightContent,children:[t("span",{className:s(e.title,e.dark),children:a}),t("span",{className:s(e.chip,e.dark),children:o})]})]}),t("div",{className:s(e.learnersInfo,e.dark),children:i("div",{className:e.courseInfo,children:[t("span",{className:s(e.learnCount,e.dark),children:r}),t("span",{className:s(e.dot,e.dark)}),t("span",{className:s(e.learnCount,e.dark),children:c})]})})]})}),Ie=(a,n,r,c,o,l,p,w,q,H,S)=>i("a",{className:s(e.allCoursesCard,e.dark),href:`${W()}/${S?"practice":"learn/course"}/${a}`,children:[i("div",{className:e.topRowContainer,children:[t("img",{src:`${_()}/images/self-learning/icons/${a}.svg`,alt:"python",className:e.course__icon,onError:D=>{const P=D.currentTarget,ee=`${_()}/images/self-learning/icons/default-icon.svg`;P.src!==ee&&(P.src=ee)}}),i("div",{className:e.rightContent,children:[t("span",{className:s(e.title,e.dark),children:r}),w>0?i("div",{className:e.chipContainer,children:[t("span",{className:s(e.chip,e.dark),children:n}),w<q?t("span",{className:s(e.inProgressChip,e.dark),children:"In Progress..."}):t("span",{className:s(`${e.inProgressChip} ${e.completedChip}`,e.dark),children:"Completed"})]}):t("span",{className:s(e.chip,e.dark),children:n})]})]}),t("p",{className:s(e.paragraph,e.dark),children:H}),i("div",{className:e.learnersInfo,children:[i("div",{className:e.ratingContainer,children:[Array.from({length:5},(D,P)=>t("span",{className:s(`${e.star} ${P<parseInt(l.toString()[0],10)?"":e.starEmpty}`,e.dark)},P)),i("div",{className:e.ratingInfo,children:[t("span",{className:s(e.rating,e.dark),children:l}),i("span",{className:s(e.totalCount,e.dark),children:["(",p,")"]})]})]}),i("div",{className:e.courseInfo,children:[i("span",{className:s(e.learnCount,e.dark),children:[o," ","lessons"]}),t("span",{className:s(e.dot,e.dark)}),i("span",{className:s(e.learnCount,e.dark),children:[c>999?`${(c/1e3).toFixed(1)}k`:c," ","learners"]})]})]})]}),Le=(a,n,r)=>t("div",{className:e.courseDetailsContainer,children:i("h2",{className:s(e.sectionHead,e.dark),children:[a," ",r&&`(${r})`]})}),$e=a=>
1i(m,{children:[t("p",{className:s(e.topicDesc,e.dark),children:Object.keys(a).some(n=>n.includes("-featured"))?t(m,{children:Object.entries(a).filter(([n])=>n.includes("-featured")).map(([,n])=>t(m,{children:n.description}))}):t(m,{children:qe})}),u===re?ye(se):t(m,{}),Object.entries(a).map(([n,r],c)=>t(Te.Fragment,{children:n?.includes("-featured")?Object.entries(r?.courses).map(([,o])=>t(m,{children:!Ne&&i("div",{className:e.courseDetailsContainer,children:[t("h2",{className:s(e.sectionHead,e.dark),children:r?.name}),be(o?.id,o?.slug,o?.level,o?.name,o?.learners_count,o?.lessons_count,Number(o?.reviews?.rating),Number(o?.reviews?.users),o?.is_practice_path)]})})):i("div",{className:e.allCoursesCardSection,children:[Le(r?.name,r?.description,Object.keys(r?.courses).length),t("div",{className:e.cardsContainer,children:Object.entries(r?.courses).map(([,o])=>Ie(o?.slug,o?.level,o?.name,o?.learners_count,o?.lessons_count,Number(o?.reviews?.rating),Number(o?.reviews?.users),o?.solved_count,o?.problems_count,o?.description,o?.is_practice_path))})]},c)},c))]}),X=(k?Z:Object.values(ke)).map(a=>t("div",{className:e.card,children:t(Be,{id:a?.id,title:a?.title,isPracticePath:a?.is_practice_path,slug:a?.slug,learnersCount:a?.learners_count,lessonsCount:a?.lessons_count,userRating:Number(a.reviews?.rating),userCount:Number(a.reviews?.users),level:a?.level})},a?.id)),Ae=t(m,{children:!B&&X.length===0?t("p",{className:e.noCourseFoundMessage,children:"No course found..."}):X}),De=a=>{T(!0),ge(a.target.value)},Pe=g&&Object.entries(g).map(([,a])=>{let n=0;return{"@context":"https://schema.org","@type":"ItemList",itemListElement:Object.entries(a).flatMap(([,c])=>Object.entries(c?.courses).map(([,o])=>(n+=1,{"@type":"ListItem",position:n,url:`https://www.codechef.com/learn/course/${o?.slug}`,name:o?.name})))}});return i(m,{children:[t("div",{className:e.topBannerSection,children:t("div",{className:e.bannerSection,children:t("div",{className:e.bannerHead,children:i("h1",{className:e.mHead,children:[t("a",{href:"/learn",children:t("strong",{children:"Catalog"})})," ","/"," ",u]})})})}),i("div",{className:s(e.fullPageContainer,e.dark),children:[t("div",{className:e.leftContainer,children:i("div",{className:e.tabs,children:[t("span",{className:s(e.tabsHeading,e.dark),children:"Catalog"}),i("div",{className:e.tabsContainer,children:[t("button",{className:`${s(e.tabsComp,e.dark)} ${u===C?s(e.tabsCompSelected,e.dark):""}`,type:"button",onClick:()=>I(C),children:"All Courses"}),t("button",{className:`${s(e.tabsComp,e.dark)} ${u===v?s(e.tabsCompSelected,e.dark):""}`,type:"button",onClick:()=>I(v),children:v}),t("button",{className:`${s(e.tabsComp,e.dark)} ${u===h?s(e.tabsCompSelected,e.dark):""}`,type:"button",onClick:()=>I(h),children:t("div",{className:e.assessmentTab,children:h})}),t("span",{className:e.topicsHeading,children:"Topics"}),j?.map((a,n)=>{const r=Object.keys(a)[0],c=G.find(o=>o.topic===r)?.slug;return i("div",{className:e.buttonContainer,children:[t("img",{src:`${_()}/images/self-learning/icons/topics/${c}.svg`,alt:c,className:e.topicIcon,onError:o=>{const l=o.currentTarget,p=`${_()}/images/self-learning/icons/default-icon.svg`;l.src!==p&&(l.src=p)}}),t("button",{className:`${s(e.tabsComp,e.dark)} ${u===r?s(e.tabsCompSelected,e.dark):""}`,type:"button",onClick:()=>I(r),children:r},n)]})})]})]})}),pe?t("div",{className:s(e.mobileDropdown,e.dark),children:i("select",{value:u,className:s(e.selectBox,e.dark),onChange:a=>I(a.target.value),children:[t("option",{value:C,children:C},0),t("option",{value:v,children:v},1),t("option",{value:h,children:h},2),j?.map((a,n)=>{const r=Object.keys(a)[0];return t("option",{value:r,children:r},n)})]})}):t(m,{}),i("div",{className:e.rightContainer,children:[t("h2",{className:s(e.mainHeading,e.dark),children:u}),u===v&&i(m,{children:[t("p",{className:s(e.topicDesc,e.dark),children:"Gain expertise in programming concepts with our guided roadmaps. Our comprehensive, step-by-step courses make learning easy and help you become job-ready."}),t("div",{className:e.cardsContainer,children:Object.entries(x)?.map(([a,n])=>t(te,{roadmapSlug:n?.slug,name:n?.name,description:n?.description,learnersCount:n?.learners_count,lessonsCount:n?.lessons_count},a))})]}
1),u===h?i(m,{children:[t("p",{className:s(e.topicDesc,e.dark),children:"Test your knowledge in Python, C, C++, and Java. Get instant results and personalized recommendations to improve your coding skills. Start your tech career journey today!"}),t("h2",{className:s(e.sectionHead,e.dark),children:"Basic Programming"}),t("div",{className:e.cards__container,children:b.filter(a=>a.catalog_category==="beginner").map(a=>A(a.catalog_title,a.code,L(a.question_count),$(a.duration_minutes),a.catalog_level))}),t("h2",{className:s(e.sectionHead,e.dark),children:"Core CS"}),t("div",{className:e.cards__container,children:b.filter(a=>a.catalog_category==="core-cs").map(a=>A(a.catalog_title,a.code,L(a.question_count),$(a.duration_minutes),a.catalog_level))}),t("h2",{className:s(e.sectionHead,e.dark),children:"Data structures and Algorithms"}),t("div",{className:e.cards__container,children:b.filter(a=>a.catalog_category==="ds-algo").map(a=>A(a.catalog_title,a.code,L(a.question_count),$(a.duration_minutes),a.catalog_level))}),t("h2",{className:s(e.sectionHead,e.dark),children:"Advanced Programming"}),t("div",{className:e.cards__container,children:b.filter(a=>a.catalog_category==="advanced").map(a=>A(a.catalog_title,a.code,L(a.question_count),$(a.duration_minutes),a.catalog_level))}),t("h2",{className:s(e.sectionHead,e.dark),children:"Mock Online Assessments"}),t("div",{className:e.cards__container,children:b.filter(a=>a.catalog_category==="sde-entry").map(a=>A(a.catalog_title,a.code,L(a.question_count),$(a.duration_minutes),a.catalog_level))})]}):null,u!==C?g&&Object.entries(g).map(([,a])=>t(m,{children:$e(a)})):i(m,{children:[t("p",{className:s(e.topicDesc,e.dark),children:"Find the list of all the beginner friendly courses we have created on programming languages, data structures and algorithms, SQL and Web development. Practice real-world problem-solving, and build confidence. Use the search bar if you want to find a specific topic to learn or practice."}),i("div",{className:e.mainContainer,children:[i("div",{className:e.searchContainer,children:[t("i",{className:e.searchIcon}),t("input",{className:s(e.searchInput,e.dark),type:"text",placeholder:"Browse Courses",value:k,onChange:De})]}),B?t(je,{message:"Finding the best courses for you!"}):t("div",{className:e.cards__container,children:Ae})]})]}),u!==re&&!B&&i("div",{className:e.roadmapCardSection,children:[Object.keys(F)?.length!==0?i("p",{className:s(e.sectionHead,e.dark),children:["Roadmaps (",Object.keys(F)?.length,")"]}):t(m,{}),t("div",{className:e.roadmapCardsContainer,children:Object.entries(F)?.map(([a,n])=>t(te,{roadmapSlug:n?.slug,name:n?.name,description:n?.description,learnersCount:n?.learners_count,lessonsCount:n?.lessons_count},a))})]})]})]}),t(Fe,{}),t("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Pe)}})]})}export{mt as default};

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.