{"id":18476,"date":"2023-04-28T14:39:08","date_gmt":"2023-04-28T09:09:08","guid":{"rendered":"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&#038;p=18476"},"modified":"2023-04-28T14:39:10","modified_gmt":"2023-04-28T09:09:10","slug":"time-and-space-complexity-in-data-structures","status":"publish","type":"web-story","link":"https:\/\/www.interviewbit.com\/blog\/web-stories\/time-and-space-complexity-in-data-structures\/","title":{"rendered":"Time and Space Complexity in Data Structures"},"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%3Awght%40400%3B700&amp;family=Darker+Grotesque%3Awght%40400%3B700&amp;family=Poppins%3Awght%40700\" rel=\"stylesheet\"\/><link href=\"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3607&amp;h=5411&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>Time and Space Complexity in Data Structures<\/title><link rel=\"canonical\" href=\"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&amp;p=18476\"\/><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=\"Time and Space Complexity in Data Structures\" poster-portrait-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/04\/cropped-Time-and-Space-complexity-in-Data-Structure-Simplified-Guide.jpg\"><amp-story-page id=\"e8de3bd0-50f1-44e6-a934-453d1980d163\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-e557dc00-f077-4392-8d36-bcbab3f4ea14\",\"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-8975a0a8-c03b-4a4d-af11-3a18fce5aa3b\",\"keyframes\":{\"transform\":[\"translate3d(0px, -331.55782%, 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:#c08c73\">\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-437996d3-4274-49fa-b804-de7600f22d76\">\n<div style=\"position:absolute;width:118.50757%;height:100%;left:-9.25378%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3607&amp;h=5411&amp;fit=max\" alt=\"man in brown dress shirt holding black smartphone\" srcSet=\"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3607&amp;h=5411&amp;fit=max 3607w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2885&amp;h=4328&amp;fit=max 2885w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2164&amp;h=3246&amp;fit=max 2164w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1442&amp;h=2163&amp;fit=max 1442w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=721&amp;h=1082&amp;fit=max 721w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&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.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-cb48c127-3fe1-4225-9f7c-cff7090fd555\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:1.69903%;top:63.43042%;width:91.50485%;height:31.39159%;opacity:1\">\n<div id=\"anim-e557dc00-f077-4392-8d36-bcbab3f4ea14\" 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-8975a0a8-c03b-4a4d-af11-3a18fce5aa3b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -331.55782%, 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.5305039787798408% 0.5305039787798408% 0.5305039787798408% 0.5305039787798408% \/ 1.0309278350515463% 1.0309278350515463% 1.0309278350515463% 1.0309278350515463%\" id=\"el-700653a1-7c6f-4229-9a9d-40d583cd443c\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.091320250331565% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.809061em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Time and Space Complexity in <\/span><span style=\"color: #9d4edd\">Data Structures<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:1.69903%;top:94.82201%;width:91.50485%;height:5.17799%;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.5305039787798408% 0.5305039787798408% 0.5305039787798408% 0.5305039787798408% \/ 6.25% 6.25% 6.25% 6.25%\" id=\"el-97d6f277-f75f-4f4b-a44d-7ac6bc7fb70c\">\n<h2 id=\"a-quick-overview\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.10444297082228136% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.453074em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">A Quick Overview<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"8c6bf4ec-2231-4205-afc1-feff529ae9f3\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-f7e589b1-f741-4e60-868d-b5295afb7eb8 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.8337101513764065%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-4b2c49e3-6086-4662-a2cc-6280945a55cd\",\"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-e6a39b2c-b4a2-4f60-9b3e-32b6250dcdf5\",\"keyframes\":{\"transform\":[\"translate3d(0px, -435.42807%, 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:#c0c0c0\">\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-f7e589b1-f741-4e60-868d-b5295afb7eb8\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-1189e1b6-be4f-4d45-b46f-5e1b0a59a486\">\n<div style=\"position:absolute;width:118.57814%;height:100%;left:-9.28907%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5304&amp;h=7952&amp;fit=max\" alt=\"men sitting in front of their laptop computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5304&amp;h=7952&amp;fit=max 5304w,https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4243&amp;h=6361&amp;fit=max 4243w,https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3182&amp;h=4771&amp;fit=max 3182w,https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2121&amp;h=3180&amp;fit=max 2121w,https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1060&amp;h=1589&amp;fit=max 1060w,https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-17.23301%;top:50%;width:139.56311%;height:36.56958%;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-7d533f20-327f-4332-94e7-c8efcdd09664\">\n<div class=\"fill\" style=\"background-color:rgba(157,78,221,0.4);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-81811408-af93-46a4-9620-651285eea9d8\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:56.95793%;width:86.16505%;height:19.7411%;opacity:1\">\n<div id=\"anim-4b2c49e3-6086-4662-a2cc-6280945a55cd\" 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-e6a39b2c-b4a2-4f60-9b3e-32b6250dcdf5\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -435.42807%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.639344262295082% 1.639344262295082% 1.639344262295082% 1.639344262295082%\" id=\"el-6eeb18b9-dd7b-4425-9f9b-37339d6cfecc\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Time complexity is the measurement of the time taken by an algorithm to execute its code based on the input size.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.18447%;top:89.32039%;width:95.38835%;height:8.25243%;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.5089058524173028% 0.5089058524173028% 0.5089058524173028% 0.5089058524173028% \/ 3.9215686274509802% 3.9215686274509802% 3.9215686274509802% 3.9215686274509802%\" id=\"el-c3b3ed30-be54-4309-8240-90ad43a8caab\">\n<h3 id=\"ready-to-explore-time-complexity-further\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07729007633587807% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.349515em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Ready to explore time complexity further?<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:42.88026%;width:86.16505%;height:6.14887%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 5.263157894736842% 5.263157894736842% 5.263157894736842% 5.263157894736842%\" id=\"el-3e293cc4-8d65-4831-8e06-b850dc266a35\">\n<h2 id=\"what-is-time-complexity\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">What is Time Complexity?<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"40e238c0-cd08-4923-bd94-e7fbdf785fcb\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-eff024c5-d503-41ce-abb0-a3b8e4c81dad [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.868525640762189%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-b88b854e-0c2a-44d2-b003-36e6fdea1c03\",\"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-2263c034-304c-4e44-a482-1da2e541d59d\",\"keyframes\":{\"transform\":[\"translate3d(0px, -319.22598%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-eff024c5-d503-41ce-abb0-a3b8e4c81dad\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-1189e1b6-be4f-4d45-b46f-5e1b0a59a486\">\n<div style=\"position:absolute;width:118.67612%;height:100%;left:-9.33806%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max\" alt=\"shallow focus photo of woman using MacBook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max 4016w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3212&amp;h=4812&amp;fit=max 3212w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2409&amp;h=3609&amp;fit=max 2409w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1606&amp;h=2406&amp;fit=max 1606w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=803&amp;h=1203&amp;fit=max 803w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=509&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-17.23301%;top:50%;width:139.56311%;height:36.56958%;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-547df498-d91f-497a-8c89-246d399c76dd\">\n<div class=\"fill\" style=\"background-color:rgba(157,78,221,0.4);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-46d88c1c-7a43-4355-acc1-3a75a4e5a0cc\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:53.8835%;width:86.16505%;height:28.80259%;opacity:1\">\n<div id=\"anim-b88b854e-0c2a-44d2-b003-36e6fdea1c03\" 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-2263c034-304c-4e44-a482-1da2e541d59d\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -319.22598%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.1235955056179776% 1.1235955056179776% 1.1235955056179776% 1.1235955056179776%\" id=\"el-1096ac98-bd2a-4a6e-af42-2218363c25f5\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">The amount of memory space required by an algorithm during its execution, including the fixed part needed to store data &amp; variables that are not dependent on the problem size.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:42.88026%;width:86.16505%;height:6.14887%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 5.263157894736842% 5.263157894736842% 5.263157894736842% 5.263157894736842%\" id=\"el-139f04fe-1ba5-4396-babb-481f2ba92e15\">\n<h2 id=\"what-is-space-complexity\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">What is Space Complexity?<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.18447%;top:89.32039%;width:95.38835%;height:8.25243%;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.5089058524173028% 0.5089058524173028% 0.5089058524173028% 0.5089058524173028% \/ 3.9215686274509802% 3.9215686274509802% 3.9215686274509802% 3.9215686274509802%\" id=\"el-3025dc24-e915-4c42-9ff5-6cd31632fd0b\">\n<h3 id=\"ready-to-explore-space-complexity-further\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07729007633587807% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.349515em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Ready to explore space complexity further?<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"e527486a-774a-4c1c-b1b0-bc90e6a54bf1\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-3bd84b0a-c488-43fb-bc09-1011afaa2d65 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-e84bda3a-4a16-4a73-aa19-7bae7a96353d\",\"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-661c53df-0ee1-4609-9555-f7c074aab61d\",\"keyframes\":{\"transform\":[\"translate3d(0px, -319.22598%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-3bd84b0a-c488-43fb-bc09-1011afaa2d65\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-6417e2e4-880c-4959-9e6c-834fe69f9dd6\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"woman leaning at the table\" srcSet=\"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-17.23301%;top:50%;width:139.56311%;height:36.56958%;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-b25cc072-b2cb-4229-96d6-9e35d7f71b5d\">\n<div class=\"fill\" style=\"background-color:rgba(157,78,221,0.4);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-78fac6be-aadb-4543-8fc0-853d074437f3\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:53.8835%;width:86.16505%;height:28.80259%;opacity:1\">\n<div id=\"anim-e84bda3a-4a16-4a73-aa19-7bae7a96353d\" 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-661c53df-0ee1-4609-9555-f7c074aab61d\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -319.22598%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.1235955056179776% 1.1235955056179776% 1.1235955056179776% 1.1235955056179776%\" id=\"el-c087532b-bb75-4c4d-8ae8-9ac7d22f33e3\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">1. Big O(expression)- <\/span><span style=\"color: #fff\">It is used to analyze the worst-case time complexity of an algorithm by evaluating the growth rate of a set of functions with respect to the expression.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:42.88026%;width:86.16505%;height:6.14887%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 5.263157894736842% 5.263157894736842% 5.263157894736842% 5.263157894736842%\" id=\"el-fa01c7cc-5c3e-4aa6-b187-54809bc6079c\">\n<h2 id=\"asymptotic-notations\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Asymptotic Notations<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.18447%;top:89.32039%;width:95.38835%;height:8.25243%;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.5089058524173028% 0.5089058524173028% 0.5089058524173028% 0.5089058524173028% \/ 3.9215686274509802% 3.9215686274509802% 3.9215686274509802% 3.9215686274509802%\" id=\"el-6c7c4a8a-4833-4d83-8775-f1b4dfd7f8c8\">\n<h3 id=\"ready-to-become-an-expert-in-time-complexity-analysis\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07729007633587807% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.349515em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Ready to become an expert in time complexity analysis?<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"c699d037-0d65-42ff-be87-cc83edf95486\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-a953622e-a3e5-45f0-984e-fa2495401b87 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.8165535059235225%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-9f52e563-c89f-4b8e-a036-f12cfa88e1b6\",\"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-1e944266-5fbb-4ccb-b49b-00846b087cec\",\"keyframes\":{\"transform\":[\"translate3d(0px, -365.92099%, 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:#d9d9d9\">\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-a953622e-a3e5-45f0-984e-fa2495401b87\" 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-f4d0cbbe-9e96-4740-a248-94afbb714d04\">\n<div style=\"position:absolute;width:118.52991%;height:100%;left:-9.26495%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3469&amp;h=5203&amp;fit=max\" alt=\"man in black crew neck t-shirt using macbook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3469&amp;h=5203&amp;fit=max 3469w,https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2775&amp;h=4162&amp;fit=max 2775w,https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2081&amp;h=3121&amp;fit=max 2081w,https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1387&amp;h=2080&amp;fit=max 1387w,https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=693&amp;h=1039&amp;fit=max 693w,https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-17.23301%;top:50%;width:139.56311%;height:36.56958%;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-7c9c6d3f-85c7-43b9-bf34-4dd3b400cd56\">\n<div class=\"fill\" style=\"background-color:rgba(157,78,221,0.4);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-3e628981-0470-432e-b450-b46b4dd70164\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.5534%;top:54.85437%;width:86.16505%;height:24.11003%;opacity:1\">\n<div id=\"anim-9f52e563-c89f-4b8e-a036-f12cfa88e1b6\" 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-1e944266-5fbb-4ccb-b49b-00846b087cec\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -365.92099%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.342281879194631% 1.342281879194631% 1.342281879194631% 1.342281879194631%\" id=\"el-368c6d32-4d89-4de1-ba11-4c712f53d569\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">2. Omega(expression)-<\/span><span style=\"color: #fff\"> It defines the best-case time complexity of an algorithm by examining the growth rate of a set of functions with respect to the expression.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.18447%;top:89.32039%;width:95.38835%;height:8.25243%;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.5089058524173028% 0.5089058524173028% 0.5089058524173028% 0.5089058524173028% \/ 3.9215686274509802% 3.9215686274509802% 3.9215686274509802% 3.9215686274509802%\" id=\"el-44698296-b26e-4305-95eb-8dfbba77b63e\">\n<h3 id=\"want-to-enhance-your-algorithms-performance\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07729007633587807% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.349515em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to enhance your algorithm&#8217;s performance?<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"a93b2506-3261-4cbb-b29b-0030bd1046d3\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-4bbd1636-bead-47bd-86b4-966865d60077 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.868525640762189%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-7c98e6d6-9637-4dd4-89e7-e51d181584cc\",\"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-09ffaf26-da11-42b9-8924-ea22916c3468\",\"keyframes\":{\"transform\":[\"translate3d(0px, -282.63216%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-4bbd1636-bead-47bd-86b4-966865d60077\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-b19a915c-b36c-4ffc-aa9b-88d820dd2aef\">\n<div style=\"position:absolute;width:118.67612%;height:100%;left:-9.33806%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max\" alt=\"woman in black blazer using MacBook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max 4016w,https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3212&amp;h=4812&amp;fit=max 3212w,https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2409&amp;h=3609&amp;fit=max 2409w,https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1606&amp;h=2406&amp;fit=max 1606w,https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=803&amp;h=1203&amp;fit=max 803w,https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=509&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-17.23301%;top:50%;width:139.56311%;height:36.56958%;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-c027ee6c-ee62-4b00-afc8-680eaf4aeb37\">\n<div class=\"fill\" style=\"background-color:rgba(157,78,221,0.4);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-d3952aa0-b3c9-46fa-80c2-f0d24fefa993\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.5534%;top:51.61812%;width:86.16505%;height:33.33333%;opacity:1\">\n<div id=\"anim-7c98e6d6-9637-4dd4-89e7-e51d181584cc\" 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-09ffaf26-da11-42b9-8924-ea22916c3468\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -282.63216%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 0.9708737864077669% 0.9708737864077669% 0.9708737864077669% 0.9708737864077669%\" id=\"el-12f76b57-7340-4357-99f4-7e36defdbdc3\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">3. Theta(expression)-<\/span><span style=\"color: #fff\"> It analyzes the average-case time complexity of an algorithm by analyzing if a set of functions lies between upper &amp; lower bounds defined by Big O(expression) &amp; Omega(expression).<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.18447%;top:89.32039%;width:95.38835%;height:8.25243%;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.5089058524173028% 0.5089058524173028% 0.5089058524173028% 0.5089058524173028% \/ 3.9215686274509802% 3.9215686274509802% 3.9215686274509802% 3.9215686274509802%\" id=\"el-69e2041a-d11b-4c3f-a1cf-72b7fc85d88a\">\n<h3 id=\"want-to-optimize-your-algorithms-efficiency\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07729007633587807% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.349515em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to optimize your algorithm&#8217;s efficiency?<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"a89c4ef5-4951-4faf-8e45-c882f5d38090\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-1d4509d5-5dbb-46e2-831f-660a0c2af420 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-a2cdaa20-d537-4a6c-860b-b6ac5fae6e5e\",\"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-8fd0e87d-77f3-4739-b843-d0963c676ce9\",\"keyframes\":{\"transform\":[\"translate3d(0px, -371.96125%, 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:#d9d9d9\">\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-1d4509d5-5dbb-46e2-831f-660a0c2af420\" 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-359364ab-34bf-49c4-9a25-3892d5c71a60\">\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-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2458&amp;h=3687&amp;fit=max\" alt=\"media\/unsplash:kUKLrxM2rBU\" srcSet=\"https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2458&amp;h=3687&amp;fit=max 2458w,https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1966&amp;h=2949&amp;fit=max 1966w,https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1474&amp;h=2211&amp;fit=max 1474w,https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=983&amp;h=1475&amp;fit=max 983w,https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=491&amp;h=737&amp;fit=max 491w,https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-17.23301%;top:50%;width:139.56311%;height:36.56958%;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-5952a51b-d263-4ccf-b52b-c300cb3efcfe\">\n<div class=\"fill\" style=\"background-color:rgba(157,78,221,0.4);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-765959d5-f19c-4c63-9fcc-dcf7b025b822\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.42718%;top:91.90939%;width:95.38835%;height:4.04531%;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.5089058524173028% 0.5089058524173028% 0.5089058524173028% 0.5089058524173028% \/ 8% 8% 8% 8%\" id=\"el-29810a6c-fd89-4fdc-a6b9-42b961c2c809\">\n<h3 id=\"how-to-calculate-the-time-complexity\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07729007633587807% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.349515em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">How to calculate the time complexity?<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:56.31068%;width:86.16505%;height:24.11003%;opacity:1\">\n<div id=\"anim-a2cdaa20-d537-4a6c-860b-b6ac5fae6e5e\" 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-8fd0e87d-77f3-4739-b843-d0963c676ce9\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -371.96125%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.342281879194631% 1.342281879194631% 1.342281879194631% 1.342281879194631%\" id=\"el-77aa0200-fc35-410b-9afb-787d9b23e4c6\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">1. Insertion Sort &nbsp;&nbsp;<\/span><\/p>\n<p><span style=\"color: #fff\">Best Case- \u03a9(n) &nbsp;<\/span><br \/>\n<span style=\"color: #fff\">Worst Case- O(n^2)&nbsp;<\/span><br \/>\n<span style=\"color: #fff\">Space Complexity- O(1)<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:38.1877%;width:86.16505%;height:10.67961%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 3.0303030303030303% 3.0303030303030303% 3.0303030303030303% 3.0303030303030303%\" id=\"el-e4594ddc-25c6-4c61-8e61-c34330ea40c9\">\n<h2 id=\"time-complexity-of-sorting-algorithms\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Time Complexity of Sorting Algorithms<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"14dfcb8d-cd8d-494f-838d-e22d013b1201\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-6b1ce50f-0a44-40f9-b0f1-db394d3ffa8a [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.868525640762189%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-81231c1d-4ebc-4738-80bb-c5375f5663c5\",\"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-104d5cb5-a402-4ef8-89df-63bd0193a33c\",\"keyframes\":{\"transform\":[\"translate3d(0px, -371.96125%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-6b1ce50f-0a44-40f9-b0f1-db394d3ffa8a\" 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-3f7a08e3-a167-4e1c-b3f5-8b6773708f2c\">\n<div style=\"position:absolute;width:118.67612%;height:100%;left:-9.33806%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max\" alt=\"woman sitting next to window\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max 4016w,https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3212&amp;h=4812&amp;fit=max 3212w,https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2409&amp;h=3609&amp;fit=max 2409w,https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1606&amp;h=2406&amp;fit=max 1606w,https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=803&amp;h=1203&amp;fit=max 803w,https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=509&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-17.23301%;top:50%;width:139.56311%;height:36.56958%;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-499c3f97-3199-4f59-8174-d271cc2f5d1b\">\n<div class=\"fill\" style=\"background-color:rgba(157,78,221,0.4);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-08676e5d-929c-4635-99b2-419ea8483e30\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:56.31068%;width:86.16505%;height:24.11003%;opacity:1\">\n<div id=\"anim-81231c1d-4ebc-4738-80bb-c5375f5663c5\" 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-104d5cb5-a402-4ef8-89df-63bd0193a33c\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -371.96125%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.342281879194631% 1.342281879194631% 1.342281879194631% 1.342281879194631%\" id=\"el-a653420c-a450-433d-b59a-e473c078c7bc\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">2. Merge Sort &nbsp;<\/span><\/p>\n<p><span style=\"color: #fff\">Best Case- \u03a9(nlogn)&nbsp;<\/span><br \/>\n<span style=\"color: #fff\">Worst Case- O(nlogn)&nbsp;<\/span><br \/>\n<span style=\"color: #fff\">Space Complexity- O(n)<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.42718%;top:91.90939%;width:95.38835%;height:4.04531%;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.5089058524173028% 0.5089058524173028% 0.5089058524173028% 0.5089058524173028% \/ 8% 8% 8% 8%\" id=\"el-47da08ed-8f0a-4be4-8b44-aa723b1cd913\">\n<h3 id=\"how-to-calculate-the-time-complexity-2\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07729007633587807% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.349515em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">How to calculate the time complexity?<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">SWIPE UP<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"1bb292f1-fb1e-4ce2-bd67-c0651c2d02a0\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-e2595b13-8c1b-4c7f-beb0-fe81106c0c49 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-2f6a2730-7133-4ce2-9165-bc9ba23f457d\",\"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-9d1d4593-e1fb-45f5-b51f-5904d967c168\",\"keyframes\":{\"transform\":[\"translate3d(0px, -371.96125%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#262626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-e2595b13-8c1b-4c7f-beb0-fe81106c0c49\" 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-20c4f3b4-7d09-4d9e-96f6-8099ca27a832\">\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-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3456&amp;h=5184&amp;fit=max\" alt=\"man sitting facing silver MacBook inside room\" srcSet=\"https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3456&amp;h=5184&amp;fit=max 3456w,https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2764&amp;h=4146&amp;fit=max 2764w,https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2073&amp;h=3110&amp;fit=max 2073w,https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1382&amp;h=2073&amp;fit=max 1382w,https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=691&amp;h=1037&amp;fit=max 691w,https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-7dd58569-1f43-47c2-8956-de1e7fa376bf\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-17.23301%;top:50%;width:139.56311%;height:36.56958%;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-3f66a533-275f-468f-84fe-13af8caaa36a\">\n<div class=\"fill\" style=\"background-color:rgba(157,78,221,0.4);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:56.31068%;width:86.16505%;height:24.11003%;opacity:1\">\n<div id=\"anim-2f6a2730-7133-4ce2-9165-bc9ba23f457d\" 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-9d1d4593-e1fb-45f5-b51f-5904d967c168\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -371.96125%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.342281879194631% 1.342281879194631% 1.342281879194631% 1.342281879194631%\" id=\"el-72e7139b-540c-4c61-bb94-6086fb9eee50\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">1. Linear Search<\/span><span style=\"color: #fff\"> &nbsp;<\/span><\/p>\n<p><span style=\"color: #fff\">Best Case- \u03a9(1) &nbsp;<\/span><br \/>\n<span style=\"color: #fff\">Worst Case- O(n)&nbsp;<\/span><br \/>\n<span style=\"color: #fff\">Space Complexity- O(1)<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:38.1877%;width:86.16505%;height:10.67961%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 3.0303030303030303% 3.0303030303030303% 3.0303030303030303% 3.0303030303030303%\" id=\"el-d8944116-dafc-45f5-bec5-f22fba9c741b\">\n<h2 id=\"time-complexity-of-searching-algorithms\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Time Complexity of Searching Algorithms<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.42718%;top:91.90939%;width:95.38835%;height:4.04531%;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.5089058524173028% 0.5089058524173028% 0.5089058524173028% 0.5089058524173028% \/ 8% 8% 8% 8%\" id=\"el-58dfb26e-9550-4bb4-864d-78dbc77cc7b8\">\n<h3 id=\"how-to-calculate-the-time-complexity-3\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07729007633587807% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.349515em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">How to calculate the time complexity?<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"95b5696f-e352-4261-8982-7f53b8b6616e\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-a8562d1d-82be-4dcb-84c1-8b8a620c5fbe\",\"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-46bf16f6-01ee-4af7-be8b-7662f5413592\",\"keyframes\":{\"transform\":[\"translate3d(0px, -371.96125%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-4fe27e9d-cb18-49db-9b57-379a031898be [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#d9d9d9\">\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-4fe27e9d-cb18-49db-9b57-379a031898be\" 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-55411d60-0a4b-447f-b98b-f5508ce442c5\">\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-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4480&amp;h=6720&amp;fit=max\" alt=\"man in black crew neck t-shirt sitting on white concrete bench using macbook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4480&amp;h=6720&amp;fit=max 4480w,https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3584&amp;h=5376&amp;fit=max 3584w,https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2688&amp;h=4032&amp;fit=max 2688w,https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1792&amp;h=2688&amp;fit=max 1792w,https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=896&amp;h=1344&amp;fit=max 896w,https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-6cf0f854-da66-4d45-894c-673cacee205e\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-17.23301%;top:50%;width:139.56311%;height:36.56958%;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-74efc4a7-7e80-4dca-9ed8-52999187741c\">\n<div class=\"fill\" style=\"background-color:rgba(157,78,221,0.4);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:56.31068%;width:86.16505%;height:24.11003%;opacity:1\">\n<div id=\"anim-a8562d1d-82be-4dcb-84c1-8b8a620c5fbe\" 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-46bf16f6-01ee-4af7-be8b-7662f5413592\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -371.96125%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.342281879194631% 1.342281879194631% 1.342281879194631% 1.342281879194631%\" id=\"el-0610a439-4582-4afa-8a6e-320e8b2764c9\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4039436619718315% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.453074em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">2. Binary Search &nbsp;&nbsp;<\/span><\/p>\n<p><span style=\"color: #fff\">Best Case- \u03a9(1) &nbsp;<\/span><br \/>\n<span style=\"color: #fff\">Worst Case- O(log n)&nbsp;<\/span><br \/>\n<span style=\"color: #fff\">Space Complexity- O(1)<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.42718%;top:91.90939%;width:95.38835%;height:4.04531%;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.5089058524173028% 0.5089058524173028% 0.5089058524173028% 0.5089058524173028% \/ 8% 8% 8% 8%\" id=\"el-780ea362-3f8c-4b23-90bc-e5c73d67e74c\">\n<h3 id=\"how-to-calculate-the-time-complexity-4\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07729007633587807% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.349515em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">How to calculate the time complexity?<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"54247e4a-4c34-4389-9ef8-e2ad1e555aa1\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-9c8fe0a2-54ce-4120-8a2d-f2e0776efb8b\",\"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-c06df104-9509-4b0b-b2c2-608a5f096d36\",\"keyframes\":{\"transform\":[\"translate3d(0px, -193.63028%, 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-eecec463-efec-421a-940c-2574ec5778fd\",\"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-207b658f-7a3f-4c09-995b-0f37bddbd680\",\"keyframes\":{\"transform\":[\"translate3d(0px, -455.64241%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#262626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-52e4f493-e25d-4e03-b7aa-697c8631c3c3\">\n<div style=\"position:absolute;width:267.66542%;height:100%;left:-83.83271%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4288&amp;h=2848&amp;fit=max\" alt=\"person using track pad\" srcSet=\"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4288&amp;h=2848&amp;fit=max 4288w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3430&amp;h=2278&amp;fit=max 3430w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2572&amp;h=1708&amp;fit=max 2572w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1715&amp;h=1139&amp;fit=max 1715w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=857&amp;h=569&amp;fit=max 857w,https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=226&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 121vh, 268vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:linear-gradient(0.5turn, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-image:linear-gradient(0.5turn, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-85da65c1-1fb2-40ba-8a02-41ca3ec7d153\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:1.21359%;top:25.88997%;width:87.13592%;height:37.54045%;opacity:1\">\n<div id=\"anim-9c8fe0a2-54ce-4120-8a2d-f2e0776efb8b\" 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-c06df104-9509-4b0b-b2c2-608a5f096d36\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -193.63028%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-d0a9448e-0825-4a27-afef-cf3753e1b025\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.6713091922005572% 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\">Want&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">to take your programming skills to the next level?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:1.45631%;top:64.40129%;width:89.07767%;height:20.71197%;opacity:1\">\n<div id=\"anim-eecec463-efec-421a-940c-2574ec5778fd\" 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-207b658f-7a3f-4c09-995b-0f37bddbd680\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -455.64241%, 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.544959128065395% 0.544959128065395% 0.544959128065395% 0.544959128065395% \/ 1.5625% 1.5625% 1.5625% 1.5625%\" id=\"el-8f22a9ff-495f-41ca-b7f2-b60d1aa3ab6b\">\n<h3 id=\"check-out-interviewbits-blog-its-the-perfect-place-to-learn-how-to-solve-tricky-time-complexity-problems-and-ace-your-next-interview\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.22522138964577645% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.372168em;line-height:1.1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #9d4edd\">Check out <\/span><span style=\"font-weight: 700; color: #9d4edd\">Interviewbit&#8217;s blog!<\/span><span style=\"color: #9d4edd\"> It&#8217;s the perfect place to learn how to solve tricky time complexity problems and ace your next interview.<\/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.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz\"><a href=\"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=time-and-space-complexity-in-data-structure\" rel=\"\">SWIPE UP<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"04470c71-1a12-48d9-9981-fe03b72b0186\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-3303ad58-44e1-4dd3-9b4d-67c2ae826cb9\",\"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-e9de492a-ce2e-437f-8d45-65218094624e\",\"keyframes\":{\"transform\":[\"translate3d(0px, -211.49618%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-d008ecc9-4106-444d-a52e-60815e13e369\",\"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-df9e4af9-92bb-46e1-aef2-d8c6abccf6fe\",\"keyframes\":{\"transform\":[\"translate3d(0px, -621.00265%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-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-a604e4f2-daba-4791-93e8-e72b50eb1cb3\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=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.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-3c9424cb-4aa0-4dce-a42d-0dee00f0187c\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.85437%;top:4.36893%;width:19.66019%;height:45.63107%;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-03bdd705-db4e-4eba-a9e4-58c957ad4e82\">\n<h1 id=\"\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:49.876543209876516% 0;font-family:&quot;Poppins&quot;,sans-serif;font-size:3.268608em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">\u201c<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.52427%;top:27.18447%;width:88.34951%;height:32.68608%;opacity:1\">\n<div id=\"anim-3303ad58-44e1-4dd3-9b4d-67c2ae826cb9\" 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-e9de492a-ce2e-437f-8d45-65218094624e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -211.49618%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-aa7f92dd-b4c1-4689-94e6-019d8a9df230\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.7719780219780208% 0;font-family:&quot;Poppins&quot;,sans-serif;font-size:0.695793em;line-height:1.1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Step Up Your Game with InterviewBit Web Stories<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.28155%;top:59.87055%;width:82.52427%;height:13.26861%;opacity:1\">\n<div id=\"anim-d008ecc9-4106-444d-a52e-60815e13e369\" 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-df9e4af9-92bb-46e1-aef2-d8c6abccf6fe\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -621.00265%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5882352941176471% 0.5882352941176471% 0.5882352941176471% 0.5882352941176471% \/ 2.4390243902439024% 2.4390243902439024% 2.4390243902439024% 2.4390243902439024%\" id=\"el-84546f6a-9b1f-471d-92c0-3b63277bf573\">\n<h3 id=\"dont-miss-out-on-the-chance-to-upskill-yourself-with-intervewbits-engaging-web-stories\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09512867647058793% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.372168em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Don&#8217;t miss out on the chance to upskill yourself with IntervewBit&#8217;s engaging web stories.&nbsp;<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\"><a href=\"https:\/\/www.interviewbit.com\/blog\/web-stories\/?utm_source=Ib&amp;utm_medium=webstories&amp;utm_campaign=unlimited-learning-with-engaging-web-stories\" rel=\"\">SWIPE UP<\/a><\/amp-story-page-outlink><\/amp-story-page><\/amp-story><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"This web story aims to give you a detailed understanding of Time and Space complexity in Data Structure in the easiest manner.\n","protected":false},"author":21,"featured_media":18498,"template":"","meta":{"_daextam_enable_autolinks":"","web_stories_products":[],"web_stories_publisher_logo":1082,"web_stories_poster":[]},"web_story_category":[2120],"web_story_tag":[2768,2767,2769,2482],"amp_enabled":false,"story_data":{"version":46,"pages":[{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"437996d3-4274-49fa-b804-de7600f22d76","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":3607,"height":5411,"sizes":{"full":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=3607&h=5411&fit=max","mimeType":"image\/jpeg","width":3607,"height":5411},"large":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=2885&h=4328&fit=max","mimeType":"image\/jpeg","width":2885,"height":4328},"2164_3246":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=2164&h=3246&fit=max","mimeType":"image\/jpeg","width":2164,"height":3246},"1442_2163":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=1442&h=2163&fit=max","mimeType":"image\/jpeg","width":1442,"height":2163},"721_1082":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=721&h=1082&fit=max","mimeType":"image\/jpeg","width":721,"height":1082},"web_stories_thumbnail":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&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:EnZaPhgS6KY","baseColor":"#c08c73","blurHash":"LD8M]Zxa0zIpI;WCxFj[0zR*={xa","creationDate":"2020-08-25T20:36:48Z","src":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=3607&h=5411&fit=max","alt":"man in brown dress shirt holding black smartphone","attribution":{"author":{"displayName":"Jonathan Borba","url":"https:\/\/unsplash.com\/@jonathanborba?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfEvOYCuJEsMBVhMN3Gpf9\/\/U05P5coTqeg\/yzDisYdhMXeG4b0OiuFBOnHfCVAQswQXVDEHAxEYmls3aqMAjtzA1pNxmhcMVHE%2BiCVXAFKcpkBrZbhXEUnWgVw5%2B87d29aUnLLtZWMZ0is11wJ8sVX4YH0Rcr7S5X%2BXONYFYQDfcQf3JoEy5UFC8yQCmp%2B6hjg0unZCGbW1lKrqm3toPr%2B%2BMPpO20rB4GeAGCf2PeK74CgholbJt126QXiWyIv3gA%3D%3D"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"ea251a16-bb73-4d60-8d67-8b48c3a5f099","id":"cb48c127-3fe1-4225-9f7c-cff7090fd555","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":50,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.19,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Time and Space Complexity in <\/span><span style=\"color: #9d4edd\">Data Structures<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":7,"y":392,"width":377,"height":194,"tagName":"p","basedOn":"18e3d99a-85c3-40cb-af0f-4ff55fe3eaa6","id":"700653a1-7c6f-4229-9a9d-40d583cd443c","type":"text","groupId":null},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">A Quick Overview<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":7,"y":586,"width":377,"height":32,"id":"97d6f277-f75f-4f4b-a44d-7ac6bc7fb70c"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"e8de3bd0-50f1-44e6-a934-453d1980d163","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"b327760f-8d2f-4597-82ba-b0e3c1c17157"},"animations":[{"targets":["700653a1-7c6f-4229-9a9d-40d583cd443c"],"id":"59c5e0d6-51ac-46bc-8d4d-c8bc55fda118","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"pageAttachment":{"url":""},"groups":[]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"1189e1b6-be4f-4d45-b46f-5e1b0a59a486","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":5304,"height":7952,"sizes":{"full":{"file":"media\/unsplash:MChSQHxGZrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&ixlib=rb-4.0.3&fm=jpg&w=5304&h=7952&fit=max","mimeType":"image\/jpeg","width":5304,"height":7952},"large":{"file":"media\/unsplash:MChSQHxGZrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&ixlib=rb-4.0.3&fm=jpg&w=4243&h=6361&fit=max","mimeType":"image\/jpeg","width":4243,"height":6361},"3182_4771":{"file":"media\/unsplash:MChSQHxGZrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&ixlib=rb-4.0.3&fm=jpg&w=3182&h=4771&fit=max","mimeType":"image\/jpeg","width":3182,"height":4771},"2121_3180":{"file":"media\/unsplash:MChSQHxGZrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&ixlib=rb-4.0.3&fm=jpg&w=2121&h=3180&fit=max","mimeType":"image\/jpeg","width":2121,"height":3180},"1060_1589":{"file":"media\/unsplash:MChSQHxGZrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&ixlib=rb-4.0.3&fm=jpg&w=1060&h=1589&fit=max","mimeType":"image\/jpeg","width":1060,"height":1589},"web_stories_thumbnail":{"file":"media\/unsplash:MChSQHxGZrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&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:MChSQHxGZrQ","baseColor":"#c0c0c0","blurHash":"LOE2@8t7%g-;~WoftS%MWUWAozoz","creationDate":"2018-03-22T16:56:54Z","src":"https:\/\/images.unsplash.com\/photo-1521737711867-e3b97375f902?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MzY4NzQwNg&ixlib=rb-4.0.3&fm=jpg&w=5304&h=7952&fit=max","alt":"men sitting in front of their laptop computer","attribution":{"author":{"displayName":"Annie Spratt","url":"https:\/\/unsplash.com\/@anniespratt?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AXhJFEfUJJczOap2Rz\/\/FJhCfsFXEYGLqzA13otRn\/eBSjKIPenDN2bRN8m%2BMIUGX28EKoDL8Fi%2Bn4jVDeYRVubSuOL0cxPF2JXj5pubRr5nYLJhCohqAHY6JMxNBGuzdqM\/YPCnwJJqcQwbptT8kReJ7WoG4rWelFznXGqx2wyNrCUoDfKamDAkIPny7Cg1aFfJ5MBOpUyjuffu7ZJQER8BLGbujgKKDJ2P38WrINbpJgrOvrUoBP8AEQYpFkuUzx0dboKX"}},"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":157,"g":78,"b":221,"a":0.4}},"x":-71,"y":309,"basedOn":"be030a72-ef17-445c-b487-bcd8cc8e6c2e","width":575,"height":226,"mask":{"type":"rectangle"},"groupId":null,"id":"7d533f20-327f-4332-94e7-c8efcdd09664","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,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"cb48c127-3fe1-4225-9f7c-cff7090fd555","id":"81811408-af93-46a4-9620-651285eea9d8","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Time complexity is the measurement of the time taken by an algorithm to execute its code based on the input size.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":352,"width":355,"height":122,"tagName":"p","basedOn":"dc3751cd-6b09-4ff8-b783-139b4292e001","id":"6eeb18b9-dd7b-4425-9f9b-37339d6cfecc","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21.6,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">Ready to explore time complexity further?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":9,"y":552,"width":393,"height":51,"id":"c3b3ed30-be54-4309-8240-90ad43a8caab"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">What is Time Complexity?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":265,"width":355,"height":38,"basedOn":"139f04fe-1ba5-4396-babb-481f2ba92e15","id":"3e293cc4-8d65-4831-8e06-b850dc266a35","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"c1c7532b-e9b4-425a-92e0-cd2d5574d438","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["1189e1b6-be4f-4d45-b46f-5e1b0a59a486"]},{"targets":["6eeb18b9-dd7b-4425-9f9b-37339d6cfecc"],"id":"a36507c2-c836-476a-b64c-4b222ab8aca5","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"8c6bf4ec-2231-4205-afc1-feff529ae9f3","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"7806bdba-264d-47f5-b39e-c0936371be43"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"1189e1b6-be4f-4d45-b46f-5e1b0a59a486","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LlH.QcIAxut7~qayt7xu?bt7M{xv","type":"image","mimeType":"image\/jpeg","creationDate":"2019-11-11T18:11:53Z","src":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=4016&h=6016&fit=max","width":4016,"height":6016,"id":"media\/unsplash:7RRj4wDX7LE","alt":"shallow focus photo of woman using MacBook","sizes":{"full":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=4016&h=6016&fit=max","mimeType":"image\/jpeg","width":4016,"height":6016},"large":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=3212&h=4812&fit=max","mimeType":"image\/jpeg","width":3212,"height":4812},"2409_3609":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=2409&h=3609&fit=max","mimeType":"image\/jpeg","width":2409,"height":3609},"1606_2406":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=1606&h=2406&fit=max","mimeType":"image\/jpeg","width":1606,"height":2406},"803_1203":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=803&h=1203&fit=max","mimeType":"image\/jpeg","width":803,"height":1203},"web_stories_thumbnail":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=340&h=509&fit=max","mimeType":"image\/jpeg","width":340,"height":509}},"attribution":{"author":{"displayName":"Christina @ wocintechchat.com","url":"https:\/\/unsplash.com\/@wocintechchat?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tqCqy1VrA\/87Yw3PZrAhYUH9prxWhFxKYzgdgwwbBc2sKEhWj1KqeYYnpwtpfNLRUmN85o29gdyzJhA0ziDin13VcYXiyHJF77LNsqROK88a%2BysiA%2BErvBQxWGn14exo0ZlthVJjYYEjSDCPyLrtGYqaFzzQ1LFOfSCwLNVWZan\/JTQZeFCYRA2AjAuR%2BzlyieLBo2n4SyKTzcyUs3b%2B7m1EX3Fwj%2BJTnx\/DOYwEe064phd"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":157,"g":78,"b":221,"a":0.4}},"x":-71,"y":309,"basedOn":"7d533f20-327f-4332-94e7-c8efcdd09664","width":575,"height":226,"mask":{"type":"rectangle"},"groupId":null,"id":"547df498-d91f-497a-8c89-246d399c76dd","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,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"81811408-af93-46a4-9620-651285eea9d8","id":"46d88c1c-7a43-4355-acc1-3a75a4e5a0cc","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">The amount of memory space required by an algorithm during its execution, including the fixed part needed to store data &amp; variables that are not dependent on the problem size.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":333,"width":355,"height":178,"tagName":"p","basedOn":"6eeb18b9-dd7b-4425-9f9b-37339d6cfecc","id":"1096ac98-bd2a-4a6e-af42-2218363c25f5","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">What is Space Complexity?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":265,"width":355,"height":38,"basedOn":"8ddf1e51-9130-433e-8d18-840469634683","id":"139f04fe-1ba5-4396-babb-481f2ba92e15","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21.6,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Ready to explore space complexity further?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":9,"y":552,"width":393,"height":51,"basedOn":"c3b3ed30-be54-4309-8240-90ad43a8caab","id":"3025dc24-e915-4c42-9ff5-6cd31632fd0b","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"8f62c001-433b-4b52-be4c-01eaaf97171d","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["1189e1b6-be4f-4d45-b46f-5e1b0a59a486"]},{"targets":["1096ac98-bd2a-4a6e-af42-2218363c25f5"],"id":"808e22a5-7f1e-41c1-b09c-3ecda065a9d0","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"40e238c0-cd08-4923-bd94-e7fbdf785fcb","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"6417e2e4-880c-4959-9e6c-834fe69f9dd6"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"6417e2e4-880c-4959-9e6c-834fe69f9dd6","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LeH2Zc00t6kC-:t7M{kCR*o2t6t7","type":"image","mimeType":"image\/jpeg","creationDate":"2019-07-19T11:41:39Z","src":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","width":4000,"height":6000,"id":"media\/unsplash:NdFREMS5P08","alt":"woman leaning at the table","sizes":{"full":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"attribution":{"author":{"displayName":"Nicole Wolf","url":"https:\/\/unsplash.com\/@joeel56?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tpY2%2BUTP6YwjFpDaBiJc6fD9BN3t\/SN\/\/isMJsEmXSQBJ60Owi\/\/VGvUChr31tFJUc7HhUxUsKUi8kEq%2BgJFXy4%2BEmVF4s\/4vWvJGGnpAR8N%2BaLww0IEd0Lvx52pLKgOrLgpLtMNZVI3M8\/oZQD2pG6iyCTZSkt0H8tJqiopY5QSPWfXFf\/wZRXqSuvXREdghPw2MdZC6rJMeQ4uVFqDSwY2wqjVUc%2BWI5XeI5XCHz9cdHh"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":157,"g":78,"b":221,"a":0.4}},"x":-71,"y":309,"basedOn":"547df498-d91f-497a-8c89-246d399c76dd","width":575,"height":226,"mask":{"type":"rectangle"},"groupId":null,"id":"b25cc072-b2cb-4229-96d6-9e35d7f71b5d","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,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"46d88c1c-7a43-4355-acc1-3a75a4e5a0cc","id":"78fac6be-aadb-4543-8fc0-853d074437f3","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">1. Big O(expression)- <\/span><span style=\"color: #fff\">It is used to analyze the worst-case time complexity of an algorithm by evaluating the growth rate of a set of functions with respect to the expression.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":333,"width":355,"height":178,"tagName":"p","basedOn":"6eeb18b9-dd7b-4425-9f9b-37339d6cfecc","id":"c087532b-bb75-4c4d-8ae8-9ac7d22f33e3","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Asymptotic Notations<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":265,"width":355,"height":38,"basedOn":"139f04fe-1ba5-4396-babb-481f2ba92e15","id":"fa01c7cc-5c3e-4aa6-b187-54809bc6079c","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21.6,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Ready to become an expert in time complexity analysis?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":9,"y":552,"width":393,"height":51,"basedOn":"3025dc24-e915-4c42-9ff5-6cd31632fd0b","id":"6c7c4a8a-4833-4d83-8775-f1b4dfd7f8c8","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"targets":["6417e2e4-880c-4959-9e6c-834fe69f9dd6"],"id":"03ac9f99-3913-43f3-8912-6a82e961b65f","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut"},{"targets":["c087532b-bb75-4c4d-8ae8-9ac7d22f33e3"],"id":"7123aaa2-d493-45a2-993e-6d9caa8759ae","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"e527486a-774a-4c1c-b1b0-bc90e6a54bf1","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"d31da76a-9529-4b96-b2bc-42a3a007f7e0"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"f4d0cbbe-9e96-4740-a248-94afbb714d04","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":3469,"height":5203,"sizes":{"full":{"file":"media\/unsplash:2uE2yhyTFrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&ixlib=rb-4.0.3&fm=jpg&w=3469&h=5203&fit=max","mimeType":"image\/jpeg","width":3469,"height":5203},"large":{"file":"media\/unsplash:2uE2yhyTFrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&ixlib=rb-4.0.3&fm=jpg&w=2775&h=4162&fit=max","mimeType":"image\/jpeg","width":2775,"height":4162},"2081_3121":{"file":"media\/unsplash:2uE2yhyTFrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&ixlib=rb-4.0.3&fm=jpg&w=2081&h=3121&fit=max","mimeType":"image\/jpeg","width":2081,"height":3121},"1387_2080":{"file":"media\/unsplash:2uE2yhyTFrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&ixlib=rb-4.0.3&fm=jpg&w=1387&h=2080&fit=max","mimeType":"image\/jpeg","width":1387,"height":2080},"693_1039":{"file":"media\/unsplash:2uE2yhyTFrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&ixlib=rb-4.0.3&fm=jpg&w=693&h=1039&fit=max","mimeType":"image\/jpeg","width":693,"height":1039},"web_stories_thumbnail":{"file":"media\/unsplash:2uE2yhyTFrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&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:2uE2yhyTFrQ","baseColor":"#d9d9d9","blurHash":"LbKKyXMxx]j?NGRPogRj_Nt7RPWC","creationDate":"2020-07-30T17:07:51Z","src":"https:\/\/images.unsplash.com\/photo-1596128721615-6680edcb6b7a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzk2NjQ2NTg&ixlib=rb-4.0.3&fm=jpg&w=3469&h=5203&fit=max","alt":"man in black crew neck t-shirt using macbook","attribution":{"author":{"displayName":"Andrew Valdivia","url":"https:\/\/unsplash.com\/@donovan_valdivia?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfHEj6z7Z8H0K%2B\/Mq6xJUVN9RvztNYldntYkJ8Zf4EtW\/ujZLa4Y9k0IG8Wm3BXl1zW60Kss\/PmzJ0tXxJ0O\/aQbGiCuIokwFzPj6FbFACQ2xKb2hPM7ntCQI2id5GvLPvnwwHauoEpYCNqECT2ij9O9xkG9HJv3GqJR%2BnRHAg5do2LlZGWPPBpfOcpMlLFN9EOiREhr3OuK3FPNUwSdF1oNHYE7Elf55L07mc8EtZobJi0QFHPE74jsQsZAXLEn"}},"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":157,"g":78,"b":221,"a":0.4}},"x":-71,"y":309,"basedOn":"b25cc072-b2cb-4229-96d6-9e35d7f71b5d","width":575,"height":226,"mask":{"type":"rectangle"},"groupId":null,"id":"7c9c6d3f-85c7-43b9-bf34-4dd3b400cd56","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,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"78fac6be-aadb-4543-8fc0-853d074437f3","id":"3e628981-0470-432e-b450-b46b4dd70164","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">2. Omega(expression)-<\/span><span style=\"color: #fff\"> It defines the best-case time complexity of an algorithm by examining the growth rate of a set of functions with respect to the expression.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":27,"y":339,"width":355,"height":149,"tagName":"p","basedOn":"c087532b-bb75-4c4d-8ae8-9ac7d22f33e3","id":"368c6d32-4d89-4de1-ba11-4c712f53d569","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21.6,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to enhance your algorithm's performance?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":9,"y":552,"width":393,"height":51,"basedOn":"6c7c4a8a-4833-4d83-8775-f1b4dfd7f8c8","id":"44698296-b26e-4305-95eb-8dfbba77b63e","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"2f420c6c-2b03-426b-98c9-53d7bca7b31f","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["f4d0cbbe-9e96-4740-a248-94afbb714d04"]},{"targets":["368c6d32-4d89-4de1-ba11-4c712f53d569"],"id":"564fd90f-516b-480b-be8d-b945249f9613","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"c699d037-0d65-42ff-be87-cc83edf95486","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"65f0dae7-6b6f-48a9-9565-69455d867707"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"b19a915c-b36c-4ffc-aa9b-88d820dd2aef","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LYNdH]?vTKROkrD%%2E1~qIUR5t7","type":"image","mimeType":"image\/jpeg","creationDate":"2019-11-07T22:31:26Z","src":"https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&ixlib=rb-4.0.3&fm=jpg&w=4016&h=6016&fit=max","width":4016,"height":6016,"id":"media\/unsplash:kXfBDl0fR1E","alt":"woman in black blazer using MacBook","sizes":{"full":{"file":"media\/unsplash:kXfBDl0fR1E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&ixlib=rb-4.0.3&fm=jpg&w=4016&h=6016&fit=max","mimeType":"image\/jpeg","width":4016,"height":6016},"large":{"file":"media\/unsplash:kXfBDl0fR1E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&ixlib=rb-4.0.3&fm=jpg&w=3212&h=4812&fit=max","mimeType":"image\/jpeg","width":3212,"height":4812},"2409_3609":{"file":"media\/unsplash:kXfBDl0fR1E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&ixlib=rb-4.0.3&fm=jpg&w=2409&h=3609&fit=max","mimeType":"image\/jpeg","width":2409,"height":3609},"1606_2406":{"file":"media\/unsplash:kXfBDl0fR1E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&ixlib=rb-4.0.3&fm=jpg&w=1606&h=2406&fit=max","mimeType":"image\/jpeg","width":1606,"height":2406},"803_1203":{"file":"media\/unsplash:kXfBDl0fR1E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&ixlib=rb-4.0.3&fm=jpg&w=803&h=1203&fit=max","mimeType":"image\/jpeg","width":803,"height":1203},"web_stories_thumbnail":{"file":"media\/unsplash:kXfBDl0fR1E","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165850883-9b0e18c44bd2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1NXx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMjQ3ODQw&ixlib=rb-4.0.3&fm=jpg&w=340&h=509&fit=max","mimeType":"image\/jpeg","width":340,"height":509}},"attribution":{"author":{"displayName":"Christina @ wocintechchat.com","url":"https:\/\/unsplash.com\/@wocintechchat?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AWJwhCE\/sgmVI7A%2B91oTmQB2YFrwScUjaHV8KdFrvhBsaAs6ilWLx8jdnAT0tyLnVzTi3q4aYnlbGtnoCfzSajrZfDx4\/UOHzdgM5ip8RnPcIEflK9B9zXT51mKOk2Ts7bthg2ELkLCtpqq\/qPMcL0fINRRuJXNW5tNiUsrbxmAfCzc0mrrG0dMcZT8XWAEdh2zIgofjt4lkbU7%2BhinSu0U1yl2u8hZRhFqmOqcwCed8Zuhw%2B4N%2BWRSt09b29MW4FVUKiQ%3D%3D"},"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":false,"backgroundColor":{"color":{"r":157,"g":78,"b":221,"a":0.4}},"x":-71,"y":309,"basedOn":"7c9c6d3f-85c7-43b9-bf34-4dd3b400cd56","width":575,"height":226,"mask":{"type":"rectangle"},"groupId":null,"id":"c027ee6c-ee62-4b00-afc8-680eaf4aeb37","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,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"3e628981-0470-432e-b450-b46b4dd70164","id":"d3952aa0-b3c9-46fa-80c2-f0d24fefa993","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">3. Theta(expression)-<\/span><span style=\"color: #fff\"> It analyzes the average-case time complexity of an algorithm by analyzing if a set of functions lies between upper &amp; lower bounds defined by Big O(expression) &amp; Omega(expression).<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":27,"y":319,"width":355,"height":206,"tagName":"p","basedOn":"368c6d32-4d89-4de1-ba11-4c712f53d569","id":"12f76b57-7340-4357-99f4-7e36defdbdc3","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21.6,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to optimize your algorithm's efficiency?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":9,"y":552,"width":393,"height":51,"basedOn":"44698296-b26e-4305-95eb-8dfbba77b63e","id":"69e2041a-d11b-4c3f-a1cf-72b7fc85d88a","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"6cbafc3d-13fd-4933-96af-6f855687368c","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["b19a915c-b36c-4ffc-aa9b-88d820dd2aef"]},{"targets":["12f76b57-7340-4357-99f4-7e36defdbdc3"],"id":"67e0f481-3ac9-46a5-b198-afbb202c1625","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"a93b2506-3261-4cbb-b29b-0030bd1046d3","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"de5cfed0-3524-444b-8ba8-844b625d16ed"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"359364ab-34bf-49c4-9a25-3892d5c71a60","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":2458,"height":3687,"sizes":{"full":{"file":"media\/unsplash:kUKLrxM2rBU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&ixlib=rb-4.0.3&fm=jpg&w=2458&h=3687&fit=max","mimeType":"image\/jpeg","width":2458,"height":3687},"large":{"file":"media\/unsplash:kUKLrxM2rBU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&ixlib=rb-4.0.3&fm=jpg&w=1966&h=2949&fit=max","mimeType":"image\/jpeg","width":1966,"height":2949},"1474_2211":{"file":"media\/unsplash:kUKLrxM2rBU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&ixlib=rb-4.0.3&fm=jpg&w=1474&h=2211&fit=max","mimeType":"image\/jpeg","width":1474,"height":2211},"983_1475":{"file":"media\/unsplash:kUKLrxM2rBU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&ixlib=rb-4.0.3&fm=jpg&w=983&h=1475&fit=max","mimeType":"image\/jpeg","width":983,"height":1475},"491_737":{"file":"media\/unsplash:kUKLrxM2rBU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&ixlib=rb-4.0.3&fm=jpg&w=491&h=737&fit=max","mimeType":"image\/jpeg","width":491,"height":737},"web_stories_thumbnail":{"file":"media\/unsplash:kUKLrxM2rBU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&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:kUKLrxM2rBU","baseColor":"#d9d9d9","blurHash":"LUMGx8_N?v.8~pIARkt7_3WBM{M{","creationDate":"2020-10-13T00:31:32Z","src":"https:\/\/images.unsplash.com\/photo-1602506860429-d460a215207d?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cGVvcGxlJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2NzY4ODk5MzE&ixlib=rb-4.0.3&fm=jpg&w=2458&h=3687&fit=max","alt":"media\/unsplash:kUKLrxM2rBU","attribution":{"author":{"displayName":"Jonathan Borba","url":"https:\/\/unsplash.com\/@jonathanborba?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aa0pnNZ2k1Xm0OLDRq4HEwzdWD0aJzm880ZvE7D92QQns%2BTk2YVX99vMK8Q9xW1grNO3oAv6CAGTH6\/ufq6LZiPbxxEGEyM7AzajQsvarSHsLI5HP7S9DVfXVnH\/rUd3rTU8uiZafjh7MEcz33dtDGudrdkSevbn2XEFDEAvz8Pm6gP1mOYHjNJc6SDMh9nMwF72TRU6pYDO7BytjY23WZa8NB%2Bp%2BiAHuvenWXRm9T2u1vr9PqCc21iFaHS17oXURR1MwLCfMQ%3D%3D"}},"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":157,"g":78,"b":221,"a":0.4}},"x":-71,"y":309,"basedOn":"c027ee6c-ee62-4b00-afc8-680eaf4aeb37","width":575,"height":226,"mask":{"type":"rectangle"},"groupId":null,"id":"5952a51b-d263-4ccf-b52b-c300cb3efcfe","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,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"d3952aa0-b3c9-46fa-80c2-f0d24fefa993","id":"765959d5-f19c-4c63-9fcc-dcf7b025b822","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21.6,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">How to calculate the time complexity?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":10,"y":568,"width":393,"height":25,"basedOn":"c3b3ed30-be54-4309-8240-90ad43a8caab","id":"29810a6c-fd89-4fdc-a6b9-42b961c2c809","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">1. Insertion Sort &nbsp;&nbsp;<\/span>\n\n<span style=\"color: #fff\">Best Case- \u03a9(n) &nbsp;<\/span>\n<span style=\"color: #fff\">Worst Case- O(n^2)&nbsp;<\/span>\n<span style=\"color: #fff\">Space Complexity- O(1)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":348,"width":355,"height":149,"tagName":"p","basedOn":"12f76b57-7340-4357-99f4-7e36defdbdc3","id":"77aa0200-fc35-410b-9afb-787d9b23e4c6","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Time Complexity of Sorting Algorithms<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":236,"width":355,"height":66,"basedOn":"fa01c7cc-5c3e-4aa6-b187-54809bc6079c","id":"e4594ddc-25c6-4c61-8e61-c34330ea40c9","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"6e1debea-3777-4b71-a11d-bf77d62f39d2","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["359364ab-34bf-49c4-9a25-3892d5c71a60"]},{"targets":["77aa0200-fc35-410b-9afb-787d9b23e4c6"],"id":"37ce567f-cd83-4e86-bb11-0ec197b8361a","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"a89c4ef5-4951-4faf-8e45-c882f5d38090","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"670733d3-18f9-46ac-996e-b72cc582f9ea"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"3f7a08e3-a167-4e1c-b3f5-8b6773708f2c","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4016,"height":6016,"sizes":{"full":{"file":"media\/unsplash:Zpzf7TLj_gA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&ixlib=rb-4.0.3&fm=jpg&w=4016&h=6016&fit=max","mimeType":"image\/jpeg","width":4016,"height":6016},"large":{"file":"media\/unsplash:Zpzf7TLj_gA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&ixlib=rb-4.0.3&fm=jpg&w=3212&h=4812&fit=max","mimeType":"image\/jpeg","width":3212,"height":4812},"2409_3609":{"file":"media\/unsplash:Zpzf7TLj_gA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&ixlib=rb-4.0.3&fm=jpg&w=2409&h=3609&fit=max","mimeType":"image\/jpeg","width":2409,"height":3609},"1606_2406":{"file":"media\/unsplash:Zpzf7TLj_gA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&ixlib=rb-4.0.3&fm=jpg&w=1606&h=2406&fit=max","mimeType":"image\/jpeg","width":1606,"height":2406},"803_1203":{"file":"media\/unsplash:Zpzf7TLj_gA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&ixlib=rb-4.0.3&fm=jpg&w=803&h=1203&fit=max","mimeType":"image\/jpeg","width":803,"height":1203},"web_stories_thumbnail":{"file":"media\/unsplash:Zpzf7TLj_gA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&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:Zpzf7TLj_gA","baseColor":"#f3f3f3","blurHash":"LRI=7BNe_N%M_3_3s:Rj?vRP9ZNG","creationDate":"2019-11-11T18:21:11Z","src":"https:\/\/images.unsplash.com\/photo-1573496358961-3c82861ab8f4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3Mjg1MzYwOQ&ixlib=rb-4.0.3&fm=jpg&w=4016&h=6016&fit=max","alt":"woman sitting next to window","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=AXhJFEfsPckVJj6LduZItAA0T3vpStqORpxHzzMkiFMH2LPrkAmGYVAZ9XDutwn13u2h\/UIJS3O7obnVEMi\/GbL7MCH8ny\/wZ8MQBg2yT0LRw3oFonZ4tbIfaJh2iPvfcLR4wlYBEa\/aLhwvAji73eiSU6gFQbg6KRBd%2B6kTRmYL4GPPr1YwjQg7a7Yp%2BdXtOy5g3t5Qyog41THgWPUSWvIpR31C1XNJhZaS29jRM6iQIaZzp0U6T0Yo1TXMTdoR56Jwy89I"}},"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":157,"g":78,"b":221,"a":0.4}},"x":-71,"y":309,"basedOn":"5952a51b-d263-4ccf-b52b-c300cb3efcfe","width":575,"height":226,"mask":{"type":"rectangle"},"groupId":null,"id":"499c3f97-3199-4f59-8174-d271cc2f5d1b","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,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"765959d5-f19c-4c63-9fcc-dcf7b025b822","id":"08676e5d-929c-4635-99b2-419ea8483e30","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">2. Merge Sort &nbsp;<\/span>\n\n<span style=\"color: #fff\">Best Case- \u03a9(nlogn)&nbsp;<\/span>\n<span style=\"color: #fff\">Worst Case- O(nlogn)&nbsp;<\/span>\n<span style=\"color: #fff\">Space Complexity- O(n)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":348,"width":355,"height":149,"tagName":"p","basedOn":"77aa0200-fc35-410b-9afb-787d9b23e4c6","id":"a653420c-a450-433d-b59a-e473c078c7bc","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21.6,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">How to calculate the time complexity?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":10,"y":568,"width":393,"height":25,"basedOn":"29810a6c-fd89-4fdc-a6b9-42b961c2c809","id":"47da08ed-8f0a-4be4-8b44-aa723b1cd913","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"83b11fb5-aacf-4851-ab6f-4868ff6c5ebf","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["3f7a08e3-a167-4e1c-b3f5-8b6773708f2c"]},{"targets":["a653420c-a450-433d-b59a-e473c078c7bc"],"id":"a717ef93-65ad-47a9-8a9a-e8a90c3fb443","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"14dfcb8d-cd8d-494f-838d-e22d013b1201","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"02d928da-2599-46d3-b379-8d7a0f90a7fa"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.interviewbit.com\/assets\/ib-logo-904db47f8d2208f21a168bfe4851e0fdcc041f2487b6a8ec0b181d3724dbd012.png.gz","needsProxy":false,"ctaText":"SWIPE UP"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"20c4f3b4-7d09-4d9e-96f6-8099ca27a832","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":3456,"height":5184,"sizes":{"full":{"file":"media\/unsplash:aVbR17HLZTg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&ixlib=rb-4.0.3&fm=jpg&w=3456&h=5184&fit=max","mimeType":"image\/jpeg","width":3456,"height":5184},"large":{"file":"media\/unsplash:aVbR17HLZTg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&ixlib=rb-4.0.3&fm=jpg&w=2764&h=4146&fit=max","mimeType":"image\/jpeg","width":2764,"height":4146},"2073_3110":{"file":"media\/unsplash:aVbR17HLZTg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&ixlib=rb-4.0.3&fm=jpg&w=2073&h=3110&fit=max","mimeType":"image\/jpeg","width":2073,"height":3110},"1382_2073":{"file":"media\/unsplash:aVbR17HLZTg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&ixlib=rb-4.0.3&fm=jpg&w=1382&h=2073&fit=max","mimeType":"image\/jpeg","width":1382,"height":2073},"691_1037":{"file":"media\/unsplash:aVbR17HLZTg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&ixlib=rb-4.0.3&fm=jpg&w=691&h=1037&fit=max","mimeType":"image\/jpeg","width":691,"height":1037},"web_stories_thumbnail":{"file":"media\/unsplash:aVbR17HLZTg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&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:aVbR17HLZTg","baseColor":"#262626","blurHash":"LFAJp7?HD*E1IoWBS2Wq0KE1?G%2","creationDate":"2018-11-24T12:00:34Z","src":"https:\/\/images.unsplash.com\/photo-1543060829-a0029874b174?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODEyMTk3NTk&ixlib=rb-4.0.3&fm=jpg&w=3456&h=5184&fit=max","alt":"man sitting facing silver MacBook inside room","attribution":{"author":{"displayName":"Oleg Ivanov","url":"https:\/\/unsplash.com\/@olegivanovpht?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfEg%2BUXMLTKPFYWEi0\/qqLhol4rZuUeHJ68Mi6eoAqjMIFO0XQ9LfxkbUjd3po2pwNuMCoA\/HzJqgxYfIav5UrGg3NXzex3WQnaxvtz4AC3ACgRxaaGwsrcqLM3c37IeFbxgy63xrLhHb4%2BkpGK1EEEM5GYSz2AASrdcJiRRwsuO6usbJiJ00QWDegNnfSQLXu7rvgDe03VqPD5LEXicGixjw3Y3FwVv11a9XD3hAMyziWLwvyMF\/cg4HrAG6pst"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"d930e2db-b450-480b-9b62-dc0c9e86160c","id":"7dd58569-1f43-47c2-8956-de1e7fa376bf","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":157,"g":78,"b":221,"a":0.4}},"x":-71,"y":309,"basedOn":"499c3f97-3199-4f59-8174-d271cc2f5d1b","width":575,"height":226,"mask":{"type":"rectangle"},"groupId":null,"id":"3f66a533-275f-468f-84fe-13af8caaa36a","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">1. Linear Search<\/span><span style=\"color: #fff\"> &nbsp;<\/span>\n\n<span style=\"color: #fff\">Best Case- \u03a9(1) &nbsp;<\/span>\n<span style=\"color: #fff\">Worst Case- O(n)&nbsp;<\/span>\n<span style=\"color: #fff\">Space Complexity- O(1)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":348,"width":355,"height":149,"tagName":"p","basedOn":"a653420c-a450-433d-b59a-e473c078c7bc","id":"72e7139b-540c-4c61-bb94-6086fb9eee50","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Time Complexity of Searching Algorithms<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":236,"width":355,"height":66,"basedOn":"e4594ddc-25c6-4c61-8e61-c34330ea40c9","id":"d8944116-dafc-45f5-bec5-f22fba9c741b","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21.6,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">How to calculate the time complexity?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":10,"y":568,"width":393,"height":25,"basedOn":"29810a6c-fd89-4fdc-a6b9-42b961c2c809","id":"58dfb26e-9550-4bb4-864d-78dbc77cc7b8","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"6412d8ad-e7ef-4c7f-b511-78ac977d2b09","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["20c4f3b4-7d09-4d9e-96f6-8099ca27a832"]},{"targets":["72e7139b-540c-4c61-bb94-6086fb9eee50"],"id":"2ef135e9-a744-4e6b-8ab9-e0a23825e7ce","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0}],"id":"1bb292f1-fb1e-4ce2-bd67-c0651c2d02a0","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"55411d60-0a4b-447f-b98b-f5508ce442c5"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"55411d60-0a4b-447f-b98b-f5508ce442c5","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4480,"height":6720,"sizes":{"full":{"file":"media\/unsplash:KjNigEw8kko","sourceUrl":"https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&ixlib=rb-4.0.3&fm=jpg&w=4480&h=6720&fit=max","mimeType":"image\/jpeg","width":4480,"height":6720},"large":{"file":"media\/unsplash:KjNigEw8kko","sourceUrl":"https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&ixlib=rb-4.0.3&fm=jpg&w=3584&h=5376&fit=max","mimeType":"image\/jpeg","width":3584,"height":5376},"2688_4032":{"file":"media\/unsplash:KjNigEw8kko","sourceUrl":"https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&ixlib=rb-4.0.3&fm=jpg&w=2688&h=4032&fit=max","mimeType":"image\/jpeg","width":2688,"height":4032},"1792_2688":{"file":"media\/unsplash:KjNigEw8kko","sourceUrl":"https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&ixlib=rb-4.0.3&fm=jpg&w=1792&h=2688&fit=max","mimeType":"image\/jpeg","width":1792,"height":2688},"896_1344":{"file":"media\/unsplash:KjNigEw8kko","sourceUrl":"https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&ixlib=rb-4.0.3&fm=jpg&w=896&h=1344&fit=max","mimeType":"image\/jpeg","width":896,"height":1344},"web_stories_thumbnail":{"file":"media\/unsplash:KjNigEw8kko","sourceUrl":"https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&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:KjNigEw8kko","baseColor":"#d9d9d9","blurHash":"LJGIo+~WxuRjs+nha}oL9F8_MxxY","creationDate":"2021-01-19T22:02:43Z","src":"https:\/\/images.unsplash.com\/photo-1611093344167-8a5e327ab3b2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw5NHx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODI1MTc2Njk&ixlib=rb-4.0.3&fm=jpg&w=4480&h=6720&fit=max","alt":"man in black crew neck t-shirt sitting on white concrete bench using macbook","attribution":{"author":{"displayName":"Marissa Lewis","url":"https:\/\/unsplash.com\/ko\/@doscocoslocos?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfEVIWs8gcLVxRMhdi\/C6Mo8Vmjx8W7OulZsXRFPraPa7BmM6a9u648nGVQr7bT5Krc7qOncErzDsvAZnAIGSE7YNqIGNy2DHASodeormJapz7nS0ImBhhVaB\/%2BL4V5HvJfVU5DLm2XV8BTfvGHU9HiPu8K%2Bf59w0kapEmlcBfYJ2aqA1DzAVm07zvtEFSFqfWw8Ts%2Bn1Vp1eULqLOtAuDxUYBKZZkjVKH1vrOSz1K6AxshVypze6U6OlZQivz%2Be"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"7dd58569-1f43-47c2-8956-de1e7fa376bf","id":"6cf0f854-da66-4d45-894c-673cacee205e","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":157,"g":78,"b":221,"a":0.4}},"x":-71,"y":309,"basedOn":"3f66a533-275f-468f-84fe-13af8caaa36a","width":575,"height":226,"mask":{"type":"rectangle"},"groupId":null,"id":"74efc4a7-7e80-4dca-9ed8-52999187741c","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":28,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">2. Binary Search &nbsp;&nbsp;<\/span>\n\n<span style=\"color: #fff\">Best Case- \u03a9(1) &nbsp;<\/span>\n<span style=\"color: #fff\">Worst Case- O(log n)&nbsp;<\/span>\n<span style=\"color: #fff\">Space Complexity- O(1)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":348,"width":355,"height":149,"tagName":"p","basedOn":"72e7139b-540c-4c61-bb94-6086fb9eee50","id":"0610a439-4582-4afa-8a6e-320e8b2764c9","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":21.6,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">How to calculate the time complexity?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":10,"y":568,"width":393,"height":25,"basedOn":"29810a6c-fd89-4fdc-a6b9-42b961c2c809","id":"780ea362-3f8c-4b23-90bc-e5c73d67e74c","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"targets":["0610a439-4582-4afa-8a6e-320e8b2764c9"],"id":"054d1a33-bcbd-4c97-b483-0a0b983b0278","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0},{"id":"09f3dafb-8143-4ecd-80c5-9299722786c8","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["55411d60-0a4b-447f-b98b-f5508ce442c5"]}],"id":"95b5696f-e352-4261-8982-7f53b8b6616e","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"3fcce474-5e9e-4686-9f6a-65ad3349f6b4"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":219,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"52e4f493-e25d-4e03-b7aa-697c8631c3c3","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#262626","blurHash":"L55F8.M{8wx]x]RPVsx]IUn$x]bc","type":"image","mimeType":"image\/jpeg","creationDate":"2017-06-10T10:38:52Z","src":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=4288&h=2848&fit=max","width":4288,"height":2848,"id":"media\/unsplash:P1qyEf1g0HU","alt":"person using track pad","sizes":{"full":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=4288&h=2848&fit=max","mimeType":"image\/jpeg","width":4288,"height":2848},"large":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=3430&h=2278&fit=max","mimeType":"image\/jpeg","width":3430,"height":2278},"2572_1708":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=2572&h=1708&fit=max","mimeType":"image\/jpeg","width":2572,"height":1708},"1715_1139":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=1715&h=1139&fit=max","mimeType":"image\/jpeg","width":1715,"height":1139},"857_569":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=857&h=569&fit=max","mimeType":"image\/jpeg","width":857,"height":569},"web_stories_thumbnail":{"file":"media\/unsplash:P1qyEf1g0HU","sourceUrl":"https:\/\/images.unsplash.com\/photo-1497091071254-cc9b2ba7c48a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0MHx8cmVzdW1lfGVufDB8fHx8MTY2NjA2MjgxNA&ixlib=rb-1.2.1&fm=jpg&w=340&h=226&fit=max","mimeType":"image\/jpeg","width":340,"height":226}},"attribution":{"author":{"displayName":"Glenn Carstens-Peters","url":"https:\/\/unsplash.com\/@glenncarstenspeters?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tqzFQk9mistNseDeeHEJMsZ1s4y0bq50WT55T0X23zUUBQBPQdK4apQBMpRXEDve3pzCQh%2B4eIoPWyosKbjNOJi0rW7VNMuRbdNCMCpD57sUk8BirmXYJAXqxgWO26HCxN6tj3TE6bIiA2wunnBSNozdaR%2B3b7GYMsOajhfH8M7uvC%2B2XPNl\/rTXwFB4gJFs%2Bkv4F2ixncVopF6zS%2BxWuraKdtkUD8aHd5uSlykrQ%3D%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"type":"linear","rotation":0,"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0.4},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.5}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"765959d5-f19c-4c63-9fcc-dcf7b025b822","id":"85da65c1-1fb2-40ba-8a02-41ca3ec7d153","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":40,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"initial","padding":{"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":5,"y":160,"width":359,"height":232,"basedOn":"54cdc3d5-2ac7-4aa9-9aa7-364e59edb3df","content":"<span style=\"font-weight: 700; color: #fff\">Want&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">to take your programming skills to the next level?<\/span>","tagName":"p","marginOffset":-33.629999999999995,"id":"d0a9448e-0825-4a27-afef-cf3753e1b025","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":23,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #9d4edd\">Check out <\/span><span style=\"font-weight: 700; color: #9d4edd\">Interviewbit's blog!<\/span><span style=\"color: #9d4edd\"> It's the perfect place to learn how to solve tricky time complexity problems and ace your next interview.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":6,"y":398,"width":367,"height":128,"basedOn":"83d740a7-250d-49cb-b7d9-9712d7d52b7d","id":"8f22a9ff-495f-41ca-b7f2-b60d1aa3ab6b","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"9dc0a40d-3421-405f-ab85-d52755a1b1d6","type":"effect-fly-in","flyInDir":"topToBottom","duration":1000,"delay":0,"targets":["d0a9448e-0825-4a27-afef-cf3753e1b025"]},{"id":"94e16e61-fbd4-449a-b495-f94e4141b349","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["8f22a9ff-495f-41ca-b7f2-b60d1aa3ab6b"]}],"id":"54247e4a-4c34-4389-9ef8-e2ad1e555aa1","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"a604e4f2-daba-4791-93e8-e72b50eb1cb3"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/courses\/programming\/time-complexity\/?utm_source=ib&utm_medium=webstories&utm_campaign=time-and-space-complexity-in-data-structure","icon":"https:\/\/assets.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz","needsProxy":false,"ctaText":"SWIPE UP"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"a604e4f2-daba-4791-93e8-e72b50eb1cb3","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4000,"height":6000,"sizes":{"full":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=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,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"85da65c1-1fb2-40ba-8a02-41ca3ec7d153","id":"3c9424cb-4aa0-4dce-a42d-0dee00f0187c","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":202,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"horizontal":0,"vertical":0},"x":20,"y":27,"width":81,"height":282,"basedOn":"aa4d9076-8e49-4cdc-9b36-e70e6fa1606d","content":"<span style=\"font-weight: 700; color: #fff\">\u201c<\/span>","id":"03bdd705-db4e-4eba-a9e4-58c957ad4e82","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":43,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"initial","padding":{"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":31,"y":168,"width":364,"height":202,"basedOn":"4a501d26-7978-408e-a405-3aa09dd9488d","content":"<span style=\"font-weight: 700; color: #fff\">Step Up Your Game with InterviewBit Web Stories<\/span>","tagName":"p","marginOffset":-13.199999999999989,"id":"aa7f92dd-b4c1-4689-94e6-019d8a9df230","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":23,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Don't miss out on the chance to upskill yourself with IntervewBit's engaging web stories.&nbsp;<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":30,"y":370,"width":340,"height":82,"basedOn":"059b3c60-05fd-4f35-a8b6-7e0f46822ae8","id":"84546f6a-9b1f-471d-92c0-3b63277bf573","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"2135c647-fda3-4dc9-83ed-6cd02345f87f","type":"effect-fly-in","flyInDir":"topToBottom","duration":1000,"delay":0,"targets":["aa7f92dd-b4c1-4689-94e6-019d8a9df230"]},{"id":"d81f0592-b006-4270-8dd9-607ef95a43c4","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["84546f6a-9b1f-471d-92c0-3b63277bf573"]}],"id":"04470c71-1a12-48d9-9981-fe03b72b0186","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"c8c07b9d-31d3-4acd-95a1-fd18af62c001"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/web-stories\/?utm_source=Ib&utm_medium=webstories&utm_campaign=unlimited-learning-with-engaging-web-stories","icon":"","needsProxy":false,"ctaText":"SWIPE UP"}}],"fonts":{"Anton":{"family":"Anton","fallbacks":["sans-serif"],"weights":[400],"styles":["regular"],"variants":[[0,400]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":2409,"des":-674,"tAsc":2409,"tDes":-674,"tLGap":0,"wAsc":2876,"wDes":674,"xH":1500,"capH":1760,"yMin":-667,"yMax":2874,"hAsc":2409,"hDes":-674,"lGap":0}},"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}},"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":[]}},"style_presets":{"colors":[{"color":{"r":157,"g":100,"b":32}},{"color":{"r":0,"g":0,"b":0}}],"textStyles":[]},"story_poster":{"id":18498,"url":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/04\/cropped-Time-and-Space-complexity-in-Data-Structure-Simplified-Guide.jpg","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/18476"}],"collection":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story"}],"about":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/wp\/v2\/types\/web-story"}],"author":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/users\/21"}],"version-history":[{"count":7,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/18476\/revisions"}],"predecessor-version":[{"id":18499,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/18476\/revisions\/18499"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/18498"}],"wp:attachment":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media?parent=18476"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=18476"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=18476"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/18476\/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}]}}