{"id":24203,"date":"2023-09-20T14:00:50","date_gmt":"2023-09-20T08:30:50","guid":{"rendered":"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&#038;p=24203"},"modified":"2023-11-07T22:34:33","modified_gmt":"2023-11-07T17:04:33","slug":"9-steps-to-approach-the-8-queen-problem","status":"publish","type":"web-story","link":"https:\/\/www.interviewbit.com\/blog\/web-stories\/9-steps-to-approach-the-8-queen-problem\/","title":{"rendered":"9 Steps to Approach the 8-Queen Problem"},"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=Roboto&amp;family=Bungee&amp;family=Darker+Grotesque%3Awght%40700&amp;family=Poppins%3Awght%40700\" rel=\"stylesheet\"\/><link href=\"https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&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>9 Steps to Approach the 8-Queen Problem<\/title><link rel=\"canonical\" href=\"https:\/\/www.interviewbit.com\/blog\/web-stories\/9-steps-to-approach-the-8-queen-problem\/\"\/><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=\"9 Steps to Approach the 8-Queen Problem\" poster-portrait-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-How-to-Approach-the-8-Queen-Problem.jpg\"><amp-story-page id=\"519be69d-90cf-4272-8d5e-918dda225b61\" 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-49332a74-1b2f-4590-93e1-b9672fa9a10d\">\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-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"man in black jacket sitting in front of silver imac\" srcSet=\"https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&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-image:linear-gradient(0.5turn, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 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) 0%, rgba(0,0,0,0.3) 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:2.91262%;top:-7.28155%;width:42.96117%;height:9.54693%;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-76cf791c-4e11-4c2d-a2f2-08820fd66ad1\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.42718%;top:93.68932%;width:95.14563%;height:6.47249%;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.5102040816326531% 0.5102040816326531% 0.5102040816326531% 0.5102040816326531% \/ 5% 5% 5% 5%\" id=\"el-cf151aca-8261-43dd-a1e6-792420542ac5\">\n<h3 id=\"step-by-step-guide\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.3443429129464284% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.420712em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Step-by-Step Guide<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.42718%;top:77.83172%;width:93.93204%;height:16.34304%;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.516795865633075% 0.516795865633075% 0.516795865633075% 0.516795865633075% \/ 1.9801980198019802% 1.9801980198019802% 1.9801980198019802% 1.9801980198019802%\" id=\"el-2f34c5b1-b5be-4e3d-9384-50f17e8c09eb\">\n<h1 id=\"how-to-approach-the-8-queen-problem\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.6117369186046515% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.647249em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #e12425\">How to Approach the&nbsp;<\/span><br \/>\n<span style=\"color: #e12425\">8-Queen Problem?<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"f45319cc-a585-41da-8caf-cdc69b0f1fe0\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-c601d0b9-f19c-42df-97fd-64ce356126ce\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":390,\"duration\":800,\"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-fb85f04a-a43b-4dc5-b9b9-8657210b980b\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":390,\"duration\":800,\"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-44b326ca-9baf-4553-a007-03f9dbe9a99c\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":600,\"duration\":800,\"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-50e95a65-f064-4fc2-8828-f8bf3d1a961a\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":600,\"duration\":800,\"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-9a9ee00f-9649-4a87-a504-66d2b4728a63\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":3000,\"easing\":\"cubic-bezier(0.4, 0.4, 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:#211f1e\">\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-b6ccb4cb-eb6e-4cc7-98e8-ad88b5de302b\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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:-9.2233%;width:118.68932%;height:88.99676%;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-dc9f1bc4-d8db-4ee7-ba92-39ffd073b5d8\">\n<div style=\"position:absolute;width:112.47443%;height:100%;left:-6.23722%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3816&amp;h=3816&amp;fit=max\" alt=\"woman in white sweater using laptop computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3816&amp;h=3816&amp;fit=max 3816w,https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3052&amp;h=3052&amp;fit=max 3052w,https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2289&amp;h=2289&amp;fit=max 2289w,https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1526&amp;h=1526&amp;fit=max 1526w,https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=763&amp;h=763&amp;fit=max 763w,https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=340&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 style=\"position:absolute;pointer-events:none;left:9.46602%;top:61.65049%;width:98.78641%;height:29.44984%;opacity:1\">\n<div id=\"anim-9a9ee00f-9649-4a87-a504-66d2b4728a63\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\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-bda3fe17-be7c-41f2-b8cd-dcfcb549307d\">\n<div class=\"fill\" style=\"background-color:rgba(216,33,33,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:64.23948%;width:84.2233%;height:6.14887%;opacity:1\">\n<div id=\"anim-c601d0b9-f19c-42df-97fd-64ce356126ce\" 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-fb85f04a-a43b-4dc5-b9b9-8657210b980b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-16824d39-6a2f-4539-b837-c71033529d43\">\n<h3 id=\"problem-breakdown\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4602705106268008% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.404531em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Problem Breakdown<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:70.38835%;width:84.2233%;height:14.40129%;opacity:1\">\n<div id=\"anim-44b326ca-9baf-4553-a007-03f9dbe9a99c\" 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-50e95a65-f064-4fc2-8828-f8bf3d1a961a\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 2.247191011235955% 2.247191011235955% 2.247191011235955% 2.247191011235955%\" id=\"el-376c4607-4394-4ea0-af70-96ae8749ba65\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.20713256484149856% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Understand the challenge: Each queen threatens horizontally, vertically, and diagonally. The goal is to find all possible non-attacking placements.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.6343%;width:42.96117%;height:9.54693%;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-3914d932-3b6e-41f3-ae54-33dcbae2c183\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:55.50162%;width:48.05825%;height:7.60518%;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.0101010101010102% 1.0101010101010102% 1.0101010101010102% 1.0101010101010102% \/ 4.25531914893617% 4.25531914893617% 4.25531914893617% 4.25531914893617%;background-clip:content-box;background-color:#000\" id=\"el-c4750916-2efd-4e0b-93d5-ef005727f00b\">\n<h1 id=\"step-1\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-1.8712121212121204% 0;font-family:&quot;Bungee&quot;,cursive;font-size:0.631068em;line-height:1.19;text-align:center;padding:2.0202020202020203% 4.040404040404041%;color:#000000\"><span><span style=\"color: #ba2d2d\">STEP- 1<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:6.47249%;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.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 5% 5% 5% 5%\" id=\"el-484a80b5-6a03-4815-849d-f0bdbc303808\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.9961165048543691% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.291262em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span><\/span><\/p>\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\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"75c1c2ce-769d-4443-b70f-bcb2941ea2fd\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-49aa7a8d-f59b-4f33-8190-da006b099d5a\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":390,\"duration\":800,\"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-6b9d6121-ff2c-434e-9ed1-60d2974c5249\",\"keyframes\":{\"transform\":[\"translate3d(-113.99417%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":390,\"duration\":800,\"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-c0817a4b-6867-4d65-9031-9a0c9fdb538a\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":600,\"duration\":800,\"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-8440474f-6f0c-4921-8c14-09f3b397ddda\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":600,\"duration\":800,\"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-7fd7fd97-03e9-4d9a-8297-0a5f94a52f3f\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":3000,\"easing\":\"cubic-bezier(0.4, 0.4, 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:#211f1e\">\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-3c04b95f-6267-4649-865f-859ac959cf24\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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.48544%;top:-9.38511%;width:172.81553%;height:89.80583%;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-b7acd7aa-2e97-4eb7-b82d-86f6b67de56a\">\n<div style=\"position:absolute;width:116.92417%;height:100%;left:-8.46208%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6000&amp;h=4000&amp;fit=max\" alt=\"a man sitting on a couch with a laptop\" srcSet=\"https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6000&amp;h=4000&amp;fit=max 6000w,https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4800&amp;h=3200&amp;fit=max 4800w,https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3600&amp;h=2400&amp;fit=max 3600w,https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=1600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1200&amp;h=800&amp;fit=max 1200w,https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 78vh, 173vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:radial-gradient(ellipse 67% 67%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:9.46602%;top:61.65049%;width:98.78641%;height:29.44984%;opacity:1\">\n<div id=\"anim-7fd7fd97-03e9-4d9a-8297-0a5f94a52f3f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\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-9198239e-210d-46df-83f2-89198cb72dbe\">\n<div class=\"fill\" style=\"background-color:rgba(216,33,33,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.6343%;width:42.96117%;height:9.54693%;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-20f20941-f03a-40bf-8214-adeae6fd5afd\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:64.23948%;width:83.25243%;height:6.14887%;opacity:1\">\n<div id=\"anim-49aa7a8d-f59b-4f33-8190-da006b099d5a\" 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-6b9d6121-ff2c-434e-9ed1-60d2974c5249\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.99417%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-ddeaa3b1-0889-4cbf-8368-cd1fac483beb\">\n<h3 id=\"brute-force-approach\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.477299904336734% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.404531em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Brute Force Approach<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:70.38835%;width:84.2233%;height:18.12298%;opacity:1\">\n<div id=\"anim-c0817a4b-6867-4d65-9031-9a0c9fdb538a\" 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-8440474f-6f0c-4921-8c14-09f3b397ddda\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 1.7857142857142856% 1.7857142857142856% 1.7857142857142856% 1.7857142857142856%\" id=\"el-2a1a0a5d-762d-4abc-905a-df6dbaaaace0\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.20713256484149856% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Explore the basic approach. Generate all possible configurations &amp; check for conflicts. It&#8217;s simple but inefficient for larger boards due to its exponential time complexity.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:55.50162%;width:48.05825%;height:7.60518%;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.0101010101010102% 1.0101010101010102% 1.0101010101010102% 1.0101010101010102% \/ 4.25531914893617% 4.25531914893617% 4.25531914893617% 4.25531914893617%;background-clip:content-box;background-color:#000\" id=\"el-425e7ab0-6ac9-4f6f-bc59-1e2f9a138705\">\n<h1 id=\"step-2\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-1.8712121212121204% 0;font-family:&quot;Bungee&quot;,cursive;font-size:0.631068em;line-height:1.19;text-align:center;padding:2.0202020202020203% 4.040404040404041%;color:#000000\"><span><span style=\"color: #ba2d2d\">STEP- 2<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:6.47249%;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.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 5% 5% 5% 5%\" id=\"el-564e6f44-ac99-4497-8768-7b98a9ab04ad\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.9961165048543691% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.291262em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"e0d2c775-9d1d-4576-8419-40af1a6025dc\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-1440198b-2728-4aa9-bd70-cf435699ce5f\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":600,\"duration\":800,\"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-2253b63b-b94b-481d-84b1-07478f439f7b\",\"keyframes\":{\"transform\":[\"translate3d(-114.12103%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":600,\"duration\":800,\"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-2b1e8d28-1f8c-4239-8d59-1974d8000968\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":390,\"duration\":800,\"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-93483644-123a-4bd2-9713-38b6b96f1a51\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":390,\"duration\":800,\"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-14d20fac-83dc-4dba-9a09-44dbf7514ee4\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":3000,\"easing\":\"cubic-bezier(0.4, 0.4, 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:#211f1e\">\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-32fdacfb-01fc-4fe8-867d-8ed59ceafdd1\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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;top:-9.2233%;width:159.70874%;height:89.64401%;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-738fc073-bb68-4e47-841e-254ead731076\">\n<div style=\"position:absolute;width:126.29179%;height:100%;left:-13.14589%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6324&amp;h=4216&amp;fit=max\" alt=\"man in black and white plaid dress shirt using silver macbook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6324&amp;h=4216&amp;fit=max 6324w,https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5059&amp;h=3373&amp;fit=max 5059w,https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3794&amp;h=2529&amp;fit=max 3794w,https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2529&amp;h=1686&amp;fit=max 2529w,https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1264&amp;h=843&amp;fit=max 1264w,https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 72vh, 160vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:radial-gradient(ellipse 67% 67%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:9.46602%;top:61.65049%;width:98.78641%;height:29.44984%;opacity:1\">\n<div id=\"anim-14d20fac-83dc-4dba-9a09-44dbf7514ee4\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\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-bdc16909-5e1d-4bfb-ad5f-bc63db1176bc\">\n<div class=\"fill\" style=\"background-color:rgba(216,33,33,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.6343%;width:42.96117%;height:9.54693%;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-7c91e55c-be4b-470e-8e4b-fa720e2846f5\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.8932%;top:70.22654%;width:84.2233%;height:14.40129%;opacity:1\">\n<div id=\"anim-1440198b-2728-4aa9-bd70-cf435699ce5f\" 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-2253b63b-b94b-481d-84b1-07478f439f7b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-114.12103%, 0px, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 2.247191011235955% 2.247191011235955% 2.247191011235955% 2.247191011235955%\" id=\"el-2907571c-b725-43b3-8110-8ac3b2b22240\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.20713256484149856% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Dive into the backtracking algorithm. Start placing queens one by one, backtrack when a conflict is found, and explore alternative paths.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:64.23948%;width:84.2233%;height:6.14887%;opacity:1\">\n<div id=\"anim-2b1e8d28-1f8c-4239-8d59-1974d8000968\" 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-93483644-123a-4bd2-9713-38b6b96f1a51\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-b5941f24-be45-4a92-9b2b-557b9a43f1e1\">\n<h3 id=\"backtracking-algorithm\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4602705106268008% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.404531em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Backtracking Algorithm<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:55.50162%;width:48.05825%;height:7.60518%;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.0101010101010102% 1.0101010101010102% 1.0101010101010102% 1.0101010101010102% \/ 4.25531914893617% 4.25531914893617% 4.25531914893617% 4.25531914893617%;background-clip:content-box;background-color:#000\" id=\"el-52e41726-ec3d-4287-9ed7-0a7948fd3a29\">\n<h1 id=\"step-3\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-1.8712121212121204% 0;font-family:&quot;Bungee&quot;,cursive;font-size:0.631068em;line-height:1.19;text-align:center;padding:2.0202020202020203% 4.040404040404041%;color:#000000\"><span><span style=\"color: #ba2d2d\">STEP- 3<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:6.47249%;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.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 5% 5% 5% 5%\" id=\"el-9eff5e9e-b8ef-45d9-8572-89ac9234fefe\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.9961165048543691% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.291262em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"250a0549-fa93-4903-b0f6-c809c3e3be0c\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-b3082c1a-53de-4854-a3f6-cd580760fcda\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":600,\"duration\":800,\"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-9e46f5ad-5d2c-415b-be35-4867b59901e5\",\"keyframes\":{\"transform\":[\"translate3d(-114.12103%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":600,\"duration\":800,\"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-a8b056ea-39ae-4fda-af30-f3e42358f5e5\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":390,\"duration\":800,\"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-121c3d90-20b9-4230-9269-4cb5bc528825\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":390,\"duration\":800,\"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-4752ab24-9252-4d85-b5ac-6fc7274f1bbf\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":3000,\"easing\":\"cubic-bezier(0.4, 0.4, 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:#211f1e\">\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-c60dd254-8f78-4fed-890d-fac5138d7b96\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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.48544%;top:-9.2233%;width:142.23301%;height:90.12945%;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-6da8f35f-011a-4db4-99ea-af283f8d3fdb\">\n<div style=\"position:absolute;width:126.73493%;height:100%;left:-13.36746%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3888&amp;fit=max\" alt=\"two smiling women starring on silver MacBook inside well-lit room\" srcSet=\"https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3888&amp;fit=max 5184w,https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4147&amp;h=3110&amp;fit=max 4147w,https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3110&amp;h=2333&amp;fit=max 3110w,https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2073&amp;h=1555&amp;fit=max 2073w,https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1036&amp;h=777&amp;fit=max 1036w,https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=255&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 64vh, 142vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:radial-gradient(ellipse 67% 67%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:9.46602%;top:61.65049%;width:98.78641%;height:29.44984%;opacity:1\">\n<div id=\"anim-4752ab24-9252-4d85-b5ac-6fc7274f1bbf\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\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-fbee4739-cf88-4f64-9fa6-ab39d3f89c1d\">\n<div class=\"fill\" style=\"background-color:rgba(216,33,33,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.79612%;width:42.96117%;height:9.54693%;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-8f05227a-9150-40e9-a027-de187488aa0d\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.8932%;top:70.55016%;width:84.2233%;height:14.40129%;opacity:1\">\n<div id=\"anim-b3082c1a-53de-4854-a3f6-cd580760fcda\" 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-9e46f5ad-5d2c-415b-be35-4867b59901e5\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-114.12103%, 0px, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 2.247191011235955% 2.247191011235955% 2.247191011235955% 2.247191011235955%\" id=\"el-4e57ec7b-320a-4e89-9177-234d57ab21ef\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.20713256484149856% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Get a glimpse of the pseudocode. Visualize the algorithm&#8217;s structure and understand how it progresses through the board.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:64.23948%;width:84.2233%;height:6.14887%;opacity:1\">\n<div id=\"anim-a8b056ea-39ae-4fda-af30-f3e42358f5e5\" 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-121c3d90-20b9-4230-9269-4cb5bc528825\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-d5786d6a-6f75-47ab-82f4-90095b99dd4f\">\n<h3 id=\"pseudocode-overview\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4602705106268008% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.404531em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Pseudocode Overview<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:55.50162%;width:48.05825%;height:7.60518%;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.0101010101010102% 1.0101010101010102% 1.0101010101010102% 1.0101010101010102% \/ 4.25531914893617% 4.25531914893617% 4.25531914893617% 4.25531914893617%;background-clip:content-box;background-color:#000\" id=\"el-6b3c78f5-50b9-4535-a9bb-ec249ffc2b37\">\n<h1 id=\"step-4\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-1.8712121212121204% 0;font-family:&quot;Bungee&quot;,cursive;font-size:0.631068em;line-height:1.19;text-align:center;padding:2.0202020202020203% 4.040404040404041%;color:#000000\"><span><span style=\"color: #ba2d2d\">STEP- 4<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:6.47249%;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.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 5% 5% 5% 5%\" id=\"el-069029f7-a19f-486b-a9f4-0564a6ebb72d\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.9961165048543691% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.291262em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/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\/blog\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"9bafc22e-82a6-473d-a84d-1f11067cf3ab\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-85ce6468-b13b-43aa-be25-09ed3e9a7ebb\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":600,\"duration\":800,\"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-9786702c-38a1-4fff-9a5e-e95421123b59\",\"keyframes\":{\"transform\":[\"translate3d(-114.12103%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":600,\"duration\":800,\"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-9ae66332-dec3-41f6-af40-c34005debf32\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":390,\"duration\":800,\"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-8eb384e3-811f-466c-92e9-e456b1bea0ab\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":390,\"duration\":800,\"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-403634f1-096f-4ad5-993e-1de715864540\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":3000,\"easing\":\"cubic-bezier(0.4, 0.4, 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:#211f1e\">\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-abedbc9d-33fa-4eb9-9eef-b0676fcd6236\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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.48544%;top:-9.38511%;width:104.61165%;height:89.80583%;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-91459480-a70f-4085-b14f-85fb81bba3fd\">\n<div style=\"position:absolute;width:100%;height:116.32212%;left:0%;top:-8.16106%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3780&amp;h=5662&amp;fit=max\" alt=\"sitting woman using laptop computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3780&amp;h=5662&amp;fit=max 3780w,https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3024&amp;h=4530&amp;fit=max 3024w,https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2268&amp;h=3397&amp;fit=max 2268w,https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1512&amp;h=2265&amp;fit=max 1512w,https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=756&amp;h=1132&amp;fit=max 756w,https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=509&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 47vh, 105vw\" 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 style=\"position:absolute;pointer-events:none;left:9.46602%;top:61.65049%;width:98.78641%;height:29.44984%;opacity:1\">\n<div id=\"anim-403634f1-096f-4ad5-993e-1de715864540\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\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-8da8d286-727e-43b5-92fb-d93dc08b8525\">\n<div class=\"fill\" style=\"background-color:rgba(216,33,33,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.79612%;width:42.96117%;height:9.54693%;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-3a4f4b95-3f74-49fe-b8d4-caaea80b1fb8\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.8932%;top:70.22654%;width:84.2233%;height:14.40129%;opacity:1\">\n<div id=\"anim-85ce6468-b13b-43aa-be25-09ed3e9a7ebb\" 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-9786702c-38a1-4fff-9a5e-e95421123b59\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-114.12103%, 0px, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 2.247191011235955% 2.247191011235955% 2.247191011235955% 2.247191011235955%\" id=\"el-4e2bdbae-369b-47ad-82c6-76f1c013269b\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.20713256484149856% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Explore optimization techniques. Implement constraint propagation and pruning to reduce unnecessary exploration, enhancing efficiency.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:64.23948%;width:84.2233%;height:6.14887%;opacity:1\">\n<div id=\"anim-9ae66332-dec3-41f6-af40-c34005debf32\" 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-8eb384e3-811f-466c-92e9-e456b1bea0ab\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-c1ec6b95-af10-4e73-9460-cbce1da37f44\">\n<h3 id=\"optimizations\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4602705106268008% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.404531em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Optimizations<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:55.50162%;width:48.05825%;height:7.60518%;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.0101010101010102% 1.0101010101010102% 1.0101010101010102% 1.0101010101010102% \/ 4.25531914893617% 4.25531914893617% 4.25531914893617% 4.25531914893617%;background-clip:content-box;background-color:#000\" id=\"el-117a333a-08aa-4ce2-bbdf-fbea849e8e8b\">\n<h1 id=\"step-5\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-1.8712121212121204% 0;font-family:&quot;Bungee&quot;,cursive;font-size:0.631068em;line-height:1.19;text-align:center;padding:2.0202020202020203% 4.040404040404041%;color:#000000\"><span><span style=\"color: #ba2d2d\">STEP- 5<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:6.47249%;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.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 5% 5% 5% 5%\" id=\"el-ff3f1802-7645-4f4c-ae6d-2bdf034d5c07\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.9961165048543691% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.291262em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"8f991515-4cef-4c94-b169-0160b442ce18\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-08833c3d-33e9-442d-9279-23bec521b248\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":600,\"duration\":800,\"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-97f82449-3424-4c0c-ab05-7367ac67e9c9\",\"keyframes\":{\"transform\":[\"translate3d(-114.40922%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":600,\"duration\":800,\"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-15779f0a-f4a9-458a-9368-e4ded53c6c16\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":390,\"duration\":800,\"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-8ccfb011-9ef5-49a6-a27f-52f225e84a8a\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":390,\"duration\":800,\"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-6f92e1e9-73fa-4c18-9833-90bb14c3650a\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":3000,\"easing\":\"cubic-bezier(0.4, 0.4, 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:#211f1e\">\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-ce0a6c75-4a9a-41cf-847c-6cb02faeaf1a\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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;top:-9.2233%;width:140.53398%;height:89.15858%;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-abbeab41-8143-4456-b6da-5e9c8ab74632\">\n<div style=\"position:absolute;width:142.74612%;height:100%;left:-21.37306%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3456&amp;fit=max\" alt=\"man touching tablet computer on desk\" srcSet=\"https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3456&amp;fit=max 5184w,https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4147&amp;h=2765&amp;fit=max 4147w,https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3110&amp;h=2073&amp;fit=max 3110w,https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2073&amp;h=1382&amp;fit=max 2073w,https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1036&amp;h=691&amp;fit=max 1036w,https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 63vh, 141vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:radial-gradient(ellipse 67% 67%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:9.46602%;top:61.65049%;width:98.78641%;height:29.44984%;opacity:1\">\n<div id=\"anim-6f92e1e9-73fa-4c18-9833-90bb14c3650a\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\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-51567af3-c829-4d84-b51b-1d5fe00417e8\">\n<div class=\"fill\" style=\"background-color:rgba(216,33,33,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.79612%;width:42.96117%;height:9.54693%;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-14b971ae-c50d-4e9b-bb21-7726c0eab91e\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:12.13592%;top:70.22654%;width:84.2233%;height:11.00324%;opacity:1\">\n<div id=\"anim-08833c3d-33e9-442d-9279-23bec521b248\" 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-97f82449-3424-4c0c-ab05-7367ac67e9c9\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-114.40922%, 0px, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 2.941176470588235% 2.941176470588235% 2.941176470588235% 2.941176470588235%\" id=\"el-0dd2df48-22df-449f-9abb-696c5c8502e6\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.20713256484149856% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">See solutions come to life. Visual representations of solutions help in grasping the algorithm&#8217;s effectiveness.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:64.23948%;width:84.2233%;height:6.14887%;opacity:1\">\n<div id=\"anim-15779f0a-f4a9-458a-9368-e4ded53c6c16\" 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-8ccfb011-9ef5-49a6-a27f-52f225e84a8a\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-d68353dc-dc0f-4bad-b171-ef95a4f52165\">\n<h3 id=\"visualizing-solutions\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4602705106268008% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.404531em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Visualizing Solutions<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:55.50162%;width:48.05825%;height:7.60518%;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.0101010101010102% 1.0101010101010102% 1.0101010101010102% 1.0101010101010102% \/ 4.25531914893617% 4.25531914893617% 4.25531914893617% 4.25531914893617%;background-clip:content-box;background-color:#000\" id=\"el-f9e01de3-ebaf-4d0c-bdcc-9e134f235abe\">\n<h1 id=\"step-6\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-1.8712121212121204% 0;font-family:&quot;Bungee&quot;,cursive;font-size:0.631068em;line-height:1.19;text-align:center;padding:2.0202020202020203% 4.040404040404041%;color:#000000\"><span><span style=\"color: #ba2d2d\">STEP- 6<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:6.47249%;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.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 5% 5% 5% 5%\" id=\"el-c285ba32-f500-4a8d-851d-e7a9109d854d\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.9961165048543691% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.291262em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"ac2a7716-6abe-47ec-89eb-cf2dcfc926e1\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-cdebcd34-479f-461e-9ac0-c579a1dc685b\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":600,\"duration\":800,\"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-fcf9a398-1570-4a4f-829a-0b4fc343ffb7\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":600,\"duration\":800,\"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-b66e741c-9174-43f4-b6a4-96308e420fba\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":390,\"duration\":800,\"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-f2b0ccdc-17ff-47bf-b11d-90b5d0bc9e2c\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":390,\"duration\":800,\"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-a54ab6e0-549c-4d64-afef-a5f7b397e761\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":3000,\"easing\":\"cubic-bezier(0.4, 0.4, 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:#211f1e\">\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-1b2e0340-a7f6-45f9-a8de-c6bc20f2650e\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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:-1.21359%;top:-9.2233%;width:110.92233%;height:89.4822%;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-b079f187-1742-434c-9e47-39200b87e798\">\n<div style=\"position:absolute;width:100%;height:123.96022%;left:0%;top:-11.98011%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4376&amp;h=6564&amp;fit=max\" alt=\"woman in black blazer using macbook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4376&amp;h=6564&amp;fit=max 4376w,https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3500&amp;h=5250&amp;fit=max 3500w,https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2625&amp;h=3938&amp;fit=max 2625w,https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1750&amp;h=2625&amp;fit=max 1750w,https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=875&amp;h=1313&amp;fit=max 875w,https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 50vh, 111vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:radial-gradient(ellipse 67% 67%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:9.46602%;top:61.65049%;width:98.78641%;height:29.44984%;opacity:1\">\n<div id=\"anim-a54ab6e0-549c-4d64-afef-a5f7b397e761\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\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-9b53126b-cad8-4104-b749-9dcb6f6aa065\">\n<div class=\"fill\" style=\"background-color:rgba(216,33,33,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.79612%;width:42.96117%;height:9.54693%;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-65d3d014-dd94-4a5c-87df-a701e821016b\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:70.38835%;width:84.2233%;height:18.12298%;opacity:1\">\n<div id=\"anim-cdebcd34-479f-461e-9ac0-c579a1dc685b\" 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-fcf9a398-1570-4a4f-829a-0b4fc343ffb7\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 1.7857142857142856% 1.7857142857142856% 1.7857142857142856% 1.7857142857142856%\" id=\"el-70f8d7ca-cdf1-4889-9001-e5c9749ce34d\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.20713256484149856% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Understand time complexity. With proper optimizations, the backtracking approach can yield solutions in a reasonable time, but it remains exponential in the worst case.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:64.23948%;width:84.2233%;height:6.14887%;opacity:1\">\n<div id=\"anim-b66e741c-9174-43f4-b6a4-96308e420fba\" 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-f2b0ccdc-17ff-47bf-b11d-90b5d0bc9e2c\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-d3734691-e338-4687-a283-95e35713b5cb\">\n<h3 id=\"time-complexity\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4602705106268008% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.404531em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Time Complexity<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:55.50162%;width:48.05825%;height:7.60518%;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.0101010101010102% 1.0101010101010102% 1.0101010101010102% 1.0101010101010102% \/ 4.25531914893617% 4.25531914893617% 4.25531914893617% 4.25531914893617%;background-clip:content-box;background-color:#000\" id=\"el-054f0e1a-26a2-4069-a4b8-87e472a8ac67\">\n<h1 id=\"step-7\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-1.8712121212121204% 0;font-family:&quot;Bungee&quot;,cursive;font-size:0.631068em;line-height:1.19;text-align:center;padding:2.0202020202020203% 4.040404040404041%;color:#000000\"><span><span style=\"color: #ba2d2d\">STEP- 7<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:6.47249%;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.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 5% 5% 5% 5%\" id=\"el-bf51a44a-3237-4c10-a010-3a37f51908f2\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.9961165048543691% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.291262em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"c98e636f-65b9-4a2c-b88e-60d2cc78c3fc\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-9d31ee76-25a4-4a26-b308-bc0b796fcb00\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":600,\"duration\":800,\"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-ee1fb685-98e5-4ced-972b-fe1e313760de\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":600,\"duration\":800,\"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-f89ff587-0460-497d-bc41-50b39a90b44e\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":390,\"duration\":800,\"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-a383724d-c752-4b17-9e3f-c2c1eb2af2c1\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":390,\"duration\":800,\"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-5803beca-27ee-4da7-8932-b2e3b285b033\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":3000,\"easing\":\"cubic-bezier(0.4, 0.4, 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:#211f1e\">\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-6b837d9b-35a7-4968-94ac-e193ff5b6616\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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;top:-9.38511%;width:149.02913%;height:89.64401%;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-ed7bdbda-769c-451e-88f7-b8fd8398225d\">\n<div style=\"position:absolute;width:135.34201%;height:100%;left:-17.67101%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5466&amp;h=3644&amp;fit=max\" alt=\"men&#x27;s blue collared top near silver MacBook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5466&amp;h=3644&amp;fit=max 5466w,https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4372&amp;h=2915&amp;fit=max 4372w,https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3279&amp;h=2186&amp;fit=max 3279w,https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2186&amp;h=1457&amp;fit=max 2186w,https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1093&amp;h=729&amp;fit=max 1093w,https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 67vh, 149vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:radial-gradient(ellipse 67% 67%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:9.46602%;top:61.65049%;width:98.78641%;height:29.44984%;opacity:1\">\n<div id=\"anim-5803beca-27ee-4da7-8932-b2e3b285b033\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\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-fb10fa9e-7718-4587-b318-b0475a238feb\">\n<div class=\"fill\" style=\"background-color:rgba(216,33,33,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.79612%;width:42.96117%;height:9.54693%;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-b60b71b4-98fc-42c2-adb4-8fd4d5b2d243\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:74.75728%;width:84.2233%;height:14.40129%;opacity:1\">\n<div id=\"anim-9d31ee76-25a4-4a26-b308-bc0b796fcb00\" 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-ee1fb685-98e5-4ced-972b-fe1e313760de\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 2.247191011235955% 2.247191011235955% 2.247191011235955% 2.247191011235955%\" id=\"el-e66c0a30-52d0-46fc-b22f-d3a155eafdce\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.20713256484149856% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">The 8-Queen problem assesses problem-solving skills, algorithmic thinking, &amp; coding abilities, making it a common technical interview question.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:64.23948%;width:84.2233%;height:10.5178%;opacity:1\">\n<div id=\"anim-f89ff587-0460-497d-bc41-50b39a90b44e\" 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-a383724d-c752-4b17-9e3f-c2c1eb2af2c1\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-6a7c070e-1cfa-4a6e-9e37-04df12d7b580\">\n<h3 id=\"realize-its-significance-in-interviews\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4602705106268008% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.404531em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Realize its significance in interviews<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:55.50162%;width:48.05825%;height:7.60518%;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.0101010101010102% 1.0101010101010102% 1.0101010101010102% 1.0101010101010102% \/ 4.25531914893617% 4.25531914893617% 4.25531914893617% 4.25531914893617%;background-clip:content-box;background-color:#000\" id=\"el-394f004d-21c5-4f82-831d-6252853211da\">\n<h1 id=\"step-8\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-1.8712121212121204% 0;font-family:&quot;Bungee&quot;,cursive;font-size:0.631068em;line-height:1.19;text-align:center;padding:2.0202020202020203% 4.040404040404041%;color:#000000\"><span><span style=\"color: #ba2d2d\">STEP- 8<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:6.47249%;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.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 5% 5% 5% 5%\" id=\"el-fd8b35a9-7e03-4ce6-a96a-f860c48aa14a\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.9961165048543691% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.291262em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/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:\/\/d3n0h9tb65y8q.cloudfront.net\/public_assets\/assets\/000\/001\/467\/original\/22-Deloitte.jpg?1634834351\"><a href=\"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"9af473da-bbcc-40db-9309-77ed4a814960\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-3279fe0d-1c5a-454b-b072-9ffa507de5e3\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":600,\"duration\":800,\"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-95185380-5315-400f-a51f-8ca3977d98ca\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":600,\"duration\":800,\"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-4e1b37de-a83f-48fc-a880-79e01550f8d5\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":390,\"duration\":800,\"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-b61de8f7-15f3-4522-8aa2-631117b23136\",\"keyframes\":{\"transform\":[\"translate3d(-113.83286%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":390,\"duration\":800,\"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-e1988d5b-8513-42f4-9703-66150495b75d\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":3000,\"easing\":\"cubic-bezier(0.4, 0.4, 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:#211f1e\">\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-a803f31d-abd6-4e91-bc6b-7d7152452de2\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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;top:-9.2233%;width:183.73786%;height:89.15858%;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-96c7fb02-3bcc-4552-be0b-1839890f9a35\">\n<div style=\"position:absolute;width:109.18098%;height:100%;left:-4.59049%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5472&amp;h=3648&amp;fit=max\" alt=\"woman biting pencil while sitting on chair in front of computer during daytime\" srcSet=\"https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5472&amp;h=3648&amp;fit=max 5472w,https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4377&amp;h=2918&amp;fit=max 4377w,https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3283&amp;h=2189&amp;fit=max 3283w,https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2188&amp;h=1459&amp;fit=max 2188w,https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1094&amp;h=729&amp;fit=max 1094w,https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 83vh, 184vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:radial-gradient(ellipse 67% 67%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:9.46602%;top:61.65049%;width:98.78641%;height:29.44984%;opacity:1\">\n<div id=\"anim-e1988d5b-8513-42f4-9703-66150495b75d\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\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-2a6dec20-ca62-459e-a121-2b7c90c3aa5a\">\n<div class=\"fill\" style=\"background-color:rgba(216,33,33,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.79612%;width:42.96117%;height:9.54693%;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-9300a605-8813-429c-866a-1d7f1b5e42c7\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:70.38835%;width:84.2233%;height:14.40129%;opacity:1\">\n<div id=\"anim-3279fe0d-1c5a-454b-b072-9ffa507de5e3\" 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-95185380-5315-400f-a51f-8ca3977d98ca\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 2.247191011235955% 2.247191011235955% 2.247191011235955% 2.247191011235955%\" id=\"el-a8fc7717-a1ae-4fb4-bae0-eebffb28e7d9\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.20713256484149856% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Learn about variations. The N-Queen problem involves placing N queens on an NxN board, offering more complexity and challenges.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:64.23948%;width:84.2233%;height:6.14887%;opacity:1\">\n<div id=\"anim-4e1b37de-a83f-48fc-a880-79e01550f8d5\" 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-b61de8f7-15f3-4522-8aa2-631117b23136\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-113.83286%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-87bed39f-e33f-446f-b4a2-78c228fd1857\">\n<h3 id=\"problem-variants\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4602705106268008% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.404531em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Problem Variants<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:55.50162%;width:48.05825%;height:7.60518%;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.0101010101010102% 1.0101010101010102% 1.0101010101010102% 1.0101010101010102% \/ 4.25531914893617% 4.25531914893617% 4.25531914893617% 4.25531914893617%;background-clip:content-box;background-color:#000\" id=\"el-911794e7-b1d5-4265-8d03-b69b8f2eb431\">\n<h1 id=\"step-9\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-1.8712121212121204% 0;font-family:&quot;Bungee&quot;,cursive;font-size:0.631068em;line-height:1.19;text-align:center;padding:2.0202020202020203% 4.040404040404041%;color:#000000\"><span><span style=\"color: #ba2d2d\">STEP- 9<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:6.47249%;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.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 5% 5% 5% 5%\" id=\"el-dfe2fa06-8662-4930-a773-4a29fed596d3\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.9961165048543691% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.291262em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"37fe3111-67e4-443f-928f-706f59affd5a\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-dc96f454-1ac9-4271-8b53-7e97330e53cc [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(24.885583712610604%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"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:#262640\">\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-dc96f454-1ac9-4271-8b53-7e97330e53cc\" 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-761119d8-741a-4a78-b4c9-c5c9ee029f4d\">\n<div style=\"position:absolute;width:142.22222%;height:100%;left:-0.09662%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=5000&amp;fit=max\" alt=\"person in black long sleeve shirt using macbook pro\" srcSet=\"https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=5000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3200&amp;h=4000&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2400&amp;h=3000&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1600&amp;h=2000&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=800&amp;h=1000&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=425&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 64vh, 142vw\" 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;top:-6.95793%;width:42.96117%;height:9.54693%;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-e95b860a-8ff3-43f8-af70-34026e151e66\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.6699%;top:59.06149%;width:93.93204%;height:12.13592%;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.516795865633075% 0.516795865633075% 0.516795865633075% 0.516795865633075% \/ 2.666666666666667% 2.666666666666667% 2.666666666666667% 2.666666666666667%\" id=\"el-eba229e3-1792-4609-8c73-ca078e760490\">\n<h3 id=\"start-your-journey-now-and-learn-how-to-solve-8-queen-problem-with-code-implementation\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07630813953488363% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.339806em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Start your journey now and learn how to solve 8 Queen problem with code implementation.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:3.15534%;top:33.81877%;width:92.47573%;height:25.56634%;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.5249343832020997% 0.5249343832020997% 0.5249343832020997% 0.5249343832020997% \/ 1.2658227848101267% 1.2658227848101267% 1.2658227848101267% 1.2658227848101267%\" id=\"el-3257c71b-698d-4e86-a5d2-95cd595cd066\">\n<h1 id=\"ready-to-level-up-your-coding-skills\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.9844749630905514% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.728155em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #c73534\">Ready to&nbsp;<\/span><br \/>\n<span style=\"color: #c73534\">Level Up your Coding Skills?&nbsp;<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"284dcce3-c27a-4ff1-b998-aa7b7cee5620\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-70d2fe24-f9b6-41e3-b25b-f97a80a87e84\",\"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-5d1eff8f-fa18-4f9c-81a9-d7f42680f7e4\",\"keyframes\":{\"transform\":[\"translate3d(0px, 338.34879%, 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-43bd8971-415b-4d8d-9b46-15731644840f\",\"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-26b1bc60-e53b-4db5-b596-ad5cc392b45d\",\"keyframes\":{\"transform\":[\"translate3d(0px, 222.00145%, 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:#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 style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-43e51d61-7bd6-4c89-82e6-37f800104760\">\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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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 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;top:-6.95793%;width:42.96117%;height:9.54693%;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-49a8e01d-504f-4eff-a4d1-84ad55fe030e\">\n<div style=\"position:absolute;width:100.28252%;height:100%;left:-0.14126%;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) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.42718%;top:30.42071%;width:93.4466%;height:23.30097%;opacity:1\">\n<div id=\"anim-70d2fe24-f9b6-41e3-b25b-f97a80a87e84\" 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-5d1eff8f-fa18-4f9c-81a9-d7f42680f7e4\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, 338.34879%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-d60dc45e-4473-4df0-aa90-aaa963672472\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5584415584415585% 0;font-family:&quot;Poppins&quot;,sans-serif;font-size:0.647249em;line-height:1.1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Improve your Interviewing Skills with Scaler!<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:1.69903%;top:6.6343%;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-311792a3-d722-4f38-95e1-9f70dbca8474\">\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: #c73534\">\u201c<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.42718%;top:55.01618%;width:93.4466%;height:24.43366%;opacity:1\">\n<div id=\"anim-43bd8971-415b-4d8d-9b46-15731644840f\" 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-26b1bc60-e53b-4db5-b596-ad5cc392b45d\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, 222.00145%, 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.5194805194805194% 0.5194805194805194% 0.5194805194805194% 0.5194805194805194% \/ 1.3245033112582782% 1.3245033112582782% 1.3245033112582782% 1.3245033112582782%\" id=\"el-1a4abe1b-f972-4944-9775-f9492b6ecc93\">\n<h3 id=\"sign-up-for-scalers-free-masterclasses-and-events-to-learn-about-the-latest-trends-in-the-it-industry-and-become-a-pro-dont-hesitate-any-longer-register-today\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07670454545454536% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.339806em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Sign up for Scaler&#8217;s free masterclasses and events to learn about the latest trends in the IT industry and become a pro.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 700; color: #c73534\">Don&#8217;t hesitate any longer, register today!<\/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\" cta-image=\"https:\/\/assets-v2.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz\"><a href=\"https:\/\/www.scaler.com\/events\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=9-steps-to-approach-the-8-queen-problem_scaler-events\" rel=\"\">SWIPE UP<\/a><\/amp-story-page-outlink><\/amp-story-page><\/amp-story><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"The purpose of this web story is to provide you a quick overview of 9 steps to approach the 8-Queen Problem. Check out the Step-by-Step Guide.\n","protected":false},"author":21,"featured_media":24286,"template":"","meta":{"_daextam_enable_autolinks":"","web_stories_products":[],"web_stories_publisher_logo":1082,"web_stories_poster":[]},"web_story_category":[1944],"web_story_tag":[3471,3470,3472],"amp_enabled":false,"story_data":{"version":46,"pages":[{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"49332a74-1b2f-4590-93e1-b9672fa9a10d","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4000,"height":6000,"sizes":{"full":{"file":"media\/unsplash:8DIIXqF9v_Q","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:8DIIXqF9v_Q","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&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:8DIIXqF9v_Q","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&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:8DIIXqF9v_Q","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&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:8DIIXqF9v_Q","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&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:8DIIXqF9v_Q","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&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:8DIIXqF9v_Q","baseColor":"#260c0c","blurHash":"LLBL@b0f%LWB,;S4ayS49Z-:RPS4","creationDate":"2020-09-22T16:21:34Z","src":"https:\/\/images.unsplash.com\/photo-1600791575280-1f7ca48b9a57?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNTB8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkzOTIzMTUwfDA&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","alt":"man in black jacket sitting in front of silver imac","attribution":{"author":{"displayName":"Alec Favale","url":"https:\/\/unsplash.com\/@alecfavale?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=ARcQahfLNgJbbcfdf5BDDDu\/23MMqj6RfrwB1xLdnIj2GZTcHT7qxg6FMiGW61BJVob3le9Xw0w0cMJ3OHYXOdknlv1zWOetgrP\/2uR454NL%2BuYlw9%2BHePp2qaglC86qIJpbV8\/cAvHRa4L22goFKJ76xWhksezrOrcP3sEPX3AvdCby6Dz9s5oLYiVL2nAJz8\/rp5LasNrPO5r3ghFnl3HHhOja9SBWerMGFsi1UW%2ByWAA1GszVjxYrhQP6u0NEU8mbt4bqhg%3D%3D"}},"overlay":{"type":"linear","rotation":0,"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.3}},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"type":"image","x":12,"y":-45,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"76cf791c-4e11-4c2d-a2f2-08820fd66ad1"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":26,"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\">Step-by-Step Guide<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":10,"y":579,"width":392,"height":40,"basedOn":"82b73d0b-20ad-441a-a3a9-b44cf3989701","id":"cf151aca-8261-43dd-a1e6-792420542ac5"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":40,"backgroundColor":{"color":{"r":0,"g":0,"b":0,"a":0.5}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #e12425\">How to Approach the&nbsp;<\/span>\n<span style=\"color: #e12425\">8-Queen Problem?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":10,"y":481,"width":387,"height":101,"id":"2f34c5b1-b5be-4e3d-9384-50f17e8c09eb"}],"backgroundColor":{"color":{"r":69,"g":69,"b":69}},"type":"page","id":"519be69d-90cf-4272-8d5e-918dda225b61","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"23b9e36d-b345-4efe-b530-6bbc15e458e2"},"animations":[],"pageAttachment":{"url":"","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/02\/Salesforce-Developer-Salary-2048x1000.png","needsProxy":false,"ctaText":"Read More"}},{"elements":[{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"b6ccb4cb-eb6e-4cc7-98e8-ad88b5de302b","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"0f06a768-d7d7-48c3-94fd-0d200978ef7c","backgroundColor":{"color":{"r":201,"g":24,"b":74,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":3816,"height":3816,"sizes":{"full":{"file":"media\/unsplash:KdKm4xWOggk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&ixlib=rb-4.0.3&fm=jpg&w=3816&h=3816&fit=max","mimeType":"image\/jpeg","width":3816,"height":3816},"large":{"file":"media\/unsplash:KdKm4xWOggk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&ixlib=rb-4.0.3&fm=jpg&w=3052&h=3052&fit=max","mimeType":"image\/jpeg","width":3052,"height":3052},"2289_2289":{"file":"media\/unsplash:KdKm4xWOggk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&ixlib=rb-4.0.3&fm=jpg&w=2289&h=2289&fit=max","mimeType":"image\/jpeg","width":2289,"height":2289},"1526_1526":{"file":"media\/unsplash:KdKm4xWOggk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&ixlib=rb-4.0.3&fm=jpg&w=1526&h=1526&fit=max","mimeType":"image\/jpeg","width":1526,"height":1526},"763_763":{"file":"media\/unsplash:KdKm4xWOggk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&ixlib=rb-4.0.3&fm=jpg&w=763&h=763&fit=max","mimeType":"image\/jpeg","width":763,"height":763},"web_stories_thumbnail":{"file":"media\/unsplash:KdKm4xWOggk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&ixlib=rb-4.0.3&fm=jpg&w=340&h=340&fit=max","mimeType":"image\/jpeg","width":340,"height":340}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:KdKm4xWOggk","baseColor":"#c0c0d9","blurHash":"LVIE|l.8xbxZ~qx]M{ofozIURPxu","creationDate":"2021-06-08T03:18:58Z","src":"https:\/\/images.unsplash.com\/photo-1623122245120-7eef6faa39c6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMzl8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY0ODU2fDA&ixlib=rb-4.0.3&fm=jpg&w=3816&h=3816&fit=max","alt":"woman in white sweater using laptop computer","attribution":{"author":{"displayName":"S O C I A L . C U T","url":"https:\/\/unsplash.com\/@socialcut?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AW1j3\/eYzn5M\/UlBci19SUNqZFKUZL5gqhBlinPgAYskrTHrRpPLRZO4LcITMVW8d%2BL2YxFIgYMTvCWFGOksjJt5LCzuVLNdIn05HLOJ%2Bz2AnyBbajHvjGLWtFxEAvaJCM%2Bh05hXNLznwbCyB0FxDM\/QST65S\/5aczcSXzhXzbzcwdgPa\/KVxfYZql\/BaVQW%2B8Ry6M6p6FqiCDmf6XWNyxd0Ew4pYtw5CG3t5SjHQ8Jz1Wuqr0aJoF6KfQ%3D%3D"}},"type":"image","x":-3,"y":-57,"width":489,"height":550,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"dc9f1bc4-d8db-4ee7-ba92-39ffd073b5d8","overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":216,"g":33,"b":33,"a":0.3}},"x":39,"y":381,"width":407,"height":182,"mask":{"type":"rectangle"},"basedOn":"fb10fa9e-7718-4587-b318-b0475a238feb","border":{"locked":true,"color":{"color":{"r":210,"g":36,"b":36,"a":1}},"left":0,"right":0,"top":0,"bottom":0},"id":"bda3fe17-be7c-41f2-b8cd-dcfcb549307d","type":"shape"},{"x":48,"y":397,"width":347,"height":38,"font":{"family":"Anton"},"type":"text","opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","basedOn":"67f45a53-bf09-4235-95f0-680ad1bc9e66","id":"16824d39-6a2f-4539-b837-c71033529d43","content":"<span style=\"color: #fff\">Problem Breakdown<\/span>","fontSize":25,"padding":{"horizontal":0,"vertical":0},"marginOffset":-13.64501953125},{"x":48,"y":435,"width":347,"height":89,"font":{"family":"Roboto"},"type":"text","opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","id":"376c4607-4394-4ea0-af70-96ae8749ba65","content":"<span style=\"color: #fff\">Understand the challenge: Each queen threatens horizontally, vertically, and diagonally. The goal is to find all possible non-attacking placements.<\/span>","fontSize":20,"padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"basedOn":"566dcf70-af92-4ee1-8a03-e07dab4556b8","marginOffset":2.3459999999999965,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2}},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"type":"image","x":0,"y":-41,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"7c91e55c-be4b-470e-8e4b-fa720e2846f5","id":"3914d932-3b6e-41f3-ae54-33dcbae2c183"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Bungee"},"fontSize":39,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"type":"text","content":"<span style=\"color: #ba2d2d\">STEP- 1<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-3,"y":343,"width":198,"height":47,"id":"c4750916-2efd-4e0b-93d5-ef005727f00b"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":40,"basedOn":"fd8b35a9-7e03-4ce6-a96a-f860c48aa14a","id":"484a80b5-6a03-4815-849d-f0bdbc303808","type":"text"}],"animations":[{"id":"b71c780a-dc8a-4ab1-86cf-237d66c1d7a5","type":"effect-fly-in","targets":["16824d39-6a2f-4539-b837-c71033529d43"],"flyInDir":"leftToRight","duration":800,"delay":390},{"id":"42d7304a-b4eb-412e-ab10-ce26d538cbff","type":"effect-fly-in","targets":["376c4607-4394-4ea0-af70-96ae8749ba65"],"flyInDir":"leftToRight","duration":800,"delay":600},{"id":"70961f8b-15b1-48c0-bff6-05102ff14976","type":"effect-fade-in","targets":["bda3fe17-be7c-41f2-b8cd-dcfcb549307d"],"duration":3000,"delay":0}],"type":"page","id":"f45319cc-a585-41da-8caf-cdc69b0f1fe0","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"b6ccb4cb-eb6e-4cc7-98e8-ad88b5de302b","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"0f06a768-d7d7-48c3-94fd-0d200978ef7c"},"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"3c04b95f-6267-4649-865f-859ac959cf24","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"0f55a625-a333-441e-a5fe-3d903d762d5c"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":6000,"height":4000,"sizes":{"full":{"file":"media\/unsplash:OeKCFIMcTcg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&ixlib=rb-4.0.3&fm=jpg&w=6000&h=4000&fit=max","mimeType":"image\/jpeg","width":6000,"height":4000},"large":{"file":"media\/unsplash:OeKCFIMcTcg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&ixlib=rb-4.0.3&fm=jpg&w=4800&h=3200&fit=max","mimeType":"image\/jpeg","width":4800,"height":3200},"3600_2400":{"file":"media\/unsplash:OeKCFIMcTcg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&ixlib=rb-4.0.3&fm=jpg&w=3600&h=2400&fit=max","mimeType":"image\/jpeg","width":3600,"height":2400},"2400_1600":{"file":"media\/unsplash:OeKCFIMcTcg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&ixlib=rb-4.0.3&fm=jpg&w=2400&h=1600&fit=max","mimeType":"image\/jpeg","width":2400,"height":1600},"1200_800":{"file":"media\/unsplash:OeKCFIMcTcg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&ixlib=rb-4.0.3&fm=jpg&w=1200&h=800&fit=max","mimeType":"image\/jpeg","width":1200,"height":800},"web_stories_thumbnail":{"file":"media\/unsplash:OeKCFIMcTcg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&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:OeKCFIMcTcg","baseColor":"#262626","blurHash":"LOGk{_DQw@~V-?NFNaNMNKk8V_M{","creationDate":"2022-06-22T11:36:01Z","src":"https:\/\/images.unsplash.com\/photo-1655897731395-530a59105b31?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMjV8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MDI0fDA&ixlib=rb-4.0.3&fm=jpg&w=6000&h=4000&fit=max","alt":"a man sitting on a couch with a laptop","attribution":{"author":{"displayName":"Ilias Haddad","url":"https:\/\/unsplash.com\/@iliashaddad3?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AW1j3\/d6KqyKwTKPnh3kkjrAc78huEyxnP9gHfkz1styg6nPy6gVr\/UtUcXQQpUX%2Bu2sChlj5afx%2ByXs1DfU328HcT9KayhcxdQqA7wVyEnXDD3Pvp9bgxy3\/kizimLhFeF94Z5askQhyAvn1v\/ewa4XHz%2BpSxmlnuPFadT1Fwg1%2BL7ZNfX4ICItlXDv0c23CP1gv5osJXWo97nmLwmEzaDuRJksv\/x7xl7ffB27kqCwZOjTTR41c1uutQ%3D%3D"}},"type":"image","x":-2,"y":-58,"width":712,"height":555,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"b7acd7aa-2e97-4eb7-b82d-86f6b67de56a","overlay":{"type":"radial","size":{"w":0.67,"h":0.67},"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.8}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":216,"g":33,"b":33,"a":0.3}},"x":39,"y":381,"width":407,"height":182,"mask":{"type":"rectangle"},"basedOn":"fb10fa9e-7718-4587-b318-b0475a238feb","border":{"locked":true,"color":{"color":{"r":210,"g":36,"b":36,"a":1}},"left":0,"right":0,"top":0,"bottom":0},"id":"9198239e-210d-46df-83f2-89198cb72dbe","type":"shape"},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"type":"image","x":0,"y":-41,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"7c91e55c-be4b-470e-8e4b-fa720e2846f5","id":"20f20941-f03a-40bf-8214-adeae6fd5afd"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"horizontal":0,"vertical":0},"x":48,"y":397,"width":343,"height":38,"basedOn":"16824d39-6a2f-4539-b837-c71033529d43","content":"<span style=\"color: #fff\">Brute Force Approach<\/span>","marginOffset":-13.64501953125,"id":"ddeaa3b1-0889-4cbf-8368-cd1fac483beb","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":48,"y":435,"width":347,"height":112,"content":"<span style=\"color: #fff\">Explore the basic approach. Generate all possible configurations &amp; check for conflicts. It's simple but inefficient for larger boards due to its exponential time complexity.<\/span>","basedOn":"376c4607-4394-4ea0-af70-96ae8749ba65","marginOffset":2.3459999999999965,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"id":"2a1a0a5d-762d-4abc-905a-df6dbaaaace0","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Bungee"},"fontSize":39,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ba2d2d\">STEP- 2<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-3,"y":343,"width":198,"height":47,"basedOn":"c4750916-2efd-4e0b-93d5-ef005727f00b","id":"425e7ab0-6ac9-4f6f-bc59-1e2f9a138705","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":40,"basedOn":"fd8b35a9-7e03-4ce6-a96a-f860c48aa14a","id":"564e6f44-ac99-4497-8768-7b98a9ab04ad","type":"text"}],"animations":[{"id":"4644cd8d-0e1f-4ab2-8e8c-8804e17b3b93","type":"effect-fly-in","targets":["ddeaa3b1-0889-4cbf-8368-cd1fac483beb"],"flyInDir":"leftToRight","duration":800,"delay":390},{"id":"b692dccc-dbe4-40e2-b4d9-98e20130e3a1","type":"effect-fly-in","targets":["2a1a0a5d-762d-4abc-905a-df6dbaaaace0"],"flyInDir":"leftToRight","duration":800,"delay":600},{"id":"a41ca7a7-d728-418d-859e-6b38492cab3c","type":"effect-fade-in","targets":["9198239e-210d-46df-83f2-89198cb72dbe"],"duration":3000,"delay":0}],"type":"page","id":"75c1c2ce-769d-4443-b70f-bcb2941ea2fd","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"backgroundColor":{"color":{"r":255,"g":255,"b":255,"a":1}},"isBackground":true,"isDefaultBackground":true,"id":"0f06a768-d7d7-48c3-94fd-0d200978ef7c"},"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"32fdacfb-01fc-4fe8-867d-8ed59ceafdd1","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"3c04b95f-6267-4649-865f-859ac959cf24"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":6324,"height":4216,"sizes":{"full":{"file":"media\/unsplash:ZdUNNTZdHag","sourceUrl":"https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&ixlib=rb-4.0.3&fm=jpg&w=6324&h=4216&fit=max","mimeType":"image\/jpeg","width":6324,"height":4216},"large":{"file":"media\/unsplash:ZdUNNTZdHag","sourceUrl":"https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&ixlib=rb-4.0.3&fm=jpg&w=5059&h=3373&fit=max","mimeType":"image\/jpeg","width":5059,"height":3373},"3794_2529":{"file":"media\/unsplash:ZdUNNTZdHag","sourceUrl":"https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&ixlib=rb-4.0.3&fm=jpg&w=3794&h=2529&fit=max","mimeType":"image\/jpeg","width":3794,"height":2529},"2529_1686":{"file":"media\/unsplash:ZdUNNTZdHag","sourceUrl":"https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&ixlib=rb-4.0.3&fm=jpg&w=2529&h=1686&fit=max","mimeType":"image\/jpeg","width":2529,"height":1686},"1264_843":{"file":"media\/unsplash:ZdUNNTZdHag","sourceUrl":"https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&ixlib=rb-4.0.3&fm=jpg&w=1264&h=843&fit=max","mimeType":"image\/jpeg","width":1264,"height":843},"web_stories_thumbnail":{"file":"media\/unsplash:ZdUNNTZdHag","sourceUrl":"https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&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:ZdUNNTZdHag","baseColor":"#260c0c","blurHash":"LHF5dG4T~prqNbs,%MRj4otSD%X9","creationDate":"2020-10-05T21:53:45Z","src":"https:\/\/images.unsplash.com\/photo-1601933973706-34bd411ffd67?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2OTQ1OTQ2MzR8MA&ixlib=rb-4.0.3&fm=jpg&w=6324&h=4216&fit=max","alt":"man in black and white plaid dress shirt using silver macbook","attribution":{"author":{"displayName":"Brooke Cagle","url":"https:\/\/unsplash.com\/@brookecagle?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AdM%2BFxdeOAnmr%2BbS0c9xcjoBkfTJm%2BxPL1ah0%2B\/5O0PtIxTeyGBOVwh%2BayrvUKwQLG9HB4c\/iq1ZXW3kAkY6xI8Kp0EwhhU7v0oCLl1qKElnHP8jm6H29itk\/WZF90XNQQmBAgU3qtZpx2ENnaJFI\/e2Rt8j2HLodqBIgFfx7Tc3CgzueaVE0Uo0jYvigdtfc\/OSiqr\/w\/O4eG%2BJn4e76w9avpqDhQKDET5MvCJVcIux6O9ETbAKSg17pg7LRdJgmiuJy%2BHN"}},"type":"image","x":0,"y":-57,"width":658,"height":554,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"738fc073-bb68-4e47-841e-254ead731076","overlay":{"type":"radial","size":{"w":0.67,"h":0.67},"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.7}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":216,"g":33,"b":33,"a":0.3}},"x":39,"y":381,"width":407,"height":182,"mask":{"type":"rectangle"},"basedOn":"fb10fa9e-7718-4587-b318-b0475a238feb","border":{"locked":true,"color":{"color":{"r":210,"g":36,"b":36,"a":1}},"left":0,"right":0,"top":0,"bottom":0},"id":"bdc16909-5e1d-4bfb-ad5f-bc63db1176bc","type":"shape"},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"type":"image","x":0,"y":-41,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"76cf791c-4e11-4c2d-a2f2-08820fd66ad1","id":"7c91e55c-be4b-470e-8e4b-fa720e2846f5"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":49,"y":434,"width":347,"height":89,"content":"<span style=\"color: #fff\">Dive into the backtracking algorithm. Start placing queens one by one, backtrack when a conflict is found, and explore alternative paths.<\/span>","basedOn":"376c4607-4394-4ea0-af70-96ae8749ba65","marginOffset":2.3459999999999965,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"id":"2907571c-b725-43b3-8110-8ac3b2b22240","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"horizontal":0,"vertical":0},"x":48,"y":397,"width":347,"height":38,"basedOn":"16824d39-6a2f-4539-b837-c71033529d43","content":"<span style=\"color: #fff\">Backtracking Algorithm<\/span>","marginOffset":-13.64501953125,"id":"b5941f24-be45-4a92-9b2b-557b9a43f1e1","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Bungee"},"fontSize":39,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ba2d2d\">STEP- 3<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-3,"y":343,"width":198,"height":47,"basedOn":"425e7ab0-6ac9-4f6f-bc59-1e2f9a138705","id":"52e41726-ec3d-4287-9ed7-0a7948fd3a29","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":40,"basedOn":"fd8b35a9-7e03-4ce6-a96a-f860c48aa14a","id":"9eff5e9e-b8ef-45d9-8572-89ac9234fefe","type":"text"}],"animations":[{"id":"e7847a53-8f52-4985-bd14-55117a7d3f6c","type":"effect-fly-in","targets":["2907571c-b725-43b3-8110-8ac3b2b22240"],"flyInDir":"leftToRight","duration":800,"delay":600},{"id":"a2a08d2e-b60a-423b-a1ea-4588e11a573a","type":"effect-fly-in","targets":["b5941f24-be45-4a92-9b2b-557b9a43f1e1"],"flyInDir":"leftToRight","duration":800,"delay":390},{"id":"73f86bbf-68de-4577-98d8-30a9ce2b2260","type":"effect-fade-in","targets":["bdc16909-5e1d-4bfb-ad5f-bc63db1176bc"],"duration":3000,"delay":0}],"type":"page","id":"e0d2c775-9d1d-4576-8419-40af1a6025dc","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"32fdacfb-01fc-4fe8-867d-8ed59ceafdd1","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"3c04b95f-6267-4649-865f-859ac959cf24"},"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"c60dd254-8f78-4fed-890d-fac5138d7b96","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"dd306cae-5ffb-4a3a-8810-42211bf91677"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":5184,"height":3888,"sizes":{"full":{"file":"media\/unsplash:gicQUPeAsxA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3888&fit=max","mimeType":"image\/jpeg","width":5184,"height":3888},"large":{"file":"media\/unsplash:gicQUPeAsxA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&ixlib=rb-4.0.3&fm=jpg&w=4147&h=3110&fit=max","mimeType":"image\/jpeg","width":4147,"height":3110},"3110_2333":{"file":"media\/unsplash:gicQUPeAsxA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&ixlib=rb-4.0.3&fm=jpg&w=3110&h=2333&fit=max","mimeType":"image\/jpeg","width":3110,"height":2333},"2073_1555":{"file":"media\/unsplash:gicQUPeAsxA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&ixlib=rb-4.0.3&fm=jpg&w=2073&h=1555&fit=max","mimeType":"image\/jpeg","width":2073,"height":1555},"1036_777":{"file":"media\/unsplash:gicQUPeAsxA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&ixlib=rb-4.0.3&fm=jpg&w=1036&h=777&fit=max","mimeType":"image\/jpeg","width":1036,"height":777},"web_stories_thumbnail":{"file":"media\/unsplash:gicQUPeAsxA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&ixlib=rb-4.0.3&fm=jpg&w=340&h=255&fit=max","mimeType":"image\/jpeg","width":340,"height":255}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:gicQUPeAsxA","baseColor":"#f3f3f3","blurHash":"LYIrQv~qtRs._NxtWVxa-;oLMxxu","creationDate":"2018-07-14T02:37:47Z","src":"https:\/\/images.unsplash.com\/photo-1531535807748-218331acbcb4?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyNzR8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1MTI2fDA&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3888&fit=max","alt":"two smiling women starring on silver MacBook inside well-lit room","attribution":{"author":{"displayName":"Mimi Thian","url":"https:\/\/unsplash.com\/@mimithian?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AW1j3\/eH1Zgj6GOBvj3eBPccnhL7Zapp81\/RA9XY2KaXmy9jBBnHxL6x210ycvR1xjK4FhDVe8wnPKsFwIF2fOYuitEaRJ5STnaG4e3cA8KTEo8m6g5n2Z\/OmdmoHnGEQ6VDWw2B\/iLfonBaXGmyFfDhjLCuUSKziixSa4JaDDaBqVvO6dBiJ9QGJgdIXCBDFtrFaKt\/apuA0uGP5RtVnztqYLTy84K8HBqgC%2Bk8y5ILkvWC23ijSzePsg%3D%3D"}},"type":"image","x":-2,"y":-57,"width":586,"height":557,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"6da8f35f-011a-4db4-99ea-af283f8d3fdb","overlay":{"type":"radial","size":{"w":0.67,"h":0.67},"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.8}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":216,"g":33,"b":33,"a":0.3}},"x":39,"y":381,"width":407,"height":182,"mask":{"type":"rectangle"},"basedOn":"fb10fa9e-7718-4587-b318-b0475a238feb","border":{"locked":true,"color":{"color":{"r":210,"g":36,"b":36,"a":1}},"left":0,"right":0,"top":0,"bottom":0},"id":"fbee4739-cf88-4f64-9fa6-ab39d3f89c1d","type":"shape"},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"type":"image","x":0,"y":-42,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"76cf791c-4e11-4c2d-a2f2-08820fd66ad1","id":"8f05227a-9150-40e9-a027-de187488aa0d"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":49,"y":436,"width":347,"height":89,"content":"<span style=\"color: #fff\">Get a glimpse of the pseudocode. Visualize the algorithm's structure and understand how it progresses through the board.<\/span>","basedOn":"2907571c-b725-43b3-8110-8ac3b2b22240","marginOffset":2.3459999999999965,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"id":"4e57ec7b-320a-4e89-9177-234d57ab21ef","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"horizontal":0,"vertical":0},"x":48,"y":397,"width":347,"height":38,"basedOn":"b5941f24-be45-4a92-9b2b-557b9a43f1e1","content":"<span style=\"color: #fff\">Pseudocode Overview<\/span>","marginOffset":-13.64501953125,"id":"d5786d6a-6f75-47ab-82f4-90095b99dd4f","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Bungee"},"fontSize":39,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ba2d2d\">STEP- 4<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-3,"y":343,"width":198,"height":47,"basedOn":"425e7ab0-6ac9-4f6f-bc59-1e2f9a138705","id":"6b3c78f5-50b9-4535-a9bb-ec249ffc2b37","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":40,"basedOn":"fd8b35a9-7e03-4ce6-a96a-f860c48aa14a","id":"069029f7-a19f-486b-a9f4-0564a6ebb72d","type":"text"}],"animations":[{"id":"e6297d06-e7d4-4236-ad1f-e573bd7fff00","type":"effect-fly-in","targets":["4e57ec7b-320a-4e89-9177-234d57ab21ef"],"flyInDir":"leftToRight","duration":800,"delay":600},{"id":"e8450cbd-a4b1-48dd-95ff-5a8d4b3e7744","type":"effect-fly-in","targets":["d5786d6a-6f75-47ab-82f4-90095b99dd4f"],"flyInDir":"leftToRight","duration":800,"delay":390},{"id":"223416e6-4ce0-49e9-96a4-6c858cc32b22","type":"effect-fade-in","targets":["fbee4739-cf88-4f64-9fa6-ab39d3f89c1d"],"duration":3000,"delay":0}],"type":"page","id":"250a0549-fa93-4903-b0f6-c809c3e3be0c","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"backgroundColor":{"color":{"r":255,"g":255,"b":255,"a":1}},"isBackground":true,"isDefaultBackground":true,"id":"0f06a768-d7d7-48c3-94fd-0d200978ef7c"},"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"http:\/\/ibassets.s3.amazonaws.com\/static-assets\/ib-logo-square.png","needsProxy":true,"ctaText":"Click here"}},{"elements":[{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"abedbc9d-33fa-4eb9-9eef-b0676fcd6236","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"c60dd254-8f78-4fed-890d-fac5138d7b96"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":3780,"height":5662,"sizes":{"full":{"file":"media\/unsplash:c6cNBzaVk_E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&ixlib=rb-4.0.3&fm=jpg&w=3780&h=5662&fit=max","mimeType":"image\/jpeg","width":3780,"height":5662},"large":{"file":"media\/unsplash:c6cNBzaVk_E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&ixlib=rb-4.0.3&fm=jpg&w=3024&h=4530&fit=max","mimeType":"image\/jpeg","width":3024,"height":4530},"2268_3397":{"file":"media\/unsplash:c6cNBzaVk_E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&ixlib=rb-4.0.3&fm=jpg&w=2268&h=3397&fit=max","mimeType":"image\/jpeg","width":2268,"height":3397},"1512_2265":{"file":"media\/unsplash:c6cNBzaVk_E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&ixlib=rb-4.0.3&fm=jpg&w=1512&h=2265&fit=max","mimeType":"image\/jpeg","width":1512,"height":2265},"756_1132":{"file":"media\/unsplash:c6cNBzaVk_E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&ixlib=rb-4.0.3&fm=jpg&w=756&h=1132&fit=max","mimeType":"image\/jpeg","width":756,"height":1132},"web_stories_thumbnail":{"file":"media\/unsplash:c6cNBzaVk_E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&ixlib=rb-4.0.3&fm=jpg&w=340&h=509&fit=max","mimeType":"image\/jpeg","width":340,"height":509}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:c6cNBzaVk_E","baseColor":"#f3f3f3","blurHash":"LYMaLz00V?.8~pt7WBxa_4xuRjM{","creationDate":"2019-11-11T18:29:00Z","src":"https:\/\/images.unsplash.com\/photo-1573496773490-9c1ba7d580f0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwzNTF8fGRldmVsb3BlcnN8ZW58MHx8fHwxNjkwMzY1Mzg4fDA&ixlib=rb-4.0.3&fm=jpg&w=3780&h=5662&fit=max","alt":"sitting woman using laptop computer","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=AW1j3\/fajhgMtAebF8eZRvt5E34Eia41Ezqyp\/AIlOP184AzuYJMdjhRo5qWxWsc8oFBCRN5g0VJbQsvIgdPslhmFKfN2%2Bt\/zKSqRblRdQ%2BjfBwr8YmdMlgvXhF0GoAtU%2BPTdyqM0Y8OGQCcXcgTVhYsL6EHoCYOqetM725eQ1QhvfIAczScqdc8kuoXzZwEFASSH3PLyf8ZbMDAzxlZfOc9erLRJ5OhXV03iH6mkbc2J75\/FLfKWLOJjw%3D%3D"}},"type":"image","x":-2,"y":-58,"width":431,"height":555,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"91459480-a70f-4085-b14f-85fb81bba3fd","overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":216,"g":33,"b":33,"a":0.3}},"x":39,"y":381,"width":407,"height":182,"mask":{"type":"rectangle"},"basedOn":"fb10fa9e-7718-4587-b318-b0475a238feb","border":{"locked":true,"color":{"color":{"r":210,"g":36,"b":36,"a":1}},"left":0,"right":0,"top":0,"bottom":0},"id":"8da8d286-727e-43b5-92fb-d93dc08b8525","type":"shape"},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"type":"image","x":0,"y":-42,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"8f05227a-9150-40e9-a027-de187488aa0d","id":"3a4f4b95-3f74-49fe-b8d4-caaea80b1fb8"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":49,"y":434,"width":347,"height":89,"content":"<span style=\"color: #fff\">Explore optimization techniques. Implement constraint propagation and pruning to reduce unnecessary exploration, enhancing efficiency.<\/span>","basedOn":"2907571c-b725-43b3-8110-8ac3b2b22240","marginOffset":2.3459999999999965,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"id":"4e2bdbae-369b-47ad-82c6-76f1c013269b","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"horizontal":0,"vertical":0},"x":48,"y":397,"width":347,"height":38,"basedOn":"d5786d6a-6f75-47ab-82f4-90095b99dd4f","content":"<span style=\"color: #fff\">Optimizations<\/span>","marginOffset":-13.64501953125,"id":"c1ec6b95-af10-4e73-9460-cbce1da37f44","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Bungee"},"fontSize":39,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ba2d2d\">STEP- 5<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-3,"y":343,"width":198,"height":47,"basedOn":"425e7ab0-6ac9-4f6f-bc59-1e2f9a138705","id":"117a333a-08aa-4ce2-bbdf-fbea849e8e8b","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":40,"basedOn":"fd8b35a9-7e03-4ce6-a96a-f860c48aa14a","id":"ff3f1802-7645-4f4c-ae6d-2bdf034d5c07","type":"text"}],"animations":[{"id":"07950ad1-b2cd-4a5c-a2c2-a5eddac22b41","type":"effect-fly-in","targets":["4e2bdbae-369b-47ad-82c6-76f1c013269b"],"flyInDir":"leftToRight","duration":800,"delay":600},{"id":"dcc358ca-d0ea-4efa-be32-c7b71ba7f7e7","type":"effect-fly-in","targets":["c1ec6b95-af10-4e73-9460-cbce1da37f44"],"flyInDir":"leftToRight","duration":800,"delay":390},{"id":"78c03f9f-2d0d-4c23-98f3-3d234cb61ce3","type":"effect-fade-in","targets":["8da8d286-727e-43b5-92fb-d93dc08b8525"],"duration":3000,"delay":0}],"type":"page","id":"9bafc22e-82a6-473d-a84d-1f11067cf3ab","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"backgroundColor":{"color":{"r":255,"g":255,"b":255,"a":1}},"isBackground":true,"isDefaultBackground":true,"id":"0f06a768-d7d7-48c3-94fd-0d200978ef7c"},"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"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,"id":"ce0a6c75-4a9a-41cf-847c-6cb02faeaf1a","basedOn":"abedbc9d-33fa-4eb9-9eef-b0676fcd6236","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":5184,"height":3456,"sizes":{"full":{"file":"media\/unsplash:YSQNPbBGltI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3456&fit=max","mimeType":"image\/jpeg","width":5184,"height":3456},"large":{"file":"media\/unsplash:YSQNPbBGltI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&ixlib=rb-4.0.3&fm=jpg&w=4147&h=2765&fit=max","mimeType":"image\/jpeg","width":4147,"height":2765},"3110_2073":{"file":"media\/unsplash:YSQNPbBGltI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&ixlib=rb-4.0.3&fm=jpg&w=3110&h=2073&fit=max","mimeType":"image\/jpeg","width":3110,"height":2073},"2073_1382":{"file":"media\/unsplash:YSQNPbBGltI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&ixlib=rb-4.0.3&fm=jpg&w=2073&h=1382&fit=max","mimeType":"image\/jpeg","width":2073,"height":1382},"1036_691":{"file":"media\/unsplash:YSQNPbBGltI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&ixlib=rb-4.0.3&fm=jpg&w=1036&h=691&fit=max","mimeType":"image\/jpeg","width":1036,"height":691},"web_stories_thumbnail":{"file":"media\/unsplash:YSQNPbBGltI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&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:YSQNPbBGltI","baseColor":"#f3f3f3","blurHash":"LlL4HD4TtRxu_2ROoetRW9xtjZWX","creationDate":"2017-10-05T13:18:30Z","src":"https:\/\/images.unsplash.com\/photo-1507209281643-9cddb381dcea?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNjh8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDgyfDA&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3456&fit=max","alt":"man touching tablet computer on desk","attribution":{"author":{"displayName":"LinkedIn Sales Solutions","url":"https:\/\/unsplash.com\/@linkedinsalesnavigator?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AdM%2BFxc5cGmb3kpeLz3x0tjC4lVJOiaXdC\/pZGg1pgh4lIjD69Qk50N\/FRv%2B0Xeq5u3CoTGkoMjJQjvhWgkqwI21V4QJrTyh6978AkcUgxpsqDenylFevMeggKzPn\/JDrP%2BbLEu29l5q%2Bs3BkISacJHwqCHrsPnmy1wflOzdvMg0zzMTHQWra6cz1\/4OS4KLBNiZtyGjiQx2gIuKvX3%2BypS1QqK1HO2GpcW58y6rzIVoLPe6it7hP5HUjWUldLuvONsV4vizrw%3D%3D"}},"x":0,"y":-57,"width":579,"height":551,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"overlay":{"type":"radial","size":{"w":0.67,"h":0.67},"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.8},"basedOn":"355b702d-942e-4347-a726-42d4e44c819b","id":"abbeab41-8143-4456-b6da-5e9c8ab74632","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":216,"g":33,"b":33,"a":0.3}},"x":39,"y":381,"width":407,"height":182,"mask":{"type":"rectangle"},"basedOn":"fb10fa9e-7718-4587-b318-b0475a238feb","border":{"locked":true,"color":{"color":{"r":210,"g":36,"b":36,"a":1}},"left":0,"right":0,"top":0,"bottom":0},"id":"51567af3-c829-4d84-b51b-1d5fe00417e8","type":"shape"},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"x":0,"y":-42,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"3a4f4b95-3f74-49fe-b8d4-caaea80b1fb8","id":"14b971ae-c50d-4e9b-bb21-7726c0eab91e","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":50,"y":434,"width":347,"height":68,"content":"<span style=\"color: #fff\">See solutions come to life. Visual representations of solutions help in grasping the algorithm's effectiveness.<\/span>","basedOn":"0218b541-6848-44ce-b876-428b41c0a1df","marginOffset":2.3459999999999965,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"id":"0dd2df48-22df-449f-9abb-696c5c8502e6","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"horizontal":0,"vertical":0},"x":48,"y":397,"width":347,"height":38,"basedOn":"c1ec6b95-af10-4e73-9460-cbce1da37f44","content":"<span style=\"color: #fff\">Visualizing Solutions<\/span>","marginOffset":-13.64501953125,"id":"d68353dc-dc0f-4bad-b171-ef95a4f52165","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Bungee"},"fontSize":39,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ba2d2d\">STEP- 6<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-3,"y":343,"width":198,"height":47,"basedOn":"425e7ab0-6ac9-4f6f-bc59-1e2f9a138705","id":"f9e01de3-ebaf-4d0c-bdcc-9e134f235abe","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":40,"basedOn":"fd8b35a9-7e03-4ce6-a96a-f860c48aa14a","id":"c285ba32-f500-4a8d-851d-e7a9109d854d","type":"text"}],"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"animations":[{"id":"f8b656dc-ec7e-472c-9c85-ac30c0e35fbf","type":"effect-fly-in","targets":["0dd2df48-22df-449f-9abb-696c5c8502e6"],"flyInDir":"leftToRight","duration":800,"delay":600},{"id":"ffa5554b-7bc1-4f1c-b4d6-28bb57573b81","type":"effect-fly-in","targets":["d68353dc-dc0f-4bad-b171-ef95a4f52165"],"flyInDir":"leftToRight","duration":800,"delay":390},{"id":"0fd1692b-9b43-40cf-81f6-7bf8322b62c7","type":"effect-fade-in","targets":["51567af3-c829-4d84-b51b-1d5fe00417e8"],"duration":3000,"delay":0}],"type":"page","id":"8f991515-4cef-4c94-b169-0160b442ce18","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"backgroundColor":{"color":{"r":255,"g":255,"b":255,"a":1}},"isBackground":true,"isDefaultBackground":true,"id":"0f06a768-d7d7-48c3-94fd-0d200978ef7c"},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"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,"id":"1b2e0340-a7f6-45f9-a8de-c6bc20f2650e","basedOn":"ce0a6c75-4a9a-41cf-847c-6cb02faeaf1a","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4376,"height":6564,"sizes":{"full":{"file":"media\/unsplash:zWkZwLUTlbw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&ixlib=rb-4.0.3&fm=jpg&w=4376&h=6564&fit=max","mimeType":"image\/jpeg","width":4376,"height":6564},"large":{"file":"media\/unsplash:zWkZwLUTlbw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&ixlib=rb-4.0.3&fm=jpg&w=3500&h=5250&fit=max","mimeType":"image\/jpeg","width":3500,"height":5250},"2625_3938":{"file":"media\/unsplash:zWkZwLUTlbw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&ixlib=rb-4.0.3&fm=jpg&w=2625&h=3938&fit=max","mimeType":"image\/jpeg","width":2625,"height":3938},"1750_2625":{"file":"media\/unsplash:zWkZwLUTlbw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&ixlib=rb-4.0.3&fm=jpg&w=1750&h=2625&fit=max","mimeType":"image\/jpeg","width":1750,"height":2625},"875_1313":{"file":"media\/unsplash:zWkZwLUTlbw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&ixlib=rb-4.0.3&fm=jpg&w=875&h=1313&fit=max","mimeType":"image\/jpeg","width":875,"height":1313},"web_stories_thumbnail":{"file":"media\/unsplash:zWkZwLUTlbw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&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:zWkZwLUTlbw","baseColor":"#262626","blurHash":"LcI4@dV[xu-p_NtRtRtR-;-pR*Nd","creationDate":"2020-08-24T10:43:01Z","src":"https:\/\/images.unsplash.com\/photo-1598257006408-538c27529235?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyMnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODk5NDMwNzF8MA&ixlib=rb-4.0.3&fm=jpg&w=4376&h=6564&fit=max","alt":"woman in black blazer using macbook","attribution":{"author":{"displayName":"Magnet.me","url":"https:\/\/unsplash.com\/@magnetme?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AW1j3\/dSXBvI31MfcaPNlE\/ZdO\/B2ucIvN6sHIAPQwnKuQp9V7CpATlqlV8oduLmYPAr9k5XzDQrRj9cGri8AEqL6JX3gronhjW8V0hSQKqBadC\/hMUSD%2B0xzHRwBJs8QhxNBnlmrO9cDVkU%2BTD%2Bma9C2kHfGqTTd3tFqdC2VFPUFkIajiNoRxwcHyFRuQOjA\/bnMGAB5vWpomTJ1RjkVZoQlLcSoARRZZn2g2xwbdGLmxh5MRrBSzn3XRP3IAivZgePdF2lLmzNnw%3D%3D"}},"x":-5,"y":-57,"width":457,"height":553,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"overlay":{"type":"radial","size":{"w":0.67,"h":0.67},"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.8},"basedOn":"ea10696f-a3ef-4bc0-837c-7620a85a3e8e","id":"b079f187-1742-434c-9e47-39200b87e798","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":216,"g":33,"b":33,"a":0.3}},"x":39,"y":381,"width":407,"height":182,"mask":{"type":"rectangle"},"basedOn":"fb10fa9e-7718-4587-b318-b0475a238feb","border":{"locked":true,"color":{"color":{"r":210,"g":36,"b":36,"a":1}},"left":0,"right":0,"top":0,"bottom":0},"id":"9b53126b-cad8-4104-b749-9dcb6f6aa065","type":"shape"},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"x":0,"y":-42,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"14b971ae-c50d-4e9b-bb21-7726c0eab91e","id":"65d3d014-dd94-4a5c-87df-a701e821016b","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":48,"y":435,"width":347,"height":112,"content":"<span style=\"color: #fff\">Understand time complexity. With proper optimizations, the backtracking approach can yield solutions in a reasonable time, but it remains exponential in the worst case.<\/span>","basedOn":"0dd2df48-22df-449f-9abb-696c5c8502e6","marginOffset":2.3459999999999965,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"id":"70f8d7ca-cdf1-4889-9001-e5c9749ce34d","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"horizontal":0,"vertical":0},"x":48,"y":397,"width":347,"height":38,"basedOn":"d68353dc-dc0f-4bad-b171-ef95a4f52165","content":"<span style=\"color: #fff\">Time Complexity<\/span>","marginOffset":-13.64501953125,"id":"d3734691-e338-4687-a283-95e35713b5cb","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Bungee"},"fontSize":39,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ba2d2d\">STEP- 7<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-3,"y":343,"width":198,"height":47,"basedOn":"425e7ab0-6ac9-4f6f-bc59-1e2f9a138705","id":"054f0e1a-26a2-4069-a4b8-87e472a8ac67","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":40,"basedOn":"fd8b35a9-7e03-4ce6-a96a-f860c48aa14a","id":"bf51a44a-3237-4c10-a010-3a37f51908f2","type":"text"}],"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"animations":[{"id":"fbfe136b-fd86-42d1-944f-fb102f8cb283","type":"effect-fly-in","targets":["70f8d7ca-cdf1-4889-9001-e5c9749ce34d"],"flyInDir":"leftToRight","duration":800,"delay":600},{"id":"90e3721c-9f30-4201-a8f4-8f6ccf7a11f1","type":"effect-fly-in","targets":["d3734691-e338-4687-a283-95e35713b5cb"],"flyInDir":"leftToRight","duration":800,"delay":390},{"id":"3eee3932-8999-495f-9997-797a7af1f751","type":"effect-fade-in","targets":["9b53126b-cad8-4104-b749-9dcb6f6aa065"],"duration":3000,"delay":0}],"type":"page","id":"ac2a7716-6abe-47ec-89eb-cf2dcfc926e1","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"backgroundColor":{"color":{"r":255,"g":255,"b":255,"a":1}},"isBackground":true,"isDefaultBackground":true,"id":"0f06a768-d7d7-48c3-94fd-0d200978ef7c"},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"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,"id":"6b837d9b-35a7-4968-94ac-e193ff5b6616","basedOn":"1b2e0340-a7f6-45f9-a8de-c6bc20f2650e","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":5466,"height":3644,"sizes":{"full":{"file":"media\/unsplash:97HfVpyNR1M","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&ixlib=rb-4.0.3&fm=jpg&w=5466&h=3644&fit=max","mimeType":"image\/jpeg","width":5466,"height":3644},"large":{"file":"media\/unsplash:97HfVpyNR1M","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&ixlib=rb-4.0.3&fm=jpg&w=4372&h=2915&fit=max","mimeType":"image\/jpeg","width":4372,"height":2915},"3279_2186":{"file":"media\/unsplash:97HfVpyNR1M","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&ixlib=rb-4.0.3&fm=jpg&w=3279&h=2186&fit=max","mimeType":"image\/jpeg","width":3279,"height":2186},"2186_1457":{"file":"media\/unsplash:97HfVpyNR1M","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&ixlib=rb-4.0.3&fm=jpg&w=2186&h=1457&fit=max","mimeType":"image\/jpeg","width":2186,"height":1457},"1093_729":{"file":"media\/unsplash:97HfVpyNR1M","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&ixlib=rb-4.0.3&fm=jpg&w=1093&h=729&fit=max","mimeType":"image\/jpeg","width":1093,"height":729},"web_stories_thumbnail":{"file":"media\/unsplash:97HfVpyNR1M","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&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:97HfVpyNR1M","baseColor":"#f3f3f3","blurHash":"LSJa}^_4%gt6~q%2ozRPMxRjxaoz","creationDate":"2019-04-16T13:35:12Z","src":"https:\/\/images.unsplash.com\/photo-1555421689-3f034debb7a6?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0Nnx8cGVyc29uJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NzM0MzF8MA&ixlib=rb-4.0.3&fm=jpg&w=5466&h=3644&fit=max","alt":"men's blue collared top near silver MacBook","attribution":{"author":{"displayName":"Austin Distel","url":"https:\/\/unsplash.com\/@austindistel?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AW1j3\/cyvhX0uXsSlcEHhEfb693xsZRNnjz8OrIsf9QmcBEbAoOcoSGjz5VYjzGZ7FKuj02B%2BLoNc36ylX\/cmW\/NeW4ygARoOdi05c2Y1NUoNBZSZ5tmvQz29twbNOs\/xIzAfdvcc7rlVOWt%2B1I30f6hOthWWMDe9rDrgkYEas59oi6uL9sbIcAwn3XMp8xudu4y4wXkIUZPPWTpiFGSSkd7DiOuGKOMHtZ2bL6q97gxDU94l%2BtV%2B6qRSo2sHcHpKhxRkyRNy5RGeA%3D%3D"}},"type":"image","x":0,"y":-58,"width":614,"height":554,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"ed7bdbda-769c-451e-88f7-b8fd8398225d","overlay":{"type":"radial","size":{"w":0.67,"h":0.67},"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.9}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":216,"g":33,"b":33,"a":0.3}},"x":39,"y":381,"width":407,"height":182,"mask":{"type":"rectangle"},"basedOn":"03d7ce11-c725-4e04-a5df-8f3501c9fe5c","border":{"locked":true,"color":{"color":{"r":210,"g":36,"b":36,"a":1}},"left":0,"right":0,"top":0,"bottom":0},"id":"fb10fa9e-7718-4587-b318-b0475a238feb","type":"shape"},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"x":0,"y":-42,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"65d3d014-dd94-4a5c-87df-a701e821016b","id":"b60b71b4-98fc-42c2-adb4-8fd4d5b2d243","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":48,"y":462,"width":347,"height":89,"content":"<span style=\"color: #fff\">The 8-Queen problem assesses problem-solving skills, algorithmic thinking, &amp; coding abilities, making it a common technical interview question.<\/span>","basedOn":"70f8d7ca-cdf1-4889-9001-e5c9749ce34d","marginOffset":2.3459999999999965,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"id":"e66c0a30-52d0-46fc-b22f-d3a155eafdce","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"horizontal":0,"vertical":0},"x":48,"y":397,"width":347,"height":65,"basedOn":"d3734691-e338-4687-a283-95e35713b5cb","content":"<span style=\"color: #fff\">Realize its significance in interviews<\/span>","marginOffset":-13.64501953125,"id":"6a7c070e-1cfa-4a6e-9e37-04df12d7b580","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Bungee"},"fontSize":39,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ba2d2d\">STEP- 8<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-3,"y":343,"width":198,"height":47,"basedOn":"425e7ab0-6ac9-4f6f-bc59-1e2f9a138705","id":"394f004d-21c5-4f82-831d-6252853211da","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":40,"basedOn":"f4241ec5-17a0-4d47-a494-967795ac53f2","id":"fd8b35a9-7e03-4ce6-a96a-f860c48aa14a","type":"text"}],"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"animations":[{"id":"ded517d7-468b-481e-9c2f-83c641330bfd","type":"effect-fly-in","targets":["e66c0a30-52d0-46fc-b22f-d3a155eafdce"],"flyInDir":"leftToRight","duration":800,"delay":600},{"id":"8666a5e1-184a-4656-9a88-a4f1036e0689","type":"effect-fly-in","targets":["6a7c070e-1cfa-4a6e-9e37-04df12d7b580"],"flyInDir":"leftToRight","duration":800,"delay":390},{"id":"a7c9d5cd-10ad-4c7d-a983-6f70bf0193ff","type":"effect-fade-in","targets":["fb10fa9e-7718-4587-b318-b0475a238feb"],"duration":3000,"delay":0}],"type":"page","id":"c98e636f-65b9-4a2c-b88e-60d2cc78c3fc","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"backgroundColor":{"color":{"r":255,"g":255,"b":255,"a":1}},"isBackground":true,"isDefaultBackground":true,"id":"0f06a768-d7d7-48c3-94fd-0d200978ef7c"},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"https:\/\/d3n0h9tb65y8q.cloudfront.net\/public_assets\/assets\/000\/001\/467\/original\/22-Deloitte.jpg?1634834351","needsProxy":true,"ctaText":"Click here"}},{"elements":[{"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,"id":"a803f31d-abd6-4e91-bc6b-7d7152452de2","basedOn":"6b837d9b-35a7-4968-94ac-e193ff5b6616","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":5472,"height":3648,"sizes":{"full":{"file":"media\/unsplash:-2vD8lIhdnw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&ixlib=rb-4.0.3&fm=jpg&w=5472&h=3648&fit=max","mimeType":"image\/jpeg","width":5472,"height":3648},"large":{"file":"media\/unsplash:-2vD8lIhdnw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&ixlib=rb-4.0.3&fm=jpg&w=4377&h=2918&fit=max","mimeType":"image\/jpeg","width":4377,"height":2918},"3283_2189":{"file":"media\/unsplash:-2vD8lIhdnw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&ixlib=rb-4.0.3&fm=jpg&w=3283&h=2189&fit=max","mimeType":"image\/jpeg","width":3283,"height":2189},"2188_1459":{"file":"media\/unsplash:-2vD8lIhdnw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&ixlib=rb-4.0.3&fm=jpg&w=2188&h=1459&fit=max","mimeType":"image\/jpeg","width":2188,"height":1459},"1094_729":{"file":"media\/unsplash:-2vD8lIhdnw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&ixlib=rb-4.0.3&fm=jpg&w=1094&h=729&fit=max","mimeType":"image\/jpeg","width":1094,"height":729},"web_stories_thumbnail":{"file":"media\/unsplash:-2vD8lIhdnw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&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:-2vD8lIhdnw","baseColor":"#f3f3f3","blurHash":"LpNv-~DN.8xu?bofogx]ozWBV@oz","creationDate":"2018-01-21T11:41:24Z","src":"https:\/\/images.unsplash.com\/photo-1516534775068-ba3e7458af70?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMjR8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjk0NTk3MDIyfDA&ixlib=rb-4.0.3&fm=jpg&w=5472&h=3648&fit=max","alt":"woman biting pencil while sitting on chair in front of computer during daytime","attribution":{"author":{"displayName":"JESHOOTS.COM","url":"https:\/\/unsplash.com\/@jeshoots?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AdM%2BFxcEvsOvYUu6f7Es5ALF\/9iBPMFb\/90VLs65ZUpilaJpKvfPfkuXeQZD62MEM6%2B8mtzhKNM1sLMlTMaepFcgo6fCxGbDgz2Slw0Q%2BPcNJ9kvyGNr0k1T1ZmSXhcsvGL5hBSfTmwDcgCyv9q1lVIrrk2PwWUB7asBnPics3Ztka44Fjkg4zrBud14GBRYGhEY\/cJEQWX55wvPm3IyU00m%2BCdmoEs7PH8jYjaY0g3BCVlOZfphEzqDXywicoxt%2Boa9Rx1tNA%3D%3D"}},"type":"image","x":0,"y":-57,"width":757,"height":551,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"96c7fb02-3bcc-4552-be0b-1839890f9a35","overlay":{"type":"radial","size":{"w":0.67,"h":0.67},"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.8}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":216,"g":33,"b":33,"a":0.3}},"x":39,"y":381,"width":407,"height":182,"mask":{"type":"rectangle"},"basedOn":"fb10fa9e-7718-4587-b318-b0475a238feb","border":{"locked":true,"color":{"color":{"r":210,"g":36,"b":36,"a":1}},"left":0,"right":0,"top":0,"bottom":0},"id":"2a6dec20-ca62-459e-a121-2b7c90c3aa5a","type":"shape"},{"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"x":0,"y":-42,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"b60b71b4-98fc-42c2-adb4-8fd4d5b2d243","id":"9300a605-8813-429c-866a-1d7f1b5e42c7","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":48,"y":435,"width":347,"height":89,"content":"<span style=\"color: #fff\">Learn about variations. The N-Queen problem involves placing N queens on an NxN board, offering more complexity and challenges.<\/span>","basedOn":"e66c0a30-52d0-46fc-b22f-d3a155eafdce","marginOffset":2.3459999999999965,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"id":"a8fc7717-a1ae-4fb4-bae0-eebffb28e7d9","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"horizontal":0,"vertical":0},"x":48,"y":397,"width":347,"height":38,"basedOn":"6a7c070e-1cfa-4a6e-9e37-04df12d7b580","content":"<span style=\"color: #fff\">Problem Variants<\/span>","marginOffset":-13.64501953125,"id":"87bed39f-e33f-446f-b4a2-78c228fd1857","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Bungee"},"fontSize":39,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ba2d2d\">STEP- 9<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-3,"y":343,"width":198,"height":47,"basedOn":"425e7ab0-6ac9-4f6f-bc59-1e2f9a138705","id":"911794e7-b1d5-4265-8d03-b69b8f2eb431","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":18,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore different approaches to solve&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">the N queens problem!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":40,"basedOn":"fd8b35a9-7e03-4ce6-a96a-f860c48aa14a","id":"dfe2fa06-8662-4930-a773-4a29fed596d3","type":"text"}],"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"animations":[{"id":"3b912f66-d238-4a51-a6f1-523d38fc3dfd","type":"effect-fly-in","targets":["a8fc7717-a1ae-4fb4-bae0-eebffb28e7d9"],"flyInDir":"leftToRight","duration":800,"delay":600},{"id":"cec3051f-0341-444b-83cf-44b2d66f273d","type":"effect-fly-in","targets":["87bed39f-e33f-446f-b4a2-78c228fd1857"],"flyInDir":"leftToRight","duration":800,"delay":390},{"id":"f47b70c1-c003-424d-8a0f-047712a62c2d","type":"effect-fade-in","targets":["2a6dec20-ca62-459e-a121-2b7c90c3aa5a"],"duration":3000,"delay":0}],"type":"page","id":"9af473da-bbcc-40db-9309-77ed4a814960","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"backgroundColor":{"color":{"r":255,"g":255,"b":255,"a":1}},"isBackground":true,"isDefaultBackground":true,"id":"0f06a768-d7d7-48c3-94fd-0d200978ef7c"},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"type":"image","x":48,"y":0,"width":330,"height":412,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"id":"761119d8-741a-4a78-b4c9-c5c9ee029f4d","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"c60dd254-8f78-4fed-890d-fac5138d7b96","scale":100,"focalX":35.22418488298789,"focalY":50.000000000000014,"resource":{"baseColor":"#262640","blurHash":"LgGSJ%D%D%WB~qWBD%jYx[MxM|xu","type":"image","mimeType":"image\/jpeg","creationDate":"2021-04-15T09:02:59Z","src":"https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&ixlib=rb-1.2.1&fm=jpg&w=4000&h=5000&fit=max","width":4000,"height":5000,"id":"media\/unsplash:6di-4M9QRpg","alt":"person in black long sleeve shirt using macbook pro","sizes":{"full":{"file":"media\/unsplash:6di-4M9QRpg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&ixlib=rb-1.2.1&fm=jpg&w=4000&h=5000&fit=max","mimeType":"image\/jpeg","width":4000,"height":5000},"large":{"file":"media\/unsplash:6di-4M9QRpg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&ixlib=rb-1.2.1&fm=jpg&w=3200&h=4000&fit=max","mimeType":"image\/jpeg","width":3200,"height":4000},"2400_3000":{"file":"media\/unsplash:6di-4M9QRpg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&ixlib=rb-1.2.1&fm=jpg&w=2400&h=3000&fit=max","mimeType":"image\/jpeg","width":2400,"height":3000},"1600_2000":{"file":"media\/unsplash:6di-4M9QRpg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&ixlib=rb-1.2.1&fm=jpg&w=1600&h=2000&fit=max","mimeType":"image\/jpeg","width":1600,"height":2000},"800_1000":{"file":"media\/unsplash:6di-4M9QRpg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&ixlib=rb-1.2.1&fm=jpg&w=800&h=1000&fit=max","mimeType":"image\/jpeg","width":800,"height":1000},"web_stories_thumbnail":{"file":"media\/unsplash:6di-4M9QRpg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1618477371303-b2a56f422d9e?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMnx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2Mjk3NTM1MQ&ixlib=rb-1.2.1&fm=jpg&w=340&h=425&fit=max","mimeType":"image\/jpeg","width":340,"height":425}},"attribution":{"author":{"displayName":"Nubelson Fernandes","url":"https:\/\/unsplash.com\/@nublson?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=ARX97wPL2T4QbmuFjseFhdXrO0lGmEMeWORLNt279H9D6UASmKnp8z8Ah2XgO\/OTIhOCu7q8dBrGveSzH1v88PRAB\/TGpF7u\/rtqbS258JFcxuPyQvSYtROkXpa%2B\/9V%2BM2qDAyPraEw\/L6HoZggwgYhVIMNDueCMpUFMOs5GdPxz1loJ8xGRIINJHYNvcqcUIvCBBm\/jNBwpeIkeS8s78xFJ%2BOOOakrEXeRhTD5PUllG9TWUgr7EK6HSMNeF385q4tmMvjJg"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"type":"image","x":0,"y":-43,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"76cf791c-4e11-4c2d-a2f2-08820fd66ad1","id":"e95b860a-8ff3-43f8-af70-34026e151e66"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21,"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=\"color: #fff\">Start your journey now and learn how to solve 8 Queen problem with code implementation.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":11,"y":365,"width":387,"height":75,"id":"eba229e3-1792-4609-8c73-ca078e760490","marginOffset":0.84375},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":45,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #c73534\">Ready to&nbsp;<\/span>\n<span style=\"color: #c73534\">Level Up your Coding Skills?&nbsp;<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":13,"y":209,"width":381,"height":158,"id":"3257c71b-698d-4e86-a5d2-95cd595cd066"}],"animations":[{"id":"4b8be623-18f0-4b6d-9713-f03a5242f087","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["761119d8-741a-4a78-b4c9-c5c9ee029f4d"]}],"type":"page","id":"37fe3111-67e4-443f-928f-706f59affd5a","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"43e51d61-7bd6-4c89-82e6-37f800104760","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"c60dd254-8f78-4fed-890d-fac5138d7b96"},"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/8-queens-problem\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/8-Queens-Problem.png","needsProxy":false,"ctaText":"Click here"},"groups":{"2bf3cb57-206d-4d65-a87e-6095193b832c":{"name":"Group 1","isLocked":false}}},{"elements":[{"type":"image","x":48,"y":0,"width":330,"height":494,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"id":"43e51d61-7bd6-4c89-82e6-37f800104760","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"c60dd254-8f78-4fed-890d-fac5138d7b96","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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&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=Aa0pnNYbBzh33a64Rn\/GtHM83XD4RghDlBuB7EUvKEVPvUqGZNoeUMMZ0lg812HI\/NPHHpsLdmYmrCKHfTsl7aYi51QF6C5CrhIpz1OEucggYip57nWrbJNdmHn%2BrSq1LZxd9%2Bs9eBplogX4XvOwbL\/EQBHvwpLN9ljSrtW8eDGAfLRXrBgt4NdNK42VEi7T366AD1c8tAhzlTTS4mQ8HILX2DSrJIqbt75J%2BBxwGpcU3FAznWC3xYHbnVDgNmPuHyka"}},"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,"posterId":0,"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,"baseColor":"#6e7472","isExternal":false},"x":0,"y":-43,"width":177,"height":59,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"e95b860a-8ff3-43f8-af70-34026e151e66","id":"49a8e01d-504f-4eff-a4d1-84ad55fe030e","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":40,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"initial","padding":{"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":10,"y":188,"width":385,"height":144,"basedOn":"c9bfbe15-e68e-4068-b223-73a628752fd4","content":"<span style=\"font-weight: 700; color: #fff\">Improve your Interviewing Skills with Scaler!<\/span>","tagName":"p","marginOffset":-13.199999999999989,"id":"d60dc45e-4473-4df0-aa90-aaa963672472","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":7,"y":41,"width":81,"height":283,"basedOn":"dd7deed7-5530-4f57-8656-8b37ceb55a0d","content":"<span style=\"font-weight: 700; color: #c73534\">\u201c<\/span>","id":"311792a3-d722-4f38-95e1-9f70dbca8474","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21,"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\">Sign up for Scaler's free masterclasses and events to learn about the latest trends in the IT industry and become a pro.&nbsp;<\/span>\n\n<span style=\"font-weight: 700; color: #c73534\">Don't hesitate any longer, register today!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":10,"y":340,"width":385,"height":151,"basedOn":"997d7063-39fc-477d-8217-b7205b6dad11","id":"1a4abe1b-f972-4944-9775-f9492b6ecc93","type":"text"}],"backgroundColor":{"color":{"r":33,"g":31,"b":30,"a":1}},"animations":[{"id":"d8dfc786-0719-4813-ac36-38cde8a911a1","type":"effect-fly-in","flyInDir":"bottomToTop","duration":1000,"delay":0,"targets":["d60dc45e-4473-4df0-aa90-aaa963672472"]},{"id":"32a16b01-ea95-4d41-b548-3b87108f1190","type":"effect-fly-in","flyInDir":"bottomToTop","duration":600,"delay":0,"targets":["1a4abe1b-f972-4944-9775-f9492b6ecc93"]}],"type":"page","id":"284dcce3-c27a-4ff1-b998-aa7b7cee5620","defaultBackgroundElement":{"type":"shape","x":1,"y":1,"width":1,"height":1,"rotationAngle":0,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"714bfbd4-79db-405a-adcb-e4312196101d","opacity":100,"flip":{"vertical":false,"horizontal":false},"lockAspectRatio":true,"basedOn":"c60dd254-8f78-4fed-890d-fac5138d7b96"},"pageTemplateType":"editorial","pageAttachment":{"url":"https:\/\/www.scaler.com\/events\/?utm_source=ib&utm_medium=webstories&utm_campaign=9-steps-to-approach-the-8-queen-problem_scaler-events","icon":"https:\/\/assets-v2.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz","needsProxy":false,"ctaText":"SWIPE UP"},"groups":{"2bf3cb57-206d-4d65-a87e-6095193b832c":{"name":"Group 1","isLocked":false}}}],"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}},"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}},"Bungee":{"family":"Bungee","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}},"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":[{"color":{"r":255,"g":255,"b":255}}]}},"style_presets":{"colors":[{"color":{"r":157,"g":100,"b":32}},{"color":{"r":0,"g":0,"b":0}}],"textStyles":[]},"story_poster":{"id":24286,"url":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-How-to-Approach-the-8-Queen-Problem.jpg","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/24203"}],"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":10,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/24203\/revisions"}],"predecessor-version":[{"id":26201,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/24203\/revisions\/26201"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/24286"}],"wp:attachment":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media?parent=24203"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=24203"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=24203"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/24203\/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}]}}