{"id":18183,"date":"2023-04-20T14:00:00","date_gmt":"2023-04-20T08:30:00","guid":{"rendered":"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&#038;p=18183"},"modified":"2023-04-19T16:51:33","modified_gmt":"2023-04-19T11:21:33","slug":"top-7-binary-search-tree-coding-problems","status":"publish","type":"web-story","link":"https:\/\/www.interviewbit.com\/blog\/web-stories\/top-7-binary-search-tree-coding-problems\/","title":{"rendered":"Top 7 Binary Search Tree Coding Problems"},"content":{"rendered":"<p><html amp=\"\" lang=\"en\"><head><meta charSet=\"utf-8\"\/><meta name=\"viewport\" content=\"width=device-width,minimum-scale=1,initial-scale=1\"\/><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0.js\"><\/script><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0\/amp-story-1.0.js\" custom-element=\"amp-story\"><\/script><link href=\"https:\/\/fonts.googleapis.com\/css2?display=swap&amp;family=Anton&amp;family=Bungee+Shade&amp;family=Darker+Grotesque%3Awght%40400%3B700&amp;family=Roboto%3Awght%40400%3B700&amp;family=Poppins%3Awght%40700\" rel=\"stylesheet\"\/><link href=\"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5760&amp;h=3840&amp;fit=max\" rel=\"preload\" as=\"image\"\/>\n<style amp-boilerplate=\"\">body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}<\/style>\n<p><noscript><\/p>\n<style amp-boilerplate=\"\">body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}<\/style>\n<p><\/noscript><\/p>\n<style amp-custom=\"\">\n              h1, h2, h3 { font-weight: normal; }<\/p>\n<p>              amp-story-page {\n                background-color: #131516;\n              }<\/p>\n<p>              amp-story-grid-layer {\n                overflow: visible;\n              }<\/p>\n<p>              @media (max-aspect-ratio: 9 \/ 16)  {\n                @media (min-aspect-ratio: 320 \/ 678) {\n                  amp-story-grid-layer.grid-layer {\n                    margin-top: calc((100% \/ 0.5625 - 100% \/ 0.6666666666666666) \/ 2);\n                  }\n                }\n              }<\/p>\n<p>              @media not all and (min-resolution:.001dpcm) {\n                @media {\n                  p.text-wrapper > span {\n                    font-size: calc(100% - 0.5px);\n                  }\n                }\n              }<\/p>\n<p>              .page-fullbleed-area,\n              .page-background-overlay-area {\n                position: absolute;\n                overflow: hidden;\n                width: 100%;\n                left: 0;\n                height: calc(1.1851851851851851 * 100%);\n                top: calc((1 - 1.1851851851851851) * 100% \/ 2);\n              }<\/p>\n<p>              .element-overlay-area {\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n              }<\/p>\n<p>              .page-safe-area {\n                overflow: visible;\n                position: absolute;\n                top: 0;\n                bottom: 0;\n                left: 0;\n                right: 0;\n                width: 100%;\n                height: calc(0.84375 * 100%);\n                margin: auto 0;\n              }<\/p>\n<p>              .mask {\n                position: absolute;\n                overflow: hidden;\n              }<\/p>\n<p>              .fill {\n                position: absolute;\n                top: 0;\n                left: 0;\n                right: 0;\n                bottom: 0;\n                margin: 0;\n              }<\/p>\n<p>              @media (prefers-reduced-motion: no-preference) {\n                .animation-wrapper {\n                  opacity: var(--initial-opacity);\n                  transform: var(--initial-transform);\n                }\n              }<\/p>\n<p>              amp-story-grid-layer.align-bottom {\n                align-content: end;\n                padding: 0;\n              }<\/p>\n<p>              .captions-area {\n                padding: 0 32px 0;\n              }<\/p>\n<p>              amp-story-captions {\n                margin-bottom: 16px;\n                text-align: center;\n              }<\/p>\n<p>              amp-story-captions span {\n                display: inline-block;\n                margin: 0;\n                padding: 6px 12px;\n                vertical-align: middle;\n                border-radius: 15px;\n                background: rgba(11, 11, 11, 0.6);\n                color: rgba(255, 255, 255, 1);\n                font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;;\n                font-size: calc(4 * var(--story-page-vw));\n                line-height: 1.4;\n                word-break: break-word;\n                word-wrap: break-word;\n                overflow-wrap: break-word;\n              }\n              <\/style>\n<p><meta name=\"web-stories-replace-head-start\"\/><title>Top 7 Binary Search Tree Coding Problems<\/title><link rel=\"canonical\" href=\"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&amp;p=18183\"\/><meta name=\"web-stories-replace-head-end\"\/><\/head><body><amp-story standalone=\"\" publisher=\"InterviewBit\" publisher-logo-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/cropped-tumblr-logo.png\" title=\"Top 7 Binary Search Tree Coding Problems\" poster-portrait-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/04\/cropped-Top-7-Binary-Search-Tree-Coding-Problems-for-Interviews.jpg\"><amp-story-page id=\"e8de3bd0-50f1-44e6-a934-453d1980d163\" auto-advance-after=\"7s\"><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#260c0c\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-5ec7481f-587c-4959-a7da-bd02c94e7e1c\">\n<div style=\"position:absolute;width:266.66667%;height:100%;left:-83.33334%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5760&amp;h=3840&amp;fit=max\" alt=\"man and woman looking on silver laptop while smiling\" srcSet=\"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5760&amp;h=3840&amp;fit=max 5760w,https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4608&amp;h=3072&amp;fit=max 4608w,https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3456&amp;h=2304&amp;fit=max 3456w,https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2304&amp;h=1536&amp;fit=max 2304w,https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1152&amp;h=768&amp;fit=max 1152w,https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 120vh, 267vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-cb48c127-3fe1-4225-9f7c-cff7090fd555\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:3.64078%;top:61.97411%;width:92.71845%;height:38.99676%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5235602094240838% 0.5235602094240838% 0.5235602094240838% 0.5235602094240838% \/ 0.8298755186721992% 0.8298755186721992% 0.8298755186721992% 0.8298755186721992%\" id=\"el-1b8f9b5c-1a18-4ce1-9c5f-06d030451937\">\n<h2 id=\"top-binary-search-tree-coding-problems-for-interviews\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.6529521842277477% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.809061em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Top&nbsp;<\/span><br \/>\n<span style=\"color: #1263ff\">Binary Search Tree<\/span><span style=\"color: #fff\"> Coding Problems for Interviews<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:22.57282%;top:56.6343%;width:45.14563%;height:15.37217%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:1.0752688172043012% 1.0752688172043012% 1.0752688172043012% 1.0752688172043012% \/ 2.1052631578947367% 2.1052631578947367% 2.1052631578947367% 2.1052631578947367%\" id=\"el-4d436ca8-e140-46d3-8a52-60875618d96c\">\n<h1 id=\"7\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-4.852150537634408% 0;font-family:&quot;Bungee Shade&quot;,cursive;font-size:1.537217em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #1263ff\">7<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"8c6bf4ec-2231-4205-afc1-feff529ae9f3\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-091c72c6-5e9f-4166-b17e-48d683cd46db\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8e63f168-67bf-45d0-aeda-211bc8c6855d\",\"keyframes\":{\"transform\":[\"translate3d(0px, -288.94284%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-caa1791b-c64b-40f2-8d69-98feadd83358 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#262626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-caa1791b-c64b-40f2-8d69-98feadd83358\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-b9c9d105-a075-4ba9-8633-8971fa64599b\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"a man sitting at a computer with headphones on\" srcSet=\"https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-11.65049%;top:45.95469%;width:122.81553%;height:50.80906%;opacity:0.4\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-b488165a-3585-4758-af1f-c7f60f9c2364\"><svg style=\"display:block;position:absolute;top:0;height:100%;width:auto\" viewBox=\"0 0 42 26\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><title>Laptop Full<\/title><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M33.9565 1H8.04346C6.3866 1 5.04346 2.34315 5.04346 4V22.1739H36.9565V4C36.9565 2.34315 35.6134 1 33.9565 1ZM8.04346 0C5.83432 0 4.04346 1.79087 4.04346 4V23.1739H37.9565V4C37.9565 1.79086 36.1656 0 33.9565 0H8.04346Z\" fill=\"#0057FF\"><\/path><path d=\"M6.86963 6.82611C6.86963 4.61697 8.66049 2.82611 10.8696 2.82611H31.1305C33.3396 2.82611 35.1305 4.61697 35.1305 6.82611V23.1739H6.86963V6.82611Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M31.1305 3.82611H10.8696C9.21277 3.82611 7.86963 5.16925 7.86963 6.82611V22.1739H34.1305V6.82611C34.1305 5.16926 32.7874 3.82611 31.1305 3.82611ZM10.8696 2.82611C8.66049 2.82611 6.86963 4.61697 6.86963 6.82611V23.1739H35.1305V6.82611C35.1305 4.61697 33.3396 2.82611 31.1305 2.82611H10.8696Z\" fill=\"#0057FF\"><\/path><path d=\"M41.9131 22C41.9131 24.2091 40.1222 26 37.9131 26L4.087 26C1.87786 26 0.0869981 24.2091 0.0869983 22L0.0869984 20.913L41.9131 20.913L41.9131 22Z\" fill=\"#E4E4E4\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.087 25L37.9131 25C39.5699 25 40.9131 23.6569 40.9131 22L40.9131 21.913L1.087 21.913L1.087 22C1.087 23.6568 2.43015 25 4.087 25ZM37.9131 26C40.1222 26 41.9131 24.2091 41.9131 22L41.9131 20.913L0.0869984 20.913L0.0869983 22C0.0869981 24.2091 1.87786 26 4.087 26L37.9131 26Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.2609 24.1739H18.7392C18.0998 24.1739 17.5372 24.5025 17.211 25H24.7891C24.4629 24.5025 23.9003 24.1739 23.2609 24.1739ZM25.905 25C25.5011 23.9327 24.4696 23.1739 23.2609 23.1739H18.7392C17.5304 23.1739 16.499 23.9327 16.0951 25C15.9775 25.3109 15.9131 25.6479 15.9131 26H26.087C26.087 25.6479 26.0226 25.3109 25.905 25Z\" fill=\"#0057FF\"><\/path><\/svg><\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-81811408-af93-46a4-9620-651285eea9d8\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:53.72168%;width:76.45631%;height:33.33333%;opacity:1\">\n<div id=\"anim-091c72c6-5e9f-4166-b17e-48d683cd46db\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-8e63f168-67bf-45d0-aeda-211bc8c6855d\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -288.94284%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6349206349206349% 0.6349206349206349% 0.6349206349206349% 0.6349206349206349% \/ 0.9708737864077669% 0.9708737864077669% 0.9708737864077669% 0.9708737864077669%\" id=\"el-cfca1c02-e711-4541-8f4f-1ccbec4bcde6\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5822222222222226% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Binary Search Trees are an essential part of computer science and are frequently asked about in interviews. Let&#8217;s dive into the top 7 BST coding problems you should know for your next interview.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:38.83495%;width:35.19417%;height:5.01618%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:1.3793103448275863% 1.3793103448275863% 1.3793103448275863% 1.3793103448275863% \/ 6.451612903225806% 6.451612903225806% 6.451612903225806% 6.451612903225806%\" id=\"el-9d9475f2-4aca-4b9d-a612-2c4ba2476f68\">\n<h2 id=\"introdution\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.26185344827586154% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.436893em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Introdution<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"40e238c0-cd08-4923-bd94-e7fbdf785fcb\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-31962bab-25c1-42d1-9ecd-2fe56c9aa17e [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.868525640762189%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-0acf4a3e-ad94-4b99-b105-2139e874d1b1\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-99f7c19b-de41-4999-b6cb-543633a230c0\",\"keyframes\":{\"transform\":[\"translate3d(0px, -448.54284%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-31962bab-25c1-42d1-9ecd-2fe56c9aa17e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-1189e1b6-be4f-4d45-b46f-5e1b0a59a486\">\n<div style=\"position:absolute;width:118.67612%;height:100%;left:-9.33806%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max\" alt=\"shallow focus photo of woman using MacBook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max 4016w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3212&amp;h=4812&amp;fit=max 3212w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2409&amp;h=3609&amp;fit=max 2409w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1606&amp;h=2406&amp;fit=max 1606w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=803&amp;h=1203&amp;fit=max 803w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=509&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-11.65049%;top:45.95469%;width:122.81553%;height:50.80906%;opacity:0.4\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-472d92d8-c5ad-4100-9dea-56fb83351e45\"><svg style=\"display:block;position:absolute;top:0;height:100%;width:auto\" viewBox=\"0 0 42 26\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><title>Laptop Full<\/title><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M33.9565 1H8.04346C6.3866 1 5.04346 2.34315 5.04346 4V22.1739H36.9565V4C36.9565 2.34315 35.6134 1 33.9565 1ZM8.04346 0C5.83432 0 4.04346 1.79087 4.04346 4V23.1739H37.9565V4C37.9565 1.79086 36.1656 0 33.9565 0H8.04346Z\" fill=\"#0057FF\"><\/path><path d=\"M6.86963 6.82611C6.86963 4.61697 8.66049 2.82611 10.8696 2.82611H31.1305C33.3396 2.82611 35.1305 4.61697 35.1305 6.82611V23.1739H6.86963V6.82611Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M31.1305 3.82611H10.8696C9.21277 3.82611 7.86963 5.16925 7.86963 6.82611V22.1739H34.1305V6.82611C34.1305 5.16926 32.7874 3.82611 31.1305 3.82611ZM10.8696 2.82611C8.66049 2.82611 6.86963 4.61697 6.86963 6.82611V23.1739H35.1305V6.82611C35.1305 4.61697 33.3396 2.82611 31.1305 2.82611H10.8696Z\" fill=\"#0057FF\"><\/path><path d=\"M41.9131 22C41.9131 24.2091 40.1222 26 37.9131 26L4.087 26C1.87786 26 0.0869981 24.2091 0.0869983 22L0.0869984 20.913L41.9131 20.913L41.9131 22Z\" fill=\"#E4E4E4\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.087 25L37.9131 25C39.5699 25 40.9131 23.6569 40.9131 22L40.9131 21.913L1.087 21.913L1.087 22C1.087 23.6568 2.43015 25 4.087 25ZM37.9131 26C40.1222 26 41.9131 24.2091 41.9131 22L41.9131 20.913L0.0869984 20.913L0.0869983 22C0.0869981 24.2091 1.87786 26 4.087 26L37.9131 26Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.2609 24.1739H18.7392C18.0998 24.1739 17.5372 24.5025 17.211 25H24.7891C24.4629 24.5025 23.9003 24.1739 23.2609 24.1739ZM25.905 25C25.5011 23.9327 24.4696 23.1739 23.2609 23.1739H18.7392C17.5304 23.1739 16.499 23.9327 16.0951 25C15.9775 25.3109 15.9131 25.6479 15.9131 26H26.087C26.087 25.6479 26.0226 25.3109 25.905 25Z\" fill=\"#0057FF\"><\/path><\/svg><\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-46d88c1c-7a43-4355-acc1-3a75a4e5a0cc\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0.97087%;top:95.63107%;width:98.05825%;height:3.39806%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.49504950495049505% 0.49504950495049505% 0.49504950495049505% 0.49504950495049505% \/ 9.523809523809524% 9.523809523809524% 9.523809523809524% 9.523809523809524%\" id=\"el-5423179c-024e-4c53-b34a-e6499db37b3a\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.06265470297029677% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.291262em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.8932%;top:59.54693%;width:76.45631%;height:19.7411%;opacity:1\">\n<div id=\"anim-0acf4a3e-ad94-4b99-b105-2139e874d1b1\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-99f7c19b-de41-4999-b6cb-543633a230c0\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -448.54284%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6349206349206349% 0.6349206349206349% 0.6349206349206349% 0.6349206349206349% \/ 1.639344262295082% 1.639344262295082% 1.639344262295082% 1.639344262295082%\" id=\"el-3ccbe12d-efdc-4518-8c0a-7db6870cb2d6\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5822222222222226% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Given a matrix of integers sorted row-wise and column-wise, efficiently search for an element in the matrix.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:38.83495%;width:76.69903%;height:6.14887%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6329113924050633% 0.6329113924050633% 0.6329113924050633% 0.6329113924050633% \/ 5.263157894736842% 5.263157894736842% 5.263157894736842% 5.263157894736842%\" id=\"el-2486d0ea-5700-4510-9dcb-0968e490f573\">\n<h2 id=\"1-matrix-search\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.6911392405063295% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">1. Matrix Search<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"95903fc4-ab54-43ff-8549-b530094a70d1\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-1847b8ce-1937-4a0e-a2ff-306f813644db [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-7f30070c-afad-43be-a86b-3c182d0c2f3a\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-e64a78b9-4d8c-4dff-9942-6b181d5f1dfa\",\"keyframes\":{\"transform\":[\"translate3d(0px, -325.40574%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#a6a6a6\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-1847b8ce-1937-4a0e-a2ff-306f813644db\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-a7c2e5bb-604f-40cd-8956-60c2fe6d0195\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"a man sitting at a desk talking on a cell phone\" srcSet=\"https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-11.65049%;top:45.95469%;width:122.81553%;height:50.80906%;opacity:0.4\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-acd6eaef-02d6-492c-ba2b-e293ddecd718\"><svg style=\"display:block;position:absolute;top:0;height:100%;width:auto\" viewBox=\"0 0 42 26\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><title>Laptop Full<\/title><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M33.9565 1H8.04346C6.3866 1 5.04346 2.34315 5.04346 4V22.1739H36.9565V4C36.9565 2.34315 35.6134 1 33.9565 1ZM8.04346 0C5.83432 0 4.04346 1.79087 4.04346 4V23.1739H37.9565V4C37.9565 1.79086 36.1656 0 33.9565 0H8.04346Z\" fill=\"#0057FF\"><\/path><path d=\"M6.86963 6.82611C6.86963 4.61697 8.66049 2.82611 10.8696 2.82611H31.1305C33.3396 2.82611 35.1305 4.61697 35.1305 6.82611V23.1739H6.86963V6.82611Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M31.1305 3.82611H10.8696C9.21277 3.82611 7.86963 5.16925 7.86963 6.82611V22.1739H34.1305V6.82611C34.1305 5.16926 32.7874 3.82611 31.1305 3.82611ZM10.8696 2.82611C8.66049 2.82611 6.86963 4.61697 6.86963 6.82611V23.1739H35.1305V6.82611C35.1305 4.61697 33.3396 2.82611 31.1305 2.82611H10.8696Z\" fill=\"#0057FF\"><\/path><path d=\"M41.9131 22C41.9131 24.2091 40.1222 26 37.9131 26L4.087 26C1.87786 26 0.0869981 24.2091 0.0869983 22L0.0869984 20.913L41.9131 20.913L41.9131 22Z\" fill=\"#E4E4E4\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.087 25L37.9131 25C39.5699 25 40.9131 23.6569 40.9131 22L40.9131 21.913L1.087 21.913L1.087 22C1.087 23.6568 2.43015 25 4.087 25ZM37.9131 26C40.1222 26 41.9131 24.2091 41.9131 22L41.9131 20.913L0.0869984 20.913L0.0869983 22C0.0869981 24.2091 1.87786 26 4.087 26L37.9131 26Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.2609 24.1739H18.7392C18.0998 24.1739 17.5372 24.5025 17.211 25H24.7891C24.4629 24.5025 23.9003 24.1739 23.2609 24.1739ZM25.905 25C25.5011 23.9327 24.4696 23.1739 23.2609 23.1739H18.7392C17.5304 23.1739 16.499 23.9327 16.0951 25C15.9775 25.3109 15.9131 25.6479 15.9131 26H26.087C26.087 25.6479 26.0226 25.3109 25.905 25Z\" fill=\"#0057FF\"><\/path><\/svg><\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-b5cf3d24-52ce-4d75-9e43-2bd8784e2509\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.8932%;top:55.66343%;width:76.45631%;height:28.80259%;opacity:1\">\n<div id=\"anim-7f30070c-afad-43be-a86b-3c182d0c2f3a\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-e64a78b9-4d8c-4dff-9942-6b181d5f1dfa\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -325.40574%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6349206349206349% 0.6349206349206349% 0.6349206349206349% 0.6349206349206349% \/ 1.1235955056179776% 1.1235955056179776% 1.1235955056179776% 1.1235955056179776%\" id=\"el-51b38758-b330-4e4c-bb11-3a948ab2f1e9\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5822222222222226% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Given an integer A, Compute and return the square root of A without using sqrt function from the standard library. If A is not a perfect square, return floor(sqrt(A)).<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:38.83495%;width:76.69903%;height:6.14887%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6329113924050633% 0.6329113924050633% 0.6329113924050633% 0.6329113924050633% \/ 5.263157894736842% 5.263157894736842% 5.263157894736842% 5.263157894736842%\" id=\"el-37538835-8751-46e7-87ec-50e7dde9d9df\">\n<h2 id=\"2-square-root-of-integer\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.6911392405063295% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">2. <\/span><span style=\"font-weight: 700; color: #fff\">Square Root of Integer<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0.97087%;top:95.63107%;width:98.05825%;height:3.39806%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.49504950495049505% 0.49504950495049505% 0.49504950495049505% 0.49504950495049505% \/ 9.523809523809524% 9.523809523809524% 9.523809523809524% 9.523809523809524%\" id=\"el-d99c15a3-0641-4282-bbe4-631348a81f86\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.06265470297029677% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.291262em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"003c04fa-fa9a-41be-99d6-dff01f94a2c3\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-a78e63d9-28a1-43de-823e-acd738bbd331 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.8337101513764065%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-a650c1d7-0d96-4bdd-8fa9-66d69c0ee9ba\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-6d7e5065-6c7a-4cda-9085-26a9f8524d86\",\"keyframes\":{\"transform\":[\"translate3d(0px, -288.94284%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3d9d9\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-a78e63d9-28a1-43de-823e-acd738bbd331\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-741b80be-f1e4-4e7e-81a1-3f452436e27f\">\n<div style=\"position:absolute;width:118.57814%;height:100%;left:-9.28907%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6630&amp;h=9940&amp;fit=max\" alt=\"woman in black shirt using computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6630&amp;h=9940&amp;fit=max 6630w,https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5304&amp;h=7952&amp;fit=max 5304w,https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3978&amp;h=5964&amp;fit=max 3978w,https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2652&amp;h=3976&amp;fit=max 2652w,https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1326&amp;h=1988&amp;fit=max 1326w,https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-11.65049%;top:45.95469%;width:122.81553%;height:50.80906%;opacity:0.4\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-120a4885-caa7-47d5-bed6-b68f93b4f338\"><svg style=\"display:block;position:absolute;top:0;height:100%;width:auto\" viewBox=\"0 0 42 26\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><title>Laptop Full<\/title><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M33.9565 1H8.04346C6.3866 1 5.04346 2.34315 5.04346 4V22.1739H36.9565V4C36.9565 2.34315 35.6134 1 33.9565 1ZM8.04346 0C5.83432 0 4.04346 1.79087 4.04346 4V23.1739H37.9565V4C37.9565 1.79086 36.1656 0 33.9565 0H8.04346Z\" fill=\"#0057FF\"><\/path><path d=\"M6.86963 6.82611C6.86963 4.61697 8.66049 2.82611 10.8696 2.82611H31.1305C33.3396 2.82611 35.1305 4.61697 35.1305 6.82611V23.1739H6.86963V6.82611Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M31.1305 3.82611H10.8696C9.21277 3.82611 7.86963 5.16925 7.86963 6.82611V22.1739H34.1305V6.82611C34.1305 5.16926 32.7874 3.82611 31.1305 3.82611ZM10.8696 2.82611C8.66049 2.82611 6.86963 4.61697 6.86963 6.82611V23.1739H35.1305V6.82611C35.1305 4.61697 33.3396 2.82611 31.1305 2.82611H10.8696Z\" fill=\"#0057FF\"><\/path><path d=\"M41.9131 22C41.9131 24.2091 40.1222 26 37.9131 26L4.087 26C1.87786 26 0.0869981 24.2091 0.0869983 22L0.0869984 20.913L41.9131 20.913L41.9131 22Z\" fill=\"#E4E4E4\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.087 25L37.9131 25C39.5699 25 40.9131 23.6569 40.9131 22L40.9131 21.913L1.087 21.913L1.087 22C1.087 23.6568 2.43015 25 4.087 25ZM37.9131 26C40.1222 26 41.9131 24.2091 41.9131 22L41.9131 20.913L0.0869984 20.913L0.0869983 22C0.0869981 24.2091 1.87786 26 4.087 26L37.9131 26Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.2609 24.1739H18.7392C18.0998 24.1739 17.5372 24.5025 17.211 25H24.7891C24.4629 24.5025 23.9003 24.1739 23.2609 24.1739ZM25.905 25C25.5011 23.9327 24.4696 23.1739 23.2609 23.1739H18.7392C17.5304 23.1739 16.499 23.9327 16.0951 25C15.9775 25.3109 15.9131 25.6479 15.9131 26H26.087C26.087 25.6479 26.0226 25.3109 25.905 25Z\" fill=\"#0057FF\"><\/path><\/svg><\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-5e87eb52-4c7b-48b0-87a5-6a9f21443327\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:53.72168%;width:76.45631%;height:33.33333%;opacity:1\">\n<div id=\"anim-a650c1d7-0d96-4bdd-8fa9-66d69c0ee9ba\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-6d7e5065-6c7a-4cda-9085-26a9f8524d86\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -288.94284%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6349206349206349% 0.6349206349206349% 0.6349206349206349% 0.6349206349206349% \/ 0.9708737864077669% 0.9708737864077669% 0.9708737864077669% 0.9708737864077669%\" id=\"el-75f5415d-9cec-439a-b4c6-c2bec3ac6f15\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5822222222222226% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Given an array of board lengths, A painters, &amp; B units of time per 1 unit of board, find minimum time required to paint all boards where each painter can only paint contiguous sections of board.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:38.83495%;width:76.69903%;height:6.14887%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6329113924050633% 0.6329113924050633% 0.6329113924050633% 0.6329113924050633% \/ 5.263157894736842% 5.263157894736842% 5.263157894736842% 5.263157894736842%\" id=\"el-6c744a89-c4d5-47ef-9df3-fc82dea30346\">\n<h2 id=\"3-painters-partition-problem\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.6911392405063295% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">3. Painter&#8217;s Partition Problem<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0.97087%;top:95.63107%;width:98.05825%;height:3.39806%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.49504950495049505% 0.49504950495049505% 0.49504950495049505% 0.49504950495049505% \/ 9.523809523809524% 9.523809523809524% 9.523809523809524% 9.523809523809524%\" id=\"el-b0a4af90-851e-4376-beb6-62ca7aaba802\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.06265470297029677% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.291262em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"e527486a-774a-4c1c-b1b0-bc90e6a54bf1\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-93d906bf-130b-4a8f-9b6d-d1a9186d6c12 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-4cf3e3d1-4b96-45b8-be0d-bbcc25d29a95\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-da8e6643-0346-47cd-8d81-2a9bebc49b7a\",\"keyframes\":{\"transform\":[\"translate3d(0px, -375.48155%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-93d906bf-130b-4a8f-9b6d-d1a9186d6c12\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-6417e2e4-880c-4959-9e6c-834fe69f9dd6\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"woman leaning at the table\" srcSet=\"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-11.65049%;top:45.95469%;width:122.81553%;height:50.80906%;opacity:0.4\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-de1cec75-1ac8-4dd3-81f7-42d5c91269c3\"><svg style=\"display:block;position:absolute;top:0;height:100%;width:auto\" viewBox=\"0 0 42 26\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><title>Laptop Full<\/title><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M33.9565 1H8.04346C6.3866 1 5.04346 2.34315 5.04346 4V22.1739H36.9565V4C36.9565 2.34315 35.6134 1 33.9565 1ZM8.04346 0C5.83432 0 4.04346 1.79087 4.04346 4V23.1739H37.9565V4C37.9565 1.79086 36.1656 0 33.9565 0H8.04346Z\" fill=\"#0057FF\"><\/path><path d=\"M6.86963 6.82611C6.86963 4.61697 8.66049 2.82611 10.8696 2.82611H31.1305C33.3396 2.82611 35.1305 4.61697 35.1305 6.82611V23.1739H6.86963V6.82611Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M31.1305 3.82611H10.8696C9.21277 3.82611 7.86963 5.16925 7.86963 6.82611V22.1739H34.1305V6.82611C34.1305 5.16926 32.7874 3.82611 31.1305 3.82611ZM10.8696 2.82611C8.66049 2.82611 6.86963 4.61697 6.86963 6.82611V23.1739H35.1305V6.82611C35.1305 4.61697 33.3396 2.82611 31.1305 2.82611H10.8696Z\" fill=\"#0057FF\"><\/path><path d=\"M41.9131 22C41.9131 24.2091 40.1222 26 37.9131 26L4.087 26C1.87786 26 0.0869981 24.2091 0.0869983 22L0.0869984 20.913L41.9131 20.913L41.9131 22Z\" fill=\"#E4E4E4\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.087 25L37.9131 25C39.5699 25 40.9131 23.6569 40.9131 22L40.9131 21.913L1.087 21.913L1.087 22C1.087 23.6568 2.43015 25 4.087 25ZM37.9131 26C40.1222 26 41.9131 24.2091 41.9131 22L41.9131 20.913L0.0869984 20.913L0.0869983 22C0.0869981 24.2091 1.87786 26 4.087 26L37.9131 26Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.2609 24.1739H18.7392C18.0998 24.1739 17.5372 24.5025 17.211 25H24.7891C24.4629 24.5025 23.9003 24.1739 23.2609 24.1739ZM25.905 25C25.5011 23.9327 24.4696 23.1739 23.2609 23.1739H18.7392C17.5304 23.1739 16.499 23.9327 16.0951 25C15.9775 25.3109 15.9131 25.6479 15.9131 26H26.087C26.087 25.6479 26.0226 25.3109 25.905 25Z\" fill=\"#0057FF\"><\/path><\/svg><\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-78fac6be-aadb-4543-8fc0-853d074437f3\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:57.60518%;width:76.45631%;height:24.27184%;opacity:1\">\n<div id=\"anim-4cf3e3d1-4b96-45b8-be0d-bbcc25d29a95\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-da8e6643-0346-47cd-8d81-2a9bebc49b7a\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -375.48155%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6349206349206349% 0.6349206349206349% 0.6349206349206349% 0.6349206349206349% \/ 1.3333333333333335% 1.3333333333333335% 1.3333333333333335% 1.3333333333333335%\" id=\"el-18afb303-9c8b-4caf-bc3e-2996aaa10ad1\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5822222222222226% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Given two sorted arrays, find the median element of the merged array. The overall run time complexity should be O(log (m+n)).<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:38.83495%;width:76.69903%;height:6.14887%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6329113924050633% 0.6329113924050633% 0.6329113924050633% 0.6329113924050633% \/ 5.263157894736842% 5.263157894736842% 5.263157894736842% 5.263157894736842%\" id=\"el-91afbcb2-ab5f-40d9-b7d0-904861fad85e\">\n<h2 id=\"4-median-of-array\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.6911392405063295% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">4. Median of Array<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0.97087%;top:95.63107%;width:98.05825%;height:3.39806%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.49504950495049505% 0.49504950495049505% 0.49504950495049505% 0.49504950495049505% \/ 9.523809523809524% 9.523809523809524% 9.523809523809524% 9.523809523809524%\" id=\"el-246e76d0-528f-40dc-8cb9-81045c6156bc\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.06265470297029677% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.291262em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"c699d037-0d65-42ff-be87-cc83edf95486\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-90a7eaad-cce1-4600-ad8c-6f51053e3ed2 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(12.513852746307213%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-05e7206b-c965-47c3-8b77-269ab0ef2207\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-920b5e9b-7b13-4bcd-b966-1e7567dac13f\",\"keyframes\":{\"transform\":[\"translate3d(0px, -375.48155%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#a6c0c0\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-90a7eaad-cce1-4600-ad8c-6f51053e3ed2\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-b19a915c-b36c-4ffc-aa9b-88d820dd2aef\">\n<div style=\"position:absolute;width:133.38261%;height:100%;left:-16.6913%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2707&amp;h=3608&amp;fit=max\" alt=\"man in blue hoodie looking at macbook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2707&amp;h=3608&amp;fit=max 2707w,https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2165&amp;h=2886&amp;fit=max 2165w,https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1624&amp;h=2165&amp;fit=max 1624w,https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1082&amp;h=1442&amp;fit=max 1082w,https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=541&amp;h=721&amp;fit=max 541w,https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=453&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 60vh, 134vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-11.65049%;top:45.95469%;width:122.81553%;height:50.80906%;opacity:0.4\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-5f67993e-07eb-4e7f-a235-ec6f3f24b8ce\"><svg style=\"display:block;position:absolute;top:0;height:100%;width:auto\" viewBox=\"0 0 42 26\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><title>Laptop Full<\/title><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M33.9565 1H8.04346C6.3866 1 5.04346 2.34315 5.04346 4V22.1739H36.9565V4C36.9565 2.34315 35.6134 1 33.9565 1ZM8.04346 0C5.83432 0 4.04346 1.79087 4.04346 4V23.1739H37.9565V4C37.9565 1.79086 36.1656 0 33.9565 0H8.04346Z\" fill=\"#0057FF\"><\/path><path d=\"M6.86963 6.82611C6.86963 4.61697 8.66049 2.82611 10.8696 2.82611H31.1305C33.3396 2.82611 35.1305 4.61697 35.1305 6.82611V23.1739H6.86963V6.82611Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M31.1305 3.82611H10.8696C9.21277 3.82611 7.86963 5.16925 7.86963 6.82611V22.1739H34.1305V6.82611C34.1305 5.16926 32.7874 3.82611 31.1305 3.82611ZM10.8696 2.82611C8.66049 2.82611 6.86963 4.61697 6.86963 6.82611V23.1739H35.1305V6.82611C35.1305 4.61697 33.3396 2.82611 31.1305 2.82611H10.8696Z\" fill=\"#0057FF\"><\/path><path d=\"M41.9131 22C41.9131 24.2091 40.1222 26 37.9131 26L4.087 26C1.87786 26 0.0869981 24.2091 0.0869983 22L0.0869984 20.913L41.9131 20.913L41.9131 22Z\" fill=\"#E4E4E4\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.087 25L37.9131 25C39.5699 25 40.9131 23.6569 40.9131 22L40.9131 21.913L1.087 21.913L1.087 22C1.087 23.6568 2.43015 25 4.087 25ZM37.9131 26C40.1222 26 41.9131 24.2091 41.9131 22L41.9131 20.913L0.0869984 20.913L0.0869983 22C0.0869981 24.2091 1.87786 26 4.087 26L37.9131 26Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.2609 24.1739H18.7392C18.0998 24.1739 17.5372 24.5025 17.211 25H24.7891C24.4629 24.5025 23.9003 24.1739 23.2609 24.1739ZM25.905 25C25.5011 23.9327 24.4696 23.1739 23.2609 23.1739H18.7392C17.5304 23.1739 16.499 23.9327 16.0951 25C15.9775 25.3109 15.9131 25.6479 15.9131 26H26.087C26.087 25.6479 26.0226 25.3109 25.905 25Z\" fill=\"#0057FF\"><\/path><\/svg><\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-3e628981-0470-432e-b450-b46b4dd70164\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:57.60518%;width:76.45631%;height:24.27184%;opacity:1\">\n<div id=\"anim-05e7206b-c965-47c3-8b77-269ab0ef2207\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-920b5e9b-7b13-4bcd-b966-1e7567dac13f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -375.48155%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6349206349206349% 0.6349206349206349% 0.6349206349206349% 0.6349206349206349% \/ 1.3333333333333335% 1.3333333333333335% 1.3333333333333335% 1.3333333333333335%\" id=\"el-abf19c49-2a24-436b-8784-8d3d51ff23b4\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5822222222222226% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Given a sorted array that has been rotated, search for a target element efficiently. You may assume no duplicate exists in the array.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:34.62783%;width:76.69903%;height:10.67961%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6329113924050633% 0.6329113924050633% 0.6329113924050633% 0.6329113924050633% \/ 3.0303030303030303% 3.0303030303030303% 3.0303030303030303% 3.0303030303030303%\" id=\"el-31acf870-c5b2-4b87-a164-82d3221b1325\">\n<h2 id=\"5-rotated-sorted-array-search\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5772151898734181% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">5. Rotated Sorted Array Search<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0.97087%;top:95.63107%;width:98.05825%;height:3.39806%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.49504950495049505% 0.49504950495049505% 0.49504950495049505% 0.49504950495049505% \/ 9.523809523809524% 9.523809523809524% 9.523809523809524% 9.523809523809524%\" id=\"el-ae07e303-f0ff-4f43-87ec-28f76c152343\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.06265470297029677% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.291262em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"58c96625-3ab1-427b-95e4-8164f9bd6367\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-2e749d11-ca45-4ecb-b7bb-04ebc7bdc16e\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-6f2bf648-8286-449f-b892-9ecd526f1169\",\"keyframes\":{\"transform\":[\"translate3d(0px, -567.25758%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-5a73f183-4774-4bc9-9fe1-30967f3d8ad8 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-5a73f183-4774-4bc9-9fe1-30967f3d8ad8\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-de5cfed0-3524-444b-8ba8-844b625d16ed\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"woman leaning at the table\" srcSet=\"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-11.65049%;top:45.95469%;width:122.81553%;height:50.80906%;opacity:0.4\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-49706f90-0c93-4fab-8a76-ee65e00dc4c5\"><svg style=\"display:block;position:absolute;top:0;height:100%;width:auto\" viewBox=\"0 0 42 26\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><title>Laptop Full<\/title><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M33.9565 1H8.04346C6.3866 1 5.04346 2.34315 5.04346 4V22.1739H36.9565V4C36.9565 2.34315 35.6134 1 33.9565 1ZM8.04346 0C5.83432 0 4.04346 1.79087 4.04346 4V23.1739H37.9565V4C37.9565 1.79086 36.1656 0 33.9565 0H8.04346Z\" fill=\"#0057FF\"><\/path><path d=\"M6.86963 6.82611C6.86963 4.61697 8.66049 2.82611 10.8696 2.82611H31.1305C33.3396 2.82611 35.1305 4.61697 35.1305 6.82611V23.1739H6.86963V6.82611Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M31.1305 3.82611H10.8696C9.21277 3.82611 7.86963 5.16925 7.86963 6.82611V22.1739H34.1305V6.82611C34.1305 5.16926 32.7874 3.82611 31.1305 3.82611ZM10.8696 2.82611C8.66049 2.82611 6.86963 4.61697 6.86963 6.82611V23.1739H35.1305V6.82611C35.1305 4.61697 33.3396 2.82611 31.1305 2.82611H10.8696Z\" fill=\"#0057FF\"><\/path><path d=\"M41.9131 22C41.9131 24.2091 40.1222 26 37.9131 26L4.087 26C1.87786 26 0.0869981 24.2091 0.0869983 22L0.0869984 20.913L41.9131 20.913L41.9131 22Z\" fill=\"#E4E4E4\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.087 25L37.9131 25C39.5699 25 40.9131 23.6569 40.9131 22L40.9131 21.913L1.087 21.913L1.087 22C1.087 23.6568 2.43015 25 4.087 25ZM37.9131 26C40.1222 26 41.9131 24.2091 41.9131 22L41.9131 20.913L0.0869984 20.913L0.0869983 22C0.0869981 24.2091 1.87786 26 4.087 26L37.9131 26Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.2609 24.1739H18.7392C18.0998 24.1739 17.5372 24.5025 17.211 25H24.7891C24.4629 24.5025 23.9003 24.1739 23.2609 24.1739ZM25.905 25C25.5011 23.9327 24.4696 23.1739 23.2609 23.1739H18.7392C17.5304 23.1739 16.499 23.9327 16.0951 25C15.9775 25.3109 15.9131 25.6479 15.9131 26H26.087C26.087 25.6479 26.0226 25.3109 25.905 25Z\" fill=\"#0057FF\"><\/path><\/svg><\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-8ea3c9b6-cf44-4a37-aa52-d09910e35602\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:61.8123%;width:76.45631%;height:15.21036%;opacity:1\">\n<div id=\"anim-2e749d11-ca45-4ecb-b7bb-04ebc7bdc16e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-6f2bf648-8286-449f-b892-9ecd526f1169\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -567.25758%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6349206349206349% 0.6349206349206349% 0.6349206349206349% 0.6349206349206349% \/ 2.127659574468085% 2.127659574468085% 2.127659574468085% 2.127659574468085%\" id=\"el-73c3eff7-7901-4bbe-90a4-da9e5c4934e7\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5822222222222226% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Given a base and an exponent, compute the value of the base raised to the exponent.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:38.83495%;width:76.69903%;height:6.14887%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6329113924050633% 0.6329113924050633% 0.6329113924050633% 0.6329113924050633% \/ 5.263157894736842% 5.263157894736842% 5.263157894736842% 5.263157894736842%\" id=\"el-9d5cf39e-6fd5-4600-823f-d1b975b50d22\">\n<h2 id=\"6-implement-power-function\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.6911392405063295% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">6. <\/span><span style=\"font-weight: 700; color: #fff\">Implement Power Function<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0.97087%;top:95.63107%;width:98.05825%;height:3.39806%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.49504950495049505% 0.49504950495049505% 0.49504950495049505% 0.49504950495049505% \/ 9.523809523809524% 9.523809523809524% 9.523809523809524% 9.523809523809524%\" id=\"el-f7626d24-6743-4fa8-bac2-efef367d9db5\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.06265470297029677% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.291262em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"http:\/\/ibassets.s3.amazonaws.com\/static-assets\/ib-logo-square.png\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"4147d07a-9c06-4df9-af09-c51340cff88c\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-4507e382-de6d-41b8-abdf-eec8852e659c [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(13.360495214439528%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-c13fe44a-d207-430b-a6c6-4675bf5ab390\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-b477a732-e14b-4904-810e-e066953e50f4\",\"keyframes\":{\"transform\":[\"translate3d(0px, -376.81486%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#404040\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-4507e382-de6d-41b8-abdf-eec8852e659c\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-20d0c25a-6e42-4feb-9c08-c32e7f03299c\">\n<div style=\"position:absolute;width:136.46473%;height:100%;left:-18.23236%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3835&amp;h=4996&amp;fit=max\" alt=\"woman in white long sleeve shirt wearing eyeglasses\" srcSet=\"https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3835&amp;h=4996&amp;fit=max 3835w,https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3068&amp;h=3997&amp;fit=max 3068w,https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2301&amp;h=2998&amp;fit=max 2301w,https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1534&amp;h=1998&amp;fit=max 1534w,https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=767&amp;h=999&amp;fit=max 767w,https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=443&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 62vh, 137vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-11.65049%;top:45.95469%;width:122.81553%;height:50.80906%;opacity:0.4\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-66ebc5cd-7bcc-4208-aa0f-4f77917131e8\"><svg style=\"display:block;position:absolute;top:0;height:100%;width:auto\" viewBox=\"0 0 42 26\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><title>Laptop Full<\/title><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M33.9565 1H8.04346C6.3866 1 5.04346 2.34315 5.04346 4V22.1739H36.9565V4C36.9565 2.34315 35.6134 1 33.9565 1ZM8.04346 0C5.83432 0 4.04346 1.79087 4.04346 4V23.1739H37.9565V4C37.9565 1.79086 36.1656 0 33.9565 0H8.04346Z\" fill=\"#0057FF\"><\/path><path d=\"M6.86963 6.82611C6.86963 4.61697 8.66049 2.82611 10.8696 2.82611H31.1305C33.3396 2.82611 35.1305 4.61697 35.1305 6.82611V23.1739H6.86963V6.82611Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M31.1305 3.82611H10.8696C9.21277 3.82611 7.86963 5.16925 7.86963 6.82611V22.1739H34.1305V6.82611C34.1305 5.16926 32.7874 3.82611 31.1305 3.82611ZM10.8696 2.82611C8.66049 2.82611 6.86963 4.61697 6.86963 6.82611V23.1739H35.1305V6.82611C35.1305 4.61697 33.3396 2.82611 31.1305 2.82611H10.8696Z\" fill=\"#0057FF\"><\/path><path d=\"M41.9131 22C41.9131 24.2091 40.1222 26 37.9131 26L4.087 26C1.87786 26 0.0869981 24.2091 0.0869983 22L0.0869984 20.913L41.9131 20.913L41.9131 22Z\" fill=\"#E4E4E4\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.087 25L37.9131 25C39.5699 25 40.9131 23.6569 40.9131 22L40.9131 21.913L1.087 21.913L1.087 22C1.087 23.6568 2.43015 25 4.087 25ZM37.9131 26C40.1222 26 41.9131 24.2091 41.9131 22L41.9131 20.913L0.0869984 20.913L0.0869983 22C0.0869981 24.2091 1.87786 26 4.087 26L37.9131 26Z\" fill=\"#0057FF\"><\/path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.2609 24.1739H18.7392C18.0998 24.1739 17.5372 24.5025 17.211 25H24.7891C24.4629 24.5025 23.9003 24.1739 23.2609 24.1739ZM25.905 25C25.5011 23.9327 24.4696 23.1739 23.2609 23.1739H18.7392C17.5304 23.1739 16.499 23.9327 16.0951 25C15.9775 25.3109 15.9131 25.6479 15.9131 26H26.087C26.087 25.6479 26.0226 25.3109 25.905 25Z\" fill=\"#0057FF\"><\/path><\/svg><\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-060348f7-1aed-4c75-bc7e-450c170b43d5\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:57.9288%;width:76.45631%;height:24.27184%;opacity:1\">\n<div id=\"anim-c13fe44a-d207-430b-a6c6-4675bf5ab390\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-b477a732-e14b-4904-810e-e066953e50f4\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -376.81486%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6349206349206349% 0.6349206349206349% 0.6349206349206349% 0.6349206349206349% \/ 1.3333333333333335% 1.3333333333333335% 1.3333333333333335% 1.3333333333333335%\" id=\"el-c97f1de8-5ecf-453a-b8c8-a9d39230f893\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5822222222222226% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Given a sorted array of integers and a target value, find the starting and ending position of the target value in the array.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:38.83495%;width:76.69903%;height:6.14887%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6329113924050633% 0.6329113924050633% 0.6329113924050633% 0.6329113924050633% \/ 5.263157894736842% 5.263157894736842% 5.263157894736842% 5.263157894736842%\" id=\"el-ac559b9c-d8b7-4e85-a1c7-70f639a97857\">\n<h2 id=\"7-search-for-a-range\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.6911392405063295% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">7. <\/span><span style=\"font-weight: 700; color: #fff\">Search for a Range<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0.97087%;top:95.63107%;width:98.05825%;height:3.39806%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.49504950495049505% 0.49504950495049505% 0.49504950495049505% 0.49504950495049505% \/ 9.523809523809524% 9.523809523809524% 9.523809523809524% 9.523809523809524%\" id=\"el-700d2a6e-82a0-4c52-a559-26693c6b89bd\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.06265470297029677% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.291262em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"54247e4a-4c34-4389-9ef8-e2ad1e555aa1\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-bd69eb2c-46b5-4b6a-bbee-bfcbeb341991\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-0a7fd908-a5f5-4cc3-83d1-f7628f629581\",\"keyframes\":{\"transform\":[\"translate3d(0px, -267.31555%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-9b44c118-901c-463a-817b-085c34b42308\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-191aa483-87a7-4b67-b31a-eac32c62b7eb\",\"keyframes\":{\"transform\":[\"translate3d(0px, -412.79182%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#262626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-52e4f493-e25d-4e03-b7aa-697c8631c3c3\">\n<div style=\"position:absolute;width:267.66542%;height:100%;left:-83.83271%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4288&amp;h=2848&amp;fit=max\" alt=\"person using track pad\" srcSet=\"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4288&amp;h=2848&amp;fit=max 4288w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3430&amp;h=2278&amp;fit=max 3430w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2572&amp;h=1708&amp;fit=max 2572w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1715&amp;h=1139&amp;fit=max 1715w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=857&amp;h=569&amp;fit=max 857w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=226&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 121vh, 268vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:linear-gradient(0.5turn, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-image:linear-gradient(0.5turn, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-85da65c1-1fb2-40ba-8a02-41ca3ec7d153\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.85437%;top:50.97087%;width:87.86408%;height:19.25566%;opacity:1\">\n<div id=\"anim-9b44c118-901c-463a-817b-085c34b42308\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-191aa483-87a7-4b67-b31a-eac32c62b7eb\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -412.79182%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5524861878453038% 0.5524861878453038% 0.5524861878453038% 0.5524861878453038% \/ 1.680672268907563% 1.680672268907563% 1.680672268907563% 1.680672268907563%\" id=\"el-8f22a9ff-495f-41ca-b7f2-b60d1aa3ab6b\">\n<h3 id=\"interviewbit-has-got-you-covered-with-their-collection-of-binary-search-tree-interview-problems-get-started-now-and-become-a-master-problem-solver\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.5460117403314918% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.372168em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #1263ff\">InterviewBit <\/span><span style=\"color: #1263ff\">has got you covered with their collection of <\/span><span style=\"font-weight: 700; color: #1263ff\">Binary search tree interview problems<\/span><span style=\"color: #1263ff\">. Get started now and become a master problem solver!<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.85437%;top:27.83172%;width:86.40777%;height:22.16828%;opacity:1\">\n<div id=\"anim-bd69eb2c-46b5-4b6a-bbee-bfcbeb341991\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-0a7fd908-a5f5-4cc3-83d1-f7628f629581\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -267.31555%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-d0a9448e-0825-4a27-afef-cf3753e1b025\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.601123595505617% 0;font-family:&quot;Poppins&quot;,sans-serif;font-size:0.614887em;line-height:1.1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Ready to become expert in solving BST Problems?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:17.79935%;width:11.40777%;height:7.28155%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;clip-path:url(#el-cab5dc4e-70e7-446a-9516-9aa3a621a79e);-webkit-clip-path:url(#el-cab5dc4e-70e7-446a-9516-9aa3a621a79e)\" class=\"mask\"><svg width=\"0\" height=\"0\"><defs><clipPath id=\"el-cab5dc4e-70e7-446a-9516-9aa3a621a79e\" transform=\"scale(1 1.051524710830705)\" clipPathUnits=\"objectBoundingBox\"><path d=\"M 0.50000026,0.78688566 0.19262278,0.95082018 0.2500004,0.6065577 0,0.36065594 0.34426194,0.31147556 0.50000026,0 0.65573858,0.31147556 1,0.36065594 0.75000014,0.6065577 0.80737774,0.95082018 Z\"><\/path><\/clipPath><\/defs><\/svg><\/p>\n<div class=\"fill\" style=\"background-color:#003bad;will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.29126%;top:17.79935%;width:11.40777%;height:7.28155%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;clip-path:url(#el-5c602a45-e2cf-49cf-ae22-88ed66d35076);-webkit-clip-path:url(#el-5c602a45-e2cf-49cf-ae22-88ed66d35076)\" class=\"mask\"><svg width=\"0\" height=\"0\"><defs><clipPath id=\"el-5c602a45-e2cf-49cf-ae22-88ed66d35076\" transform=\"scale(1 1.051524710830705)\" clipPathUnits=\"objectBoundingBox\"><path d=\"M 0.50000026,0.78688566 0.19262278,0.95082018 0.2500004,0.6065577 0,0.36065594 0.34426194,0.31147556 0.50000026,0 0.65573858,0.31147556 1,0.36065594 0.75000014,0.6065577 0.80737774,0.95082018 Z\"><\/path><\/clipPath><\/defs><\/svg><\/p>\n<div class=\"fill\" style=\"background-color:#003bad;will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:26.94175%;top:17.79935%;width:11.40777%;height:7.28155%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;clip-path:url(#el-ada07d4b-2570-4c81-9db5-3dd8141745b8);-webkit-clip-path:url(#el-ada07d4b-2570-4c81-9db5-3dd8141745b8)\" class=\"mask\"><svg width=\"0\" height=\"0\"><defs><clipPath id=\"el-ada07d4b-2570-4c81-9db5-3dd8141745b8\" transform=\"scale(1 1.051524710830705)\" clipPathUnits=\"objectBoundingBox\"><path d=\"M 0.50000026,0.78688566 0.19262278,0.95082018 0.2500004,0.6065577 0,0.36065594 0.34426194,0.31147556 0.50000026,0 0.65573858,0.31147556 1,0.36065594 0.75000014,0.6065577 0.80737774,0.95082018 Z\"><\/path><\/clipPath><\/defs><\/svg><\/p>\n<div class=\"fill\" style=\"background-color:#003bad;will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"a27658a0-6f2c-44e2-9fcd-1060a35bd56d\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-56cfa493-18c2-4e0b-8339-7af285c81fb4\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-76decea9-ebef-4261-95f8-3af50170bbde\",\"keyframes\":{\"transform\":[\"translate3d(0px, -211.49618%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-3837df43-2983-4394-993b-eb7678965c88\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-5162d29b-915a-4205-9d35-d63b2acf44e4\",\"keyframes\":{\"transform\":[\"translate3d(0px, -621.00265%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-27d7a25b-a665-43e9-9076-e86fe0650fd7 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#0c2626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-27d7a25b-a665-43e9-9076-e86fe0650fd7\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-a604e4f2-daba-4791-93e8-e72b50eb1cb3\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"man using laptop\" srcSet=\"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-0c73adb7-3f12-4bdd-a5ab-60951e97428d\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.52427%;top:27.18447%;width:88.34951%;height:32.68608%;opacity:1\">\n<div id=\"anim-56cfa493-18c2-4e0b-8339-7af285c81fb4\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-76decea9-ebef-4261-95f8-3af50170bbde\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -211.49618%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-b1c048a0-b995-4f62-8f59-e9a253eecfc3\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.7719780219780208% 0;font-family:&quot;Poppins&quot;,sans-serif;font-size:0.695793em;line-height:1.1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Step Up Your Game with InterviewBit Web Stories<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.85437%;top:4.36893%;width:19.66019%;height:45.79288%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-688d6104-4e44-45b2-9026-a9c8513ff7a1\">\n<h1 id=\"\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:49.876543209876516% 0;font-family:&quot;Poppins&quot;,sans-serif;font-size:3.268608em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">\u201c<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.28155%;top:59.87055%;width:82.52427%;height:13.26861%;opacity:1\">\n<div id=\"anim-3837df43-2983-4394-993b-eb7678965c88\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-5162d29b-915a-4205-9d35-d63b2acf44e4\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -621.00265%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5882352941176471% 0.5882352941176471% 0.5882352941176471% 0.5882352941176471% \/ 2.4390243902439024% 2.4390243902439024% 2.4390243902439024% 2.4390243902439024%\" id=\"el-b2dd71c5-ba5c-4422-b381-46a892720ad6\">\n<h3 id=\"dont-miss-out-on-the-chance-to-upskill-yourself-with-intervewbits-engaging-web-stories\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09512867647058793% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.372168em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Don&#8217;t miss out on the chance to upskill yourself with IntervewBit&#8217;s engaging web stories.&nbsp;<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\"><a href=\"https:\/\/www.interviewbit.com\/blog\/web-stories\/?utm_source=Ib&amp;utm_medium=webstories&amp;utm_campaign=unlimited-learning-with-engaging-web-stories\" rel=\"\">SWIPE UP<\/a><\/amp-story-page-outlink><\/amp-story-page><\/amp-story><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"This web story provide you with details on top 7 binary search tree coding problems to prepare for an interview.\n","protected":false},"author":21,"featured_media":18190,"template":"","meta":{"_daextam_enable_autolinks":"","web_stories_products":[],"web_stories_publisher_logo":1082,"web_stories_poster":[]},"web_story_category":[2120],"web_story_tag":[2720,2719,2721],"amp_enabled":false,"story_data":{"version":46,"pages":[{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":220,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"5ec7481f-587c-4959-a7da-bd02c94e7e1c","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":5760,"height":3840,"sizes":{"full":{"file":"media\/unsplash:ieIY61ZHhs8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&ixlib=rb-4.0.3&fm=jpg&w=5760&h=3840&fit=max","mimeType":"image\/jpeg","width":5760,"height":3840},"large":{"file":"media\/unsplash:ieIY61ZHhs8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&ixlib=rb-4.0.3&fm=jpg&w=4608&h=3072&fit=max","mimeType":"image\/jpeg","width":4608,"height":3072},"3456_2304":{"file":"media\/unsplash:ieIY61ZHhs8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&ixlib=rb-4.0.3&fm=jpg&w=3456&h=2304&fit=max","mimeType":"image\/jpeg","width":3456,"height":2304},"2304_1536":{"file":"media\/unsplash:ieIY61ZHhs8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&ixlib=rb-4.0.3&fm=jpg&w=2304&h=1536&fit=max","mimeType":"image\/jpeg","width":2304,"height":1536},"1152_768":{"file":"media\/unsplash:ieIY61ZHhs8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&ixlib=rb-4.0.3&fm=jpg&w=1152&h=768&fit=max","mimeType":"image\/jpeg","width":1152,"height":768},"web_stories_thumbnail":{"file":"media\/unsplash:ieIY61ZHhs8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:ieIY61ZHhs8","baseColor":"#260c0c","blurHash":"LDEUfbqF0zzpPVXn$*sSiIVYKN%1","creationDate":"2018-08-02T17:08:01Z","src":"https:\/\/images.unsplash.com\/photo-1533229613598-751dc97ec35f?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3M3x8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk4MDg&ixlib=rb-4.0.3&fm=jpg&w=5760&h=3840&fit=max","alt":"man and woman looking on silver laptop while smiling","attribution":{"author":{"displayName":"bruce mars","url":"https:\/\/unsplash.com\/it\/@brucemars?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfGopgx8wcsMOmk8LDhzAArhyuuIPtgFki%2Bx9jgTBdJRNe8FZUA%2BPvdaF5kOJpSSxH5J%2BuBp1oeDyQH7e7UQmd0xx%2Bc%2BiXCkqQ2viw2WFEV4r4URwUOgczfgSahdYnk1aZKf0OwT5bjOSOK7%2BHGvxOnIYienRsifrHkkUay6CfV6dkcLiVGFB0zXjPSvQ\/VP7dWq6jc\/P6hjIaI\/XOxsX7tJhMCSkNYUkG6obUfOs\/nsKkxBz1Tje65E7W5J54N\/"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"ea251a16-bb73-4d60-8d67-8b48c3a5f099","id":"cb48c127-3fe1-4225-9f7c-cff7090fd555","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":50,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #fff\">Top&nbsp;<\/span>\n<span style=\"color: #1263ff\">Binary Search Tree<\/span><span style=\"color: #fff\"> Coding Problems for Interviews<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":15,"y":383,"width":382,"height":241,"id":"1b8f9b5c-1a18-4ce1-9c5f-06d030451937"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Bungee Shade"},"fontSize":95,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.19,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #1263ff\">7<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":93,"y":350,"width":186,"height":95,"id":"4d436ca8-e140-46d3-8a52-60875618d96c"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"e8de3bd0-50f1-44e6-a934-453d1980d163","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"a8df629e-95a9-41e9-8981-4ef43ba09385"},"animations":[],"pageAttachment":{"url":""}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"b9c9d105-a075-4ba9-8633-8971fa64599b","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4000,"height":6000,"sizes":{"full":{"file":"media\/unsplash:aVEaY6hWlCo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:aVEaY6hWlCo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&ixlib=rb-4.0.3&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:aVEaY6hWlCo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&ixlib=rb-4.0.3&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:aVEaY6hWlCo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&ixlib=rb-4.0.3&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:aVEaY6hWlCo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&ixlib=rb-4.0.3&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:aVEaY6hWlCo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:aVEaY6hWlCo","baseColor":"#262626","blurHash":"LjE{Rsx]?bxu~p%M-;f+t7xuozRj","creationDate":"2021-09-14T12:57:24Z","src":"https:\/\/images.unsplash.com\/photo-1631624222568-6619ce21a683?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8Y29kZXJzfGVufDB8fHx8MTY4MTkwMjQyNg&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","alt":"a man sitting at a computer with headphones on","attribution":{"author":{"displayName":"Mikhail Fesenko","url":"https:\/\/unsplash.com\/@proggga?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfFgj\/Iu8yMdTEL2JRQlOiBWruq4zwEuOqwy6OhCCC5Qvli7NqmhlEkg0aTUc1Typ5igrdH3n4I%2B7aiBxBYoyVcneG4RZVvzYamtySGYnKiRyJOeF3Et\/C3ue45F1oC6Vd0EFjl9rX7yIoDW4gDrjqNJOD%2BdCS6TrBWh%2BfqL%2BO90oyTVJCDC2yMxfs2xESjHufBB60RHCs7qDZqRZ5zxr0BdbUge1roMeXaaOaihvA%3D%3D"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":40,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"type":"sticker","x":-48,"y":284,"width":506,"height":314,"sticker":{"type":"laptopRatingsFull"},"id":"b488165a-3585-4758-af1f-c7f60f9c2364"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"cb48c127-3fe1-4225-9f7c-cff7090fd555","id":"81811408-af93-46a4-9620-651285eea9d8","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Binary Search Trees are an essential part of computer science and are frequently asked about in interviews. Let's dive into the top 7 BST coding problems you should know for your next interview.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":332,"width":315,"height":206,"tagName":"p","basedOn":"5bc92ad7-5298-4033-b5ea-f06daf81a5a9","id":"cfca1c02-e711-4541-8f4f-1ccbec4bcde6","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":27,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">Introdution<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":240,"width":145,"height":31,"id":"9d9475f2-4aca-4b9d-a612-2c4ba2476f68"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"targets":["cfca1c02-e711-4541-8f4f-1ccbec4bcde6"],"id":"f0a78883-ac8c-4e4b-bf7f-f4520cda64d1","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0},{"id":"ee68156c-85ef-4f8a-bfea-434ebe307b68","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["b9c9d105-a075-4ba9-8633-8971fa64599b"]}],"id":"8c6bf4ec-2231-4205-afc1-feff529ae9f3","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"0fa1c6c6-babf-4c13-bd9c-60fdc38e885a"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&utm_medium=webstories&utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"1189e1b6-be4f-4d45-b46f-5e1b0a59a486","scale":100,"focalX":50,"focalY":49.94818649167432,"resource":{"baseColor":"#f3f3f3","blurHash":"LlH.QcIAxut7~qayt7xu?bt7M{xv","type":"image","mimeType":"image\/jpeg","creationDate":"2019-11-11T18:11:53Z","src":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=4016&h=6016&fit=max","width":4016,"height":6016,"id":"media\/unsplash:7RRj4wDX7LE","alt":"shallow focus photo of woman using MacBook","sizes":{"full":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=4016&h=6016&fit=max","mimeType":"image\/jpeg","width":4016,"height":6016},"large":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=3212&h=4812&fit=max","mimeType":"image\/jpeg","width":3212,"height":4812},"2409_3609":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=2409&h=3609&fit=max","mimeType":"image\/jpeg","width":2409,"height":3609},"1606_2406":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=1606&h=2406&fit=max","mimeType":"image\/jpeg","width":1606,"height":2406},"803_1203":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=803&h=1203&fit=max","mimeType":"image\/jpeg","width":803,"height":1203},"web_stories_thumbnail":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=340&h=509&fit=max","mimeType":"image\/jpeg","width":340,"height":509}},"attribution":{"author":{"displayName":"Christina @ wocintechchat.com","url":"https:\/\/unsplash.com\/@wocintechchat?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tqCqy1VrA\/87Yw3PZrAhYUH9prxWhFxKYzgdgwwbBc2sKEhWj1KqeYYnpwtpfNLRUmN85o29gdyzJhA0ziDin13VcYXiyHJF77LNsqROK88a%2BysiA%2BErvBQxWGn14exo0ZlthVJjYYEjSDCPyLrtGYqaFzzQ1LFOfSCwLNVWZan\/JTQZeFCYRA2AjAuR%2BzlyieLBo2n4SyKTzcyUs3b%2B7m1EX3Fwj%2BJTnx\/DOYwEe064phd"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":40,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-48,"y":284,"width":506,"height":314,"sticker":{"type":"laptopRatingsFull"},"basedOn":"120a4885-caa7-47d5-bed6-b68f93b4f338","id":"472d92d8-c5ad-4100-9dea-56fb83351e45","type":"sticker"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"81811408-af93-46a4-9620-651285eea9d8","id":"46d88c1c-7a43-4355-acc1-3a75a4e5a0cc","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":4,"y":591,"width":404,"height":21,"basedOn":"54daed4f-c8c4-4719-9942-2809033db776","id":"5423179c-024e-4c53-b34a-e6499db37b3a","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Given a matrix of integers sorted row-wise and column-wise, efficiently search for an element in the matrix.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":49,"y":368,"width":315,"height":122,"tagName":"p","basedOn":"cfca1c02-e711-4541-8f4f-1ccbec4bcde6","id":"3ccbe12d-efdc-4518-8c0a-7db6870cb2d6","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">1. Matrix Search<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":240,"width":316,"height":38,"basedOn":"9d9475f2-4aca-4b9d-a612-2c4ba2476f68","id":"2486d0ea-5700-4510-9dcb-0968e490f573","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"8f62c001-433b-4b52-be4c-01eaaf97171d","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["1189e1b6-be4f-4d45-b46f-5e1b0a59a486"]},{"targets":["3ccbe12d-efdc-4518-8c0a-7db6870cb2d6"],"id":"c7b9fcbf-a389-4a21-9447-68bbe1a09194","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"40e238c0-cd08-4923-bd94-e7fbdf785fcb","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"6417e2e4-880c-4959-9e6c-834fe69f9dd6"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&utm_medium=webstories&utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"a7c2e5bb-604f-40cd-8956-60c2fe6d0195","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4000,"height":6000,"sizes":{"full":{"file":"media\/unsplash:J2xvOFw71S0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:J2xvOFw71S0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&ixlib=rb-4.0.3&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:J2xvOFw71S0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&ixlib=rb-4.0.3&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:J2xvOFw71S0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&ixlib=rb-4.0.3&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:J2xvOFw71S0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&ixlib=rb-4.0.3&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:J2xvOFw71S0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:J2xvOFw71S0","baseColor":"#a6a6a6","blurHash":"LeF7C@DiTfV?CAxuXnae*0JBVrt7","creationDate":"2021-11-22T19:28:50Z","src":"https:\/\/images.unsplash.com\/photo-1637607698829-d31114cb7763?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOTV8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMzA1NTQx&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","alt":"a man sitting at a desk talking on a cell phone","attribution":{"author":{"displayName":"TheRegisti","url":"https:\/\/unsplash.com\/@theregisti?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfHeCQBTOPuQW0zKBppiw%2BpZtbEAbW1fzgRgruKxoQE9MJr85r087Azo%2BjsyyW48w9cobHhtSzU%2BghxYIFcArXXTkx\/WmKV3Nku8d1N5vimRqBbDbsoSfyPfxp9GdFDxck44vQl9ufxUSpAp1XzWSYgve2kXkdvuYG3V1qqaMyUD1ztBbjPRUcdqyCn7FEFlorUpHXVCkMGUluNh2qeVXPa1oDj%2BMG7xE7JWq7K9Qt2XQYXHkR3G9Nk7OGhKOHKEEQ%3D%3D"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":40,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-48,"y":284,"width":506,"height":314,"sticker":{"type":"laptopRatingsFull"},"basedOn":"120a4885-caa7-47d5-bed6-b68f93b4f338","id":"acd6eaef-02d6-492c-ba2b-e293ddecd718","type":"sticker"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"46d88c1c-7a43-4355-acc1-3a75a4e5a0cc","id":"b5cf3d24-52ce-4d75-9e43-2bd8784e2509","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Given an integer A, Compute and return the square root of A without using sqrt function from the standard library. If A is not a perfect square, return floor(sqrt(A)).<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":49,"y":344,"width":315,"height":178,"tagName":"p","basedOn":"cfca1c02-e711-4541-8f4f-1ccbec4bcde6","id":"51b38758-b330-4e4c-bb11-3a948ab2f1e9","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">2. <\/span><span style=\"font-weight: 700; color: #fff\">Square Root of Integer<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":240,"width":316,"height":38,"basedOn":"2486d0ea-5700-4510-9dcb-0968e490f573","id":"37538835-8751-46e7-87ec-50e7dde9d9df","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":4,"y":591,"width":404,"height":21,"basedOn":"5423179c-024e-4c53-b34a-e6499db37b3a","id":"d99c15a3-0641-4282-bbe4-631348a81f86","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"e021e7b9-7059-492b-b7bd-dc4d8b63511e","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["a7c2e5bb-604f-40cd-8956-60c2fe6d0195"]},{"targets":["51b38758-b330-4e4c-bb11-3a948ab2f1e9"],"id":"88fdfe22-04e7-4cdb-818d-48a6b67c3771","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"95903fc4-ab54-43ff-8549-b530094a70d1","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"6abda58f-3a7d-440c-ba72-e9eb990fd385"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&utm_medium=webstories&utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"741b80be-f1e4-4e7e-81a1-3f452436e27f","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":6630,"height":9940,"sizes":{"full":{"file":"media\/unsplash:3cx_tx4h9oI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&ixlib=rb-4.0.3&fm=jpg&w=6630&h=9940&fit=max","mimeType":"image\/jpeg","width":6630,"height":9940},"large":{"file":"media\/unsplash:3cx_tx4h9oI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&ixlib=rb-4.0.3&fm=jpg&w=5304&h=7952&fit=max","mimeType":"image\/jpeg","width":5304,"height":7952},"3978_5964":{"file":"media\/unsplash:3cx_tx4h9oI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&ixlib=rb-4.0.3&fm=jpg&w=3978&h=5964&fit=max","mimeType":"image\/jpeg","width":3978,"height":5964},"2652_3976":{"file":"media\/unsplash:3cx_tx4h9oI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&ixlib=rb-4.0.3&fm=jpg&w=2652&h=3976&fit=max","mimeType":"image\/jpeg","width":2652,"height":3976},"1326_1988":{"file":"media\/unsplash:3cx_tx4h9oI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&ixlib=rb-4.0.3&fm=jpg&w=1326&h=1988&fit=max","mimeType":"image\/jpeg","width":1326,"height":1988},"web_stories_thumbnail":{"file":"media\/unsplash:3cx_tx4h9oI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:3cx_tx4h9oI","baseColor":"#f3d9d9","blurHash":"LhHn?As.S5WB01RkjZRj?ajuM{of","creationDate":"2020-02-07T15:17:48Z","src":"https:\/\/images.unsplash.com\/photo-1581087724844-037b13e16b0b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5Nnx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjc2MDUxOTAz&ixlib=rb-4.0.3&fm=jpg&w=6630&h=9940&fit=max","alt":"woman in black shirt using computer","attribution":{"author":{"displayName":"ThisisEngineering RAEng","url":"https:\/\/unsplash.com\/@thisisengineering?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aa0pnNYGAEI8dBOa\/XhnwEN0oVSUeSXagPFTrRWS6aLG\/MkM\/C6%2B5bBnuELiPLLeTeRCuitDJqjWNaBRyCOTJVKdR7uW1uODxG9l6k8PmOuYnLVw%2Bz1CvGGqi\/45OCAAjW%2BFyL5C8fk3dQudbdnhYTJRlf5EI\/oJxPYEGzoZroo38YM6MiMSldfeb31H6FVV2F95o9z6\/xnnQ3YEm2n%2BGCIdDJB2UAdl1D%2BteNtT5DV6dt6knPgnfytiCqiPHnLbuVixZQ%3D%3D"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":40,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-48,"y":284,"width":506,"height":314,"sticker":{"type":"laptopRatingsFull"},"basedOn":"b488165a-3585-4758-af1f-c7f60f9c2364","id":"120a4885-caa7-47d5-bed6-b68f93b4f338","type":"sticker"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"46d88c1c-7a43-4355-acc1-3a75a4e5a0cc","id":"5e87eb52-4c7b-48b0-87a5-6a9f21443327","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Given an array of board lengths, A painters, &amp; B units of time per 1 unit of board, find minimum time required to paint all boards where each painter can only paint contiguous sections of board.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":332,"width":315,"height":206,"tagName":"p","basedOn":"cfca1c02-e711-4541-8f4f-1ccbec4bcde6","id":"75f5415d-9cec-439a-b4c6-c2bec3ac6f15","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">3. Painter's Partition Problem<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":240,"width":316,"height":38,"basedOn":"37538835-8751-46e7-87ec-50e7dde9d9df","id":"6c744a89-c4d5-47ef-9df3-fc82dea30346","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":4,"y":591,"width":404,"height":21,"basedOn":"5423179c-024e-4c53-b34a-e6499db37b3a","id":"b0a4af90-851e-4376-beb6-62ca7aaba802","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"6db9c49e-eabf-4544-999d-b81d7f4ccc4d","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["741b80be-f1e4-4e7e-81a1-3f452436e27f"]},{"targets":["75f5415d-9cec-439a-b4c6-c2bec3ac6f15"],"id":"f2079ffd-fdf2-4a94-8fbf-fc9c4be62da6","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"003c04fa-fa9a-41be-99d6-dff01f94a2c3","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"62b6c641-30d3-4d7f-a8f7-6d986068c141"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&utm_medium=webstories&utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"6417e2e4-880c-4959-9e6c-834fe69f9dd6","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LeH2Zc00t6kC-:t7M{kCR*o2t6t7","type":"image","mimeType":"image\/jpeg","creationDate":"2019-07-19T11:41:39Z","src":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","width":4000,"height":6000,"id":"media\/unsplash:NdFREMS5P08","alt":"woman leaning at the table","sizes":{"full":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"attribution":{"author":{"displayName":"Nicole Wolf","url":"https:\/\/unsplash.com\/@joeel56?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tpY2%2BUTP6YwjFpDaBiJc6fD9BN3t\/SN\/\/isMJsEmXSQBJ60Owi\/\/VGvUChr31tFJUc7HhUxUsKUi8kEq%2BgJFXy4%2BEmVF4s\/4vWvJGGnpAR8N%2BaLww0IEd0Lvx52pLKgOrLgpLtMNZVI3M8\/oZQD2pG6iyCTZSkt0H8tJqiopY5QSPWfXFf\/wZRXqSuvXREdghPw2MdZC6rJMeQ4uVFqDSwY2wqjVUc%2BWI5XeI5XCHz9cdHh"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":40,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-48,"y":284,"width":506,"height":314,"sticker":{"type":"laptopRatingsFull"},"basedOn":"120a4885-caa7-47d5-bed6-b68f93b4f338","id":"de1cec75-1ac8-4dd3-81f7-42d5c91269c3","type":"sticker"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"46d88c1c-7a43-4355-acc1-3a75a4e5a0cc","id":"78fac6be-aadb-4543-8fc0-853d074437f3","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Given two sorted arrays, find the median element of the merged array. The overall run time complexity should be O(log (m+n)).<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":356,"width":315,"height":150,"tagName":"p","basedOn":"75f5415d-9cec-439a-b4c6-c2bec3ac6f15","id":"18afb303-9c8b-4caf-bc3e-2996aaa10ad1","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">4. Median of Array<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":240,"width":316,"height":38,"basedOn":"6c744a89-c4d5-47ef-9df3-fc82dea30346","id":"91afbcb2-ab5f-40d9-b7d0-904861fad85e","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":4,"y":591,"width":404,"height":21,"basedOn":"5423179c-024e-4c53-b34a-e6499db37b3a","id":"246e76d0-528f-40dc-8cb9-81045c6156bc","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"targets":["6417e2e4-880c-4959-9e6c-834fe69f9dd6"],"id":"03ac9f99-3913-43f3-8912-6a82e961b65f","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut"},{"targets":["18afb303-9c8b-4caf-bc3e-2996aaa10ad1"],"id":"179db81a-94a5-4449-8130-fce8b216a34c","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"e527486a-774a-4c1c-b1b0-bc90e6a54bf1","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"d31da76a-9529-4b96-b2bc-42a3a007f7e0"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&utm_medium=webstories&utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":439,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"b19a915c-b36c-4ffc-aa9b-88d820dd2aef","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":2707,"height":3608,"sizes":{"full":{"file":"media\/unsplash:xTHcNZAQzbM","sourceUrl":"https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&ixlib=rb-4.0.3&fm=jpg&w=2707&h=3608&fit=max","mimeType":"image\/jpeg","width":2707,"height":3608},"large":{"file":"media\/unsplash:xTHcNZAQzbM","sourceUrl":"https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&ixlib=rb-4.0.3&fm=jpg&w=2165&h=2886&fit=max","mimeType":"image\/jpeg","width":2165,"height":2886},"1624_2165":{"file":"media\/unsplash:xTHcNZAQzbM","sourceUrl":"https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&ixlib=rb-4.0.3&fm=jpg&w=1624&h=2165&fit=max","mimeType":"image\/jpeg","width":1624,"height":2165},"1082_1442":{"file":"media\/unsplash:xTHcNZAQzbM","sourceUrl":"https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&ixlib=rb-4.0.3&fm=jpg&w=1082&h=1442&fit=max","mimeType":"image\/jpeg","width":1082,"height":1442},"541_721":{"file":"media\/unsplash:xTHcNZAQzbM","sourceUrl":"https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&ixlib=rb-4.0.3&fm=jpg&w=541&h=721&fit=max","mimeType":"image\/jpeg","width":541,"height":721},"web_stories_thumbnail":{"file":"media\/unsplash:xTHcNZAQzbM","sourceUrl":"https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&ixlib=rb-4.0.3&fm=jpg&w=340&h=453&fit=max","mimeType":"image\/jpeg","width":340,"height":453}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:xTHcNZAQzbM","baseColor":"#a6c0c0","blurHash":"LIHog[%~0#?c;]0LXS_2XnnK#ktR","creationDate":"2020-02-19T19:00:28Z","src":"https:\/\/images.unsplash.com\/photo-1582138825658-fb952c08b282?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8amF2YSUyMGRldmVsb3BlcnN8ZW58MHx8fHwxNjcyOTIzNjA5&ixlib=rb-4.0.3&fm=jpg&w=2707&h=3608&fit=max","alt":"man in blue hoodie looking at macbook","attribution":{"author":{"displayName":"Muha Ajjan","url":"https:\/\/unsplash.com\/@isword?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AXhJFEfId4I1csAV1OQOm3EkyhqWPH6nQmdYzEoP86I6cJQfr5mH15Z%2BNSS1o2xrPUqlmL96Tr98Oyx9upOS\/VHEvKtYvAb%2BEpsygQwqbsZTbrfAkUvwevZ%2BYwo6xBO19RCy732cBv\/zHXs3jKHQhEZJfg026otvzoEop%2BvUvS1P5jpmGq8htnFt8Ayd80jNHdLGubchGCxtPvlZTDOiLda5dIX%2B2qy0YhZqnkqbmruaETcLzA\/y3CposfG3BSM7"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":40,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-48,"y":284,"width":506,"height":314,"sticker":{"type":"laptopRatingsFull"},"basedOn":"120a4885-caa7-47d5-bed6-b68f93b4f338","id":"5f67993e-07eb-4e7f-a235-ec6f3f24b8ce","type":"sticker"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"78fac6be-aadb-4543-8fc0-853d074437f3","id":"3e628981-0470-432e-b450-b46b4dd70164","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Given a sorted array that has been rotated, search for a target element efficiently. You may assume no duplicate exists in the array.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":356,"width":315,"height":150,"tagName":"p","basedOn":"18afb303-9c8b-4caf-bc3e-2996aaa10ad1","id":"abf19c49-2a24-436b-8784-8d3d51ff23b4","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">5. Rotated Sorted Array Search<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":214,"width":316,"height":66,"basedOn":"91afbcb2-ab5f-40d9-b7d0-904861fad85e","id":"31acf870-c5b2-4b87-a164-82d3221b1325","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":4,"y":591,"width":404,"height":21,"basedOn":"5423179c-024e-4c53-b34a-e6499db37b3a","id":"ae07e303-f0ff-4f43-87ec-28f76c152343","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"93832470-e5d8-4e91-8cd3-e7a5d985dba7","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["b19a915c-b36c-4ffc-aa9b-88d820dd2aef"]},{"targets":["abf19c49-2a24-436b-8784-8d3d51ff23b4"],"id":"c5e94d21-c087-4222-8b1b-5b2d1e05d992","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"c699d037-0d65-42ff-be87-cc83edf95486","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"e6f59b6e-008a-4cb7-bd3c-f910fb430d89"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&utm_medium=webstories&utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"de5cfed0-3524-444b-8ba8-844b625d16ed","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LeH2Zc00t6kC-:t7M{kCR*o2t6t7","type":"image","mimeType":"image\/jpeg","creationDate":"2019-07-19T11:41:39Z","src":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","width":4000,"height":6000,"id":"media\/unsplash:NdFREMS5P08","alt":"woman leaning at the table","sizes":{"full":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"attribution":{"author":{"displayName":"Nicole Wolf","url":"https:\/\/unsplash.com\/@joeel56?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tpY2%2BUTP6YwjFpDaBiJc6fD9BN3t\/SN\/\/isMJsEmXSQBJ60Owi\/\/VGvUChr31tFJUc7HhUxUsKUi8kEq%2BgJFXy4%2BEmVF4s\/4vWvJGGnpAR8N%2BaLww0IEd0Lvx52pLKgOrLgpLtMNZVI3M8\/oZQD2pG6iyCTZSkt0H8tJqiopY5QSPWfXFf\/wZRXqSuvXREdghPw2MdZC6rJMeQ4uVFqDSwY2wqjVUc%2BWI5XeI5XCHz9cdHh"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":40,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-48,"y":284,"width":506,"height":314,"sticker":{"type":"laptopRatingsFull"},"basedOn":"120a4885-caa7-47d5-bed6-b68f93b4f338","id":"49706f90-0c93-4fab-8a76-ee65e00dc4c5","type":"sticker"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"d3952aa0-b3c9-46fa-80c2-f0d24fefa993","id":"8ea3c9b6-cf44-4a37-aa52-d09910e35602","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Given a base and an exponent, compute the value of the base raised to the exponent.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":382,"width":315,"height":94,"tagName":"p","basedOn":"abf19c49-2a24-436b-8784-8d3d51ff23b4","id":"73c3eff7-7901-4bbe-90a4-da9e5c4934e7","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">6. <\/span><span style=\"font-weight: 700; color: #fff\">Implement Power Function<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":240,"width":316,"height":38,"basedOn":"91afbcb2-ab5f-40d9-b7d0-904861fad85e","id":"9d5cf39e-6fd5-4600-823f-d1b975b50d22","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":4,"y":591,"width":404,"height":21,"basedOn":"5423179c-024e-4c53-b34a-e6499db37b3a","id":"f7626d24-6743-4fa8-bac2-efef367d9db5","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"targets":["73c3eff7-7901-4bbe-90a4-da9e5c4934e7"],"id":"4fecfd1c-820d-4c0a-b329-cdbc1916ab06","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0},{"targets":["de5cfed0-3524-444b-8ba8-844b625d16ed"],"id":"440656f0-c9e6-4f83-831c-5799c3cb1669","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut"}],"id":"58c96625-3ab1-427b-95e4-8164f9bd6367","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"20d0c25a-6e42-4feb-9c08-c32e7f03299c"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&utm_medium=webstories&utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews","icon":"http:\/\/ibassets.s3.amazonaws.com\/static-assets\/ib-logo-square.png","needsProxy":true,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":429,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"20d0c25a-6e42-4feb-9c08-c32e7f03299c","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":3835,"height":4996,"sizes":{"full":{"file":"media\/unsplash:vtk0wcWBhPE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&ixlib=rb-4.0.3&fm=jpg&w=3835&h=4996&fit=max","mimeType":"image\/jpeg","width":3835,"height":4996},"large":{"file":"media\/unsplash:vtk0wcWBhPE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&ixlib=rb-4.0.3&fm=jpg&w=3068&h=3997&fit=max","mimeType":"image\/jpeg","width":3068,"height":3997},"2301_2998":{"file":"media\/unsplash:vtk0wcWBhPE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&ixlib=rb-4.0.3&fm=jpg&w=2301&h=2998&fit=max","mimeType":"image\/jpeg","width":2301,"height":2998},"1534_1998":{"file":"media\/unsplash:vtk0wcWBhPE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&ixlib=rb-4.0.3&fm=jpg&w=1534&h=1998&fit=max","mimeType":"image\/jpeg","width":1534,"height":1998},"767_999":{"file":"media\/unsplash:vtk0wcWBhPE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&ixlib=rb-4.0.3&fm=jpg&w=767&h=999&fit=max","mimeType":"image\/jpeg","width":767,"height":999},"web_stories_thumbnail":{"file":"media\/unsplash:vtk0wcWBhPE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&ixlib=rb-4.0.3&fm=jpg&w=340&h=443&fit=max","mimeType":"image\/jpeg","width":340,"height":443}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:vtk0wcWBhPE","baseColor":"#404040","blurHash":"LaFPEUtSRORO8^RPX9azxstRs;tR","creationDate":"2021-06-14T16:03:26Z","src":"https:\/\/images.unsplash.com\/photo-1623685462866-1f6fd75d0f25?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNjF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjM4MDQx&ixlib=rb-4.0.3&fm=jpg&w=3835&h=4996&fit=max","alt":"woman in white long sleeve shirt wearing eyeglasses","attribution":{"author":{"displayName":"May Gauthier","url":"https:\/\/unsplash.com\/@maygauthier?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfHdi4n3dRebEj6C4j4N4qcTeF6xeXvrlpq3wBCeWtX\/FC3aPQeR%2Bm8hia0AxkHY\/aqB0mR2YkXmc1TlQZ9zNBi\/eWbE9dqYDUiSe03m3IvbTbKSxuMo2kDXRnhihqvkhDHD9cIYHwfAQpD\/tiAUsug\/jyxjvObhKFqI9xbYYeaLAjjFs8ZwSGwW864hkgzNhSwirxspyp72NopgpHv21wz1xnzVMiGpNpxX5XCYtXrw\/AaG8rzk6wP5RXaNpR%2BePA%3D%3D"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":40,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-48,"y":284,"width":506,"height":314,"sticker":{"type":"laptopRatingsFull"},"basedOn":"120a4885-caa7-47d5-bed6-b68f93b4f338","id":"66ebc5cd-7bcc-4208-aa0f-4f77917131e8","type":"sticker"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"8ea3c9b6-cf44-4a37-aa52-d09910e35602","id":"060348f7-1aed-4c75-bc7e-450c170b43d5","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Given a sorted array of integers and a target value, find the starting and ending position of the target value in the array.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":358,"width":315,"height":150,"tagName":"p","basedOn":"73c3eff7-7901-4bbe-90a4-da9e5c4934e7","id":"c97f1de8-5ecf-453a-b8c8-a9d39230f893","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">7. <\/span><span style=\"font-weight: 700; color: #fff\">Search for a Range<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":240,"width":316,"height":38,"basedOn":"9d5cf39e-6fd5-4600-823f-d1b975b50d22","id":"ac559b9c-d8b7-4e85-a1c7-70f639a97857","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to practice BST Interview problems?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":4,"y":591,"width":404,"height":21,"basedOn":"5423179c-024e-4c53-b34a-e6499db37b3a","id":"700d2a6e-82a0-4c52-a559-26693c6b89bd","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"a67352c5-ed3d-488d-b7e5-5a04d119574e","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["20d0c25a-6e42-4feb-9c08-c32e7f03299c"]},{"targets":["c97f1de8-5ecf-453a-b8c8-a9d39230f893"],"id":"00fcf336-6a1a-40e4-9b6f-11b5e974957a","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"4147d07a-9c06-4df9-af09-c51340cff88c","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"975f24e5-aaab-41db-81a9-30bde1502b32"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&utm_medium=webstories&utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":219,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"52e4f493-e25d-4e03-b7aa-697c8631c3c3","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#262626","blurHash":"L55F8.M{8wx]x]RPVsx]IUn$x]bc","type":"image","mimeType":"image\/jpeg","creationDate":"2017-06-10T10:38:52Z","src":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=4288&h=2848&fit=max","width":4288,"height":2848,"id":"media\/unsplash:P1qyEf1g0HU","alt":"person using track pad","sizes":{"full":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=4288&h=2848&fit=max","mimeType":"image\/jpeg","width":4288,"height":2848},"large":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=3430&h=2278&fit=max","mimeType":"image\/jpeg","width":3430,"height":2278},"2572_1708":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=2572&h=1708&fit=max","mimeType":"image\/jpeg","width":2572,"height":1708},"1715_1139":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=1715&h=1139&fit=max","mimeType":"image\/jpeg","width":1715,"height":1139},"857_569":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=857&h=569&fit=max","mimeType":"image\/jpeg","width":857,"height":569},"web_stories_thumbnail":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=340&h=226&fit=max","mimeType":"image\/jpeg","width":340,"height":226}},"attribution":{"author":{"displayName":"Glenn Carstens-Peters","url":"https:\/\/unsplash.com\/@glenncarstenspeters?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tqzFQk9mistNseDeeHEJMsZ1s4y0bq50WT55T0X23zUUBQBPQdK4apQBMpRXEDve3pzCQh%2B4eIoPWyosKbjNOJi0rW7VNMuRbdNCMCpD57sUk8BirmXYJAXqxgWO26HCxN6tj3TE6bIiA2wunnBSNozdaR%2B3b7GYMsOajhfH8M7uvC%2B2XPNl\/rTXwFB4gJFs%2Bkv4F2ixncVopF6zS%2BxWuraKdtkUD8aHd5uSlykrQ%3D%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"type":"linear","rotation":0,"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0.4},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.5}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"765959d5-f19c-4c63-9fcc-dcf7b025b822","id":"85da65c1-1fb2-40ba-8a02-41ca3ec7d153","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":23,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #1263ff\">InterviewBit <\/span><span style=\"color: #1263ff\">has got you covered with their collection of <\/span><span style=\"font-weight: 700; color: #1263ff\">Binary search tree interview problems<\/span><span style=\"color: #1263ff\">. Get started now and become a master problem solver!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":20,"y":315,"width":362,"height":119,"basedOn":"83d740a7-250d-49cb-b7d9-9712d7d52b7d","id":"8f22a9ff-495f-41ca-b7f2-b60d1aa3ab6b","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":38,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"initial","padding":{"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":20,"y":172,"width":356,"height":137,"basedOn":"54cdc3d5-2ac7-4aa9-9aa7-364e59edb3df","content":"<span style=\"font-weight: 700; color: #fff\">Ready to become expert in solving BST Problems?<\/span>","tagName":"p","marginOffset":-33.629999999999995,"id":"d0a9448e-0825-4a27-afef-cf3753e1b025","type":"text","groupId":null},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":0,"g":59,"b":173}},"type":"shape","x":17,"y":110,"width":47,"height":45,"mask":{"type":"star"},"id":"cab5dc4e-70e7-446a-9516-9aa3a621a79e","groupId":"19ca7721-30d1-48ea-bea9-e70051267aaf"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":0,"g":59,"b":173}},"x":63,"y":110,"width":47,"height":45,"mask":{"type":"star"},"basedOn":"cab5dc4e-70e7-446a-9516-9aa3a621a79e","id":"5c602a45-e2cf-49cf-ae22-88ed66d35076","type":"shape","groupId":"19ca7721-30d1-48ea-bea9-e70051267aaf"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":0,"g":59,"b":173}},"x":111,"y":110,"width":47,"height":45,"mask":{"type":"star"},"basedOn":"cab5dc4e-70e7-446a-9516-9aa3a621a79e","id":"ada07d4b-2570-4c81-9db5-3dd8141745b8","type":"shape","groupId":"19ca7721-30d1-48ea-bea9-e70051267aaf"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"9dc0a40d-3421-405f-ab85-d52755a1b1d6","type":"effect-fly-in","flyInDir":"topToBottom","duration":1000,"delay":0,"targets":["d0a9448e-0825-4a27-afef-cf3753e1b025"]},{"id":"94e16e61-fbd4-449a-b495-f94e4141b349","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["8f22a9ff-495f-41ca-b7f2-b60d1aa3ab6b"]}],"id":"54247e4a-4c34-4389-9ef8-e2ad1e555aa1","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"a604e4f2-daba-4791-93e8-e72b50eb1cb3"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/binary-search\/?utm_source=ib&utm_medium=webstories&utm_campaign=top-7-binary-search-tree-coding-problems-for-interviews","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"},"groups":{"19ca7721-30d1-48ea-bea9-e70051267aaf":{"name":"Group 1","isLocked":false}}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"a604e4f2-daba-4791-93e8-e72b50eb1cb3","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4000,"height":6000,"sizes":{"full":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&ixlib=rb-4.0.3&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&ixlib=rb-4.0.3&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&ixlib=rb-4.0.3&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&ixlib=rb-4.0.3&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:VzJjPuk53sk","baseColor":"#0c2626","blurHash":"LBEorfElXSNGBY0g=_IoKQ^*^hxu","creationDate":"2019-11-30T05:00:10Z","src":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU3OTAyMTE&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","alt":"man using laptop","attribution":{"author":{"displayName":"Procreator UX Design Studio","url":"https:\/\/unsplash.com\/@weareprocreator?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aa0pnNZMz4rx4EwVVqCuS0surHXtV2tfLvFeCbIkdSHocXI\/eiuwdi9qyTfnFfjkxtWe7N3csCyN8H796wS3eTwSEkSqfB8w6Ql9DFPeZSKMfP5uVIZK4aRgZw\/1YpYYtmKwhhx2yXbAbTxjXAjhFxEqwO8a90aj1WLliRK\/qTBPaaBv99ez3XmwlZFLa\/jxucHX86J17QGyohxE%2BNHIBmhTTZMNanflZkA5WcFPA0vErwUbb5lZcCYhg4NVJcC79\/%2BP"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"85da65c1-1fb2-40ba-8a02-41ca3ec7d153","id":"0c73adb7-3f12-4bdd-a5ab-60951e97428d","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":43,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"initial","padding":{"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":31,"y":168,"width":364,"height":202,"basedOn":"d0a9448e-0825-4a27-afef-cf3753e1b025","content":"<span style=\"font-weight: 700; color: #fff\">Step Up Your Game with InterviewBit Web Stories<\/span>","tagName":"p","marginOffset":-13.199999999999989,"id":"b1c048a0-b995-4f62-8f59-e9a253eecfc3","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":202,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"horizontal":0,"vertical":0},"x":20,"y":27,"width":81,"height":283,"basedOn":"aa4d9076-8e49-4cdc-9b36-e70e6fa1606d","content":"<span style=\"font-weight: 700; color: #fff\">\u201c<\/span>","id":"688d6104-4e44-45b2-9026-a9c8513ff7a1","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":23,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Don't miss out on the chance to upskill yourself with IntervewBit's engaging web stories.&nbsp;<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":30,"y":370,"width":340,"height":82,"basedOn":"8f22a9ff-495f-41ca-b7f2-b60d1aa3ab6b","id":"b2dd71c5-ba5c-4422-b381-46a892720ad6","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"071a5260-50e7-4f11-9073-1a9d003ffe7e","type":"effect-fly-in","flyInDir":"topToBottom","duration":1000,"delay":0,"targets":["b1c048a0-b995-4f62-8f59-e9a253eecfc3"]},{"id":"59807e4a-34d2-44df-98c8-1f3dd64579fd","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["b2dd71c5-ba5c-4422-b381-46a892720ad6"]},{"id":"35964586-40ea-4fe5-8b17-11508aed34ae","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["a604e4f2-daba-4791-93e8-e72b50eb1cb3"]}],"id":"a27658a0-6f2c-44e2-9fcd-1060a35bd56d","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"f18f5834-e7a4-4085-8e20-2476ab8df02a"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/web-stories\/?utm_source=Ib&utm_medium=webstories&utm_campaign=unlimited-learning-with-engaging-web-stories","icon":"","needsProxy":false,"ctaText":"SWIPE UP"}}],"fonts":{"Anton":{"family":"Anton","fallbacks":["sans-serif"],"weights":[400],"styles":["regular"],"variants":[[0,400]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":2409,"des":-674,"tAsc":2409,"tDes":-674,"tLGap":0,"wAsc":2876,"wDes":674,"xH":1500,"capH":1760,"yMin":-667,"yMax":2874,"hAsc":2409,"hDes":-674,"lGap":0}},"Bungee Shade":{"family":"Bungee Shade","fallbacks":["cursive"],"weights":[400],"styles":["regular"],"variants":[[0,400]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":860,"des":-140,"tAsc":860,"tDes":-140,"tLGap":200,"wAsc":1634,"wDes":914,"xH":500,"capH":720,"yMin":-916,"yMax":1636,"hAsc":860,"hDes":-140,"lGap":200}},"Darker Grotesque":{"family":"Darker Grotesque","fallbacks":["sans-serif"],"weights":[300,400,500,600,700,800,900],"styles":["regular"],"variants":[[0,300],[0,400],[0,500],[0,600],[0,700],[0,800],[0,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1060,"des":-296,"tAsc":1060,"tDes":-296,"tLGap":0,"wAsc":1060,"wDes":296,"xH":406,"capH":563,"yMin":-296,"yMax":1060,"hAsc":1060,"hDes":-296,"lGap":0}},"Roboto":{"family":"Roboto","fallbacks":["sans-serif"],"weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}},"Poppins":{"family":"Poppins","fallbacks":["sans-serif"],"weights":[100,200,300,400,500,600,700,800,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,200],[1,200],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,600],[1,600],[0,700],[1,700],[0,800],[1,800],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1050,"des":-350,"tAsc":1050,"tDes":-350,"tLGap":100,"wAsc":1135,"wDes":627,"xH":548,"capH":698,"yMin":-572,"yMax":1065,"hAsc":1050,"hDes":-350,"lGap":100}}},"autoAdvance":true,"defaultPageDuration":7,"currentStoryStyles":{"colors":[]}},"style_presets":{"colors":[{"color":{"r":157,"g":100,"b":32}},{"color":{"r":0,"g":0,"b":0}}],"textStyles":[]},"story_poster":{"id":18190,"url":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/04\/cropped-Top-7-Binary-Search-Tree-Coding-Problems-for-Interviews.jpg","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/18183"}],"collection":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story"}],"about":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/wp\/v2\/types\/web-story"}],"author":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/users\/21"}],"version-history":[{"count":7,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/18183\/revisions"}],"predecessor-version":[{"id":18192,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/18183\/revisions\/18192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/18190"}],"wp:attachment":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media?parent=18183"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=18183"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=18183"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/18183\/lock"}],"wp:publisherlogo":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/1082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}