1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{27646:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return c(2112)}])},64874:function(a,b,c){"use strict";c.d(b,{Z:function(){return r}});var d=c(85893),e=c(67294),f=c(68146),g=c(85782),h=c.n(g),i=c(63249),j=c(43135),k=(0,e.memo)(function(a){var b=a.mentorData;return(0,d.jsx)("div",{className:h()["mentor-list"],children:null==b?void 0:b.map(function(a,b){var c,e=(0,f._)(new Set(null==a?void 0:null===(c=a.experience_detail)|| void 0===c?void 0:c.map(function(a){return null==a?void 0:a.name}).filter(Boolean))).join(", ");return b>3?null:(0,d.jsx)("a",{className:h()["author-main"],href:"".concat(j.Jx.GFG_SITE_URL,"profile/").concat(null==a?void 0:a.handle,"/?from=explore"),target:"_blank",children:(0,d.jsxs)("div",{className:h().metaDataMainDiv,children:[(0,d.jsx)("div",{className:h()["author-image"],children:(0,d.jsx)(i.Z,{src:null==a?void 0:a.profile_image_url,alt:null==a?void 0:a.handle,shapeRound:!0})}),(0,d.jsxs)("div",{className:h()["author-meta"],children:[(0,d.jsxs)("p",{className:h()["author-name"],children:[null==a?void 0:a.name," ",(0,d.jsx)("div",{className:h().verifiedIcon,children:(0,d.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"var(--text-blue)",stroke:"var(--text-blue)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-badge-check-icon lucide-badge-check",children:[(0,d.jsx)("path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z"}),(0,d.jsx)("path",{d:"m9 12 2 2 4-4",stroke:"white"})]})})]}),(0,d.jsx)("p",{className:h()["author-headline"],children:e})]})]})},null==a?void 0:a.handle)})})});k.displayName="MentorList";var l=(0,e.memo)(function(a){return a.isExplorePage?null:(0,d.jsx)("div",{className:h()["view-all-wrapper"],children:(0,d.jsx)("a",{href:"/connect/explore",className:h()["view-all-link"],children:(0,d.jsxs)(d.Fragment,{children:["View All ",(0,d.jsx)("pre",{children:"â"})]})})})});l.displayName="ViewAllButton";var m=c(38224),n=c(16954),o=c(35945),p=c.n(o);c(38071);var q=function(a){var b,c=a.articleRightbarData,f=a.sticky,g=void 0===f||f,h=a.pageWithSubheader,i=void 0!==h&&h;a.countryCode;var j=(0,e.useState)(function(){return g}),k=j[0],l=j[1],o=(0,e.useState)(function(){return g}),q=o[0],r=o[1],s=(0,e.useState)(function(){return g}),t=s[0];s[1];var u=(0,e.useRef)(null),v=(0,e.useRef)(null),w=(0,e.useRef)(null);return(0,e.useEffect)(function(){if(g){var a=function(){var a,b=window.scrollY/(document.body.scrollHeight-window.innerHeight)*100;l(b<70),r(b<110)};return window.addEventListener("scroll",a),function(){return window.removeEventListener("scroll",a)}}},[]),(0,e.useEffect)(function(){if(g&&v.current&&u.current){var a=i?100:48;v.current.style.top=k?"".concat(u.current.offsetHeight+20+a,"px"):"".concat(a,"px")}},[k]),(0,e.useEffect)(function(){if(g&&w.current&&u.current&&v.current){var a=i?100:48,b=q?k?u.current.offsetHeight+v.current.offsetHeight+40+a:v.current.offsetHeight+20+a:a;w.current.style.top="".concat(b,"px")}},[k,q]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{ref:u,className:p().stickyDiv1,style:{position:k?"sticky":"inherit",top:i?100:48,transition:"top 0.35s ease-out, transform 0.35s ease-out",transform:k?"translateY(0px)":"translateY(-10px)"},children:((null==c?void 0:c.fresher_jobs)||(null==c?void 0:c.experienced_jobs))&&(0,d.jsx)(m.Z,{fresherData:null==c?void 0:c.fresher_jobs,experiencedData:null==c?void 0:c.experienced_jobs})}),(0,d.jsx)("div",{ref:v,className:p().stickyDiv2,style:{position:q?"sticky":"inherit",transition:"top 0.35s ease-out, transform 0.35s ease-out",transform:q?"translateY(0px)":"translateY(-10px)"},children:(null==c?void 0:null===(b=c.courses)|| void 0===b?void 0:b.length)>0&&(0,d.jsx)(n.Z,{courseData:null==c?void 0:c.courses})}),(0,d.jsx)("div",{ref:w,className:p().stickyDiv3,style:{position:t?"sticky":"inherit",transition:"top 0.35s ease-out, transform 0.35s ease-out",transform:t?"translateY(0px)":"translateY(-10px)"}})]})},r=(0,e.memo)(q,function(a,b){return a.articleRightbarData===b.articleRightbarData})},78352:function(a,b,c){"use strict";c.d(b,{Z:function(){return j}});var d=c(85893),e=c(9008),f=c.n(e),g=c(43135),h=c(67294),i=c(11163);function j(a){var b,c,e,j,k,l,m,n,o,p,q,r,s,t=a.title,u=a.contentType,v=a.pageDescription,w=a.relativeUrl,x=(a.breadCrumbsData,a.isCanonicalLinkPresent),y=a.addWebsiteSchema,z=void 0!==y&&y,A=a.canonicalLink,B=a.homePageArticlesData,C=void 0===B?void 0:B,D=a.currPage,E=a.lastPage,F=a.materialIcon,G=(a.additionalRequest,a.collegesForExplorePage,a.organizationForExplorePage,a.collegeAboutData,a.organizationAboutData,a.homePageCanonical),H=a.tagCategoryPageCanonicalLink,I=a.collegeHomeSchemaData,J=a.collegeSchemaData,K=a.companyHomeSchemaData,L=a.companySchemaData,M=a.taxonomySchemaData,N=a.tagSchemaData,O=a.indexed,P=void 0===O||O,Q=(a.isMobileView,(0,i.useRouter)()),R=null==Q?void 0:null===(b=Q.asPath)|| void 0===b?void 0:b.split("/");R.shift(),R.pop();for(var S="",T=0;T<(null==R?void 0:R.length)&&"page"!==R[T];T++)S+="".concat(R[T],"/");return(0,d.jsxs)(f(),{children:[(0,d.jsx)("title",{children:t}),(0,d.jsx)("meta",{charSet:"UTF-8"}),(0,d.jsx)("meta",{name:"keywords",content:"Organization, College, Companies, Institutions, Video, Data Structures, Algorithms, Python, Java, C, C++, JavaScript, Android Development, SQL, Data Science, Machine Learning, PHP, Web Development, System Design, Tutorial, Technical Blogs, Interview Experience, Interview Preparation, Programming, Competitive Programming, SDE Sheet, Job-a-thon, Coding Contests, GATE CSE, HTML, CSS, React, NodeJS, Placement, Aptitude, Quiz, Computer Science, Programming Examples, GeeksforGeeks Courses, Puzzles"}),(0,d.jsx)("meta",{property:"og:description",name:"description",content:"Your All-in-One Learning Portal. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions."}),(0,d.jsx)("meta",{property:"og:url",content:"".concat(g.Jx.GFG_SITE_URL).concat(w)}),(0,d.jsx)("link",{rel:"shortcut icon",href:"https://media.geeksforgeeks.org/wp-content/cdn-uploads/gfg_favicon.png",type:"image/x-icon"}),void 0!==F&&F&&(0,d.jsx)("link",{href:"https://fonts.googleapis.com/icon?family=Material+Icons",rel:"stylesheet"}),z&&(0,d.jsxs)(h.Fragment,{children:[(0,d.jsx)("meta",{name:"theme-color",content:"#308D46"}),P?(0,d.jsx)("meta",{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1"}):(0,d.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,d.jsx)("meta",{name:"facebook-domain-verification",content:"xo7t4ve2wn3ywfkjdvwbrk01pvdond"}),(0,d.jsx)("meta",{name:"msapplication-TileImage",content:"https://www.geeksforgeeks.org/wp-content/uploads/gfg_200X200.png"}),(0,d.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,d.jsx)("meta",{property:"og:type",content:"object"}),C?(0,d.jsx)("meta",{property:"og:title",content:"GeeksforGeeks | Your All-in-One Learning Portal | Page ".concat(D)}):(0,d.jsx)("meta",{property:"og:title",content:"GeeksforGeeks"}),(0,d.jsx)("meta",{property:"og:site_name",content:"GeeksforGeeks"})]}),!z&&(0,d.jsx)(h.Fragment,{children:P?(0,d.jsx)("meta",{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1"}):(0,d.jsx)("meta",{name:"robots",content:"noindex, nofollow"})}),(0,d.jsx)("meta",{name:"image",property:"og:image",content:"https://media.geeksforgeeks.org/wp-content/cdn-uploads/gfg_200x200-min.png"}),(0,d.jsx)("meta",{property:"og:image:type",content:"image/png"}),(0,d.jsx)("meta",{property:"og:image:width",content:"200"}),(0,d.jsx)("meta",{property:"og:image:height",content:"200"}),(0,d.jsx)("meta",{name:u,content:v}),(null==Q?void 0:null===(c=Q.asPath)|| void 0===c?void 0:c.startsWith("/colleges/"))&&!(null==Q?void 0:null===(e=Q.query)|| void 0===e?void 0:e.params)&&(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:I}}),(null==Q?void 0:null===(j=Q.asPath)|| void 0===j?void 0:j.startsWith("/colleges/"))&&(null==Q?void 0:null===(k=Q.query
1)|| void 0===k?void 0:null===(l=k.params)|| void 0===l?void 0:l.length)>=1&&(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:J}}),(null==Q?void 0:null===(m=Q.asPath)|| void 0===m?void 0:m.startsWith("/companies/"))&&!(null==Q?void 0:null===(n=Q.query)|| void 0===n?void 0:n.params)&&(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:K}}),(null==Q?void 0:null===(o=Q.asPath)|| void 0===o?void 0:o.startsWith("/companies/"))&&(null==Q?void 0:null===(p=Q.query)|| void 0===p?void 0:null===(q=p.params)|| void 0===q?void 0:q.length)>=1&&(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:L}}),M&&(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:M}}),N&&(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:N}}),z&&(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebSite",url:"".concat(g.Jx.GFG_SITE_URL),potentialAction:{"@type":"SearchAction",target:"".concat(g.Jx.GFG_SITE_URL,"search/{search_term_string}/"),"query-input":"required name=search_term_string"}})}}),void 0!==x&&x&&(0,d.jsx)("link",{rel:"canonical",href:"".concat(g.Jx.GFG_SITE_URL).concat(void 0===A?"":A)}),C&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("link",{rel:"canonical",href:"".concat(g.Jx.GFG_SITE_URL,"page/").concat(D)}),D!==E?(0,d.jsx)("link",{rel:"next",href:"".concat(g.Jx.GFG_SITE_URL,"page/").concat(D+1,"/")}):null,1!==D?(0,d.jsx)("link",{rel:"prev",href:"".concat(g.Jx.GFG_SITE_URL,"page/").concat(D-1,"/")}):null]}),void 0!==G&&G&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("link",{rel:"canonical",href:"".concat(g.Jx.GFG_SITE_URL)}),(0,d.jsx)("link",{rel:"next",href:"".concat(g.Jx.GFG_SITE_URL,"page/2/")})]}),H&&(0,d.jsxs)(d.Fragment,{children:[D!==E?(0,d.jsx)("link",{rel:"next",href:"".concat(g.Jx.GFG_SITE_URL).concat(S,"page/").concat(D+1,"/?type=").concat((null==Q?void 0:null===(r=Q.query)|| void 0===r?void 0:r.type)==="popular"?"popular":"recent")}):null,1!==D?(0,d.jsx)("link",{rel:"prev",href:"".concat(g.Jx.GFG_SITE_URL).concat(S,"page/").concat(D-1,"/?type=").concat((null==Q?void 0:null===(s=Q.query)|| void 0===s?void 0:s.type)==="popular"?"popular":"recent")}):null]})]})}},2112:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSP":function(){return x},default:function(){return y}});var d=c(98732),e=c(85893),f=c(67294),g=c(78352),h=c(11163),i=c(274),j=c.n(i),k=c(64874),l=c(88858),m=c(19785),n=c.n(m),o=c(26499),p=c.n(o),q=c(53374),r=function(a){var b=a.queryParam,c=void 0===b?"":b,d=a.homePage,g=void 0!==d&&d,i=(0,h.useRouter)(),j=(0,f.useState)(c),k=j[0],l=j[1];(0,f.useContext)(q.Ni).isDarkTheme,(0,f.useEffect)(function(){l(c),c||l("")},[c]),(0,f.useEffect)(function(){var a;!g&&(null==i?void 0:null===(a=i.query)|| void 0===a?void 0:a.query)&&l(i.query.query)},[i.query,g]);var m=function(a){if(c!==a.trim()&&a&&(null==a?void 0:a.trim())){var b=a.trim().length>1800?a.trim().slice(0,1800):a.trim();i.push("/search/?gq=".concat(encodeURIComponent(b)),void 0,{shallow:!0})}},n=function(a){"Enter"===a.key&&m(k)};return(0,e.jsx)("div",{className:p().head,children:(0,e.jsx)("div",{className:p().head_main,style:{height:g?"680px":"80px",width:g?"":"70%",marginLeft:g?"":"10%"},children:(0,e.jsxs)("div",{className:p().head_search,style:{maxWidth:g?"779px":"",marginLeft:g?"3%":"unset"},children:[(0,e.jsx)("input",{type:"text",value:k,onChange:function(a){return l(a.target.value)},onKeyDown:n,placeholder:"Start Searching...",className:p().searchInput}),(0,e.jsx)("span",{onClick:function(){return m(k)},className:p().head_search_icon})]})})})},s=r,t=function(a){var b=a.queryParam;return(0,e.jsx)("header",{className:n().headerContainer,children:(0,e.jsx)(s,{queryParam:b})})},u=t,v=c(4298),w=c.n(v),x=!0,y=function(a){var b,c=a.countryCode,i=a.isMobileView,m=(0,h.useRouter)(),n=null==m?void 0:null===(b=m.query)|| void 0===b?void 0:b.gq,o=(0,f.useState)(!0),p=o[0],q=o[1],r=(0,f.useRef)(!1),s="You searched for ".concat(n," - GeeksforGeeks"),t=(0,d._)((0,l.L$)(),2),v=t[0],x=t[1],y=x.data;x.isLoading,x.isFetching,(0,f.useEffect)(function(){"IN"!==c||i||v({top_posts:!0,courses:!0})},[c]),(0,f.useEffect)(function(){window.__gcse={callback:function(){r.current=!0,q(!1)}}},[]);var z=function(a){var b,c,d=null===(b=window.google)|| void 0===b?void 0:null===(c=b.search)|| void 0===c?void 0:c.cse;if(d){var e=d.element.getElement("searchresults-only0");e&&(q(!0),e.execute(a),setTimeout(function(){return q(!1)},400))}};return(0,f.useEffect)(function(){n&&z(n)},[n]),(0,f.useEffect)(function(){var a=function(){var a=new URL(window.location.href),b=a.searchParams.get("gq")||a.searchParams.get("gsc.q");
1if(b){var c="/search/?gq=".concat(encodeURIComponent(b));window.history.replaceState({},"",c)}},b=setInterval(a,500);return function(){return clearInterval(b)}},[m.query]),(0,e.jsxs)("div",{className:j().seachPageMainContainer,children:[(0,e.jsx)(w(),{async:!0,src:"https://cse.google.com/cse.js?cx=b1e4b21192bbfc30f",strategy:"afterInteractive"}),(0,e.jsx)(g.Z,{title:n?s:"Search Page | GeeksforGeeks",contentType:"search",relativeUrl:n?"search/?query=".concat(n):"search",addWebsiteSchema:!0,indexed:!1,pageDescription:n?"Contains search results for ".concat(n):"Search articles."}),(0,e.jsxs)("div",{className:j().pageleft,children:[(0,e.jsx)(u,{queryParam:n}),(0,e.jsxs)("div",{className:j().iframeWrapper,children:[p&&(0,e.jsxs)("div",{id:"cse-spinner",children:[(0,e.jsx)("div",{className:"spin"}),(0,e.jsx)("span",{children:"Searching..."})]}),(0,e.jsx)("div",{id:"cse-container",style:{display:p?"none":"block"},children:(0,e.jsx)("div",{suppressHydrationWarning:!0,className:"gcse-searchresults-only","data-queryParameterName":"gq","data-adsPosition":"top","data-ivt":"false","data-linkTarget":"_blank"})})]})]}),"IN"===c&&(0,e.jsx)("div",{className:j().seachPageMainContainer__rightbarStickeyDiv,children:(0,e.jsx)(k.Z,{articleRightbarData:y,sticky:!1})})]})}},35945:function(a){a.exports={shimmer:"ArticleRightBar3CompLayout_shimmer__Sz05K"}},85782:function(a){a.exports={rightSiderMain:"TopMentorsRightBarComponent_rightSiderMain__2djUL",wrapper:"TopMentorsRightBarComponent_wrapper__XgPTZ","title-wrapper":"TopMentorsRightBarComponent_title-wrapper__oi9uw",title:"TopMentorsRightBarComponent_title__0EM0g","mentor-list":"TopMentorsRightBarComponent_mentor-list__dSEDm","author-main":"TopMentorsRightBarComponent_author-main__BmyzY",metaDataMainDiv:"TopMentorsRightBarComponent_metaDataMainDiv__4k_e3","author-meta":"TopMentorsRightBarComponent_author-meta__JKv4n","author-name":"TopMentorsRightBarComponent_author-name__ls_Fz",verifiedIcon:"TopMentorsRightBarComponent_verifiedIcon__919ee","author-headline":"TopMentorsRightBarComponent_author-headline__sn7kB","view-all-wrapper":"TopMentorsRightBarComponent_view-all-wrapper__RlT7c","view-all-link":"TopMentorsRightBarComponent_view-all-link__boI0f",shimmer:"TopMentorsRightBarComponent_shimmer__uTh9W"}},19785:function(a){a.exports={headerContainer__headerText:"HeaderComponent_headerContainer__headerText__5TdV1",shimmer:"HeaderComponent_shimmer__A42xG"}},26499:function(a){a.exports={head_main:"SearchBar_head_main__nK2O3",head_search:"SearchBar_head_search__Mlsfc",head_search_icon:"SearchBar_head_search_icon__lvXHF",shimmer:"SearchBar_shimmer__bxAo4"}},274:function(a){a.exports={seachPageMainContainer:"search_seachPageMainContainer__Fuli7",seachPageMainContainer__rightbarStickeyDiv:"search_seachPageMainContainer__rightbarStickeyDiv__4KFPw","event-course-banner":"search_event-course-banner__fsPga",pageleft:"search_pageleft__Pc5Be",iframeWrapper:"search_iframeWrapper__S4hKJ",loaderContainer:"search_loaderContainer__wBzy6",spinner:"search_spinner__bkpX2",spin:"search_spin__4UWYG",shimmer:"search_shimmer__7cWKH"}}},function(a){a.O(0,[5072,9774,2888,179],function(){var b;return a(a.s=27646)}),_N_E=a.O()}])
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.