{"id":17621,"date":"2023-04-03T14:00:27","date_gmt":"2023-04-03T08:30:27","guid":{"rendered":"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&#038;p=17621"},"modified":"2023-04-03T12:58:40","modified_gmt":"2023-04-03T07:28:40","slug":"how-do-you-find-the-gcd-of-two-numbers","status":"publish","type":"web-story","link":"https:\/\/www.interviewbit.com\/blog\/web-stories\/how-do-you-find-the-gcd-of-two-numbers\/","title":{"rendered":"How Do You Find The GCD of Two Numbers?"},"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=Playfair+Display%3Awght%40700&amp;family=Roboto%3Awght%40400%3B700&amp;family=Darker+Grotesque%3Awght%40400%3B700&amp;family=Merriweather&amp;family=Poppins%3Awght%40700\" rel=\"stylesheet\"\/><link href=\"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2048&amp;h=1536&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>How Do You Find The GCD of Two Numbers?<\/title><link rel=\"canonical\" href=\"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&amp;p=17621\"\/><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=\"How Do You Find The GCD of Two Numbers?\" poster-portrait-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/04\/cropped-How-do-you-find-the-GCD-of-two-numbers_.png\"><amp-story-page id=\"d1e9a7c2-404d-415a-a2eb-eea40554940b\" auto-advance-after=\"7s\"><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#0c2640\">\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-8713361c-f03a-487f-9a51-a0f98b9ddadb\">\n<div style=\"position:absolute;width:237.03704%;height:100%;left:-68.51852%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2048&amp;h=1536&amp;fit=max\" alt=\"geometric shape digital wallpaper\" srcSet=\"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2048&amp;h=1536&amp;fit=max 2048w,https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1638&amp;h=1229&amp;fit=max 1638w,https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1228&amp;h=921&amp;fit=max 1228w,https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=819&amp;h=614&amp;fit=max 819w,https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=409&amp;h=307&amp;fit=max 409w,https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=255&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 107vh, 238vw\" 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;top:-6.31068%;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-96332792-fe49-4105-a90e-4f4a9d61ad55\">\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.6699%;top:64.07767%;width:92.96117%;height:21.52104%;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.5221932114882507% 0.5221932114882507% 0.5221932114882507% 0.5221932114882507% \/ 1.5037593984962405% 1.5037593984962405% 1.5037593984962405% 1.5037593984962405%\" id=\"el-95a17566-0eff-4d0a-a9a1-c1eab9f25976\">\n<h1 id=\"how-do-you-find-the-gcd-of-two-numbers\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.7389033942558747% 0;font-family:&quot;Playfair Display&quot;,serif;font-size:0.647249em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">How Do You Find The GCD of Two Numbers?<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.6699%;top:86.8932%;width:93.20388%;height:4.36893%;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.5208333333333333% 0.5208333333333333% 0.5208333333333333% 0.5208333333333333% \/ 7.4074074074074066% 7.4074074074074066% 7.4074074074074066% 7.4074074074074066%\" id=\"el-cd5e9604-8a06-49c9-ac81-19784a284f87\">\n<h3 id=\"different-approaches-to-look-out-for\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08422851562499972% 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: #347eff\">Different Approaches to Look Out For<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.6699%;top:94.66019%;width:24.75728%;height:10.35599%;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-1635eb8e-c97a-4bdf-98ea-5a430567b7fd\">\n<div style=\"position:absolute;width:100%;height:120.4724%;left:0%;top:-10.2362%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/media.tenor.com\/8uSPaXIUm7UAAAAi\/arrow.gif\" alt=\"Arrow Sticker\" srcSet=\"https:\/\/media.tenor.com\/8uSPaXIUm7UAAAAi\/arrow.gif 127w,https:\/\/media.tenor.com\/8uSPaXIUm7UAAAAk\/arrow.gif 90w\" sizes=\"(min-width: 1024px) 11vh, 25vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"ae40903e-5d0a-4461-bb14-d9db3bfd6b21\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-d747be10-4659-4548-a3a7-75babc8dd3bd\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-f7bb6fad-bc65-4e11-9f40-ad21a81950d2\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-4850766d-d308-4976-b687-99f3e3b0c09c [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-ffb042a1-aaf9-44d2-ba27-20bc0cd16ec0\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-961e7e4f-8b95-444b-96ed-bd6958b8d08e\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#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-4850766d-d308-4976-b687-99f3e3b0c09c\" 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-76638dd5-e923-4c37-8934-99f03447a159\">\n<div style=\"position:absolute;width:266.31253%;height:100%;left:-83.15627%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max\" alt=\"woman in black shirt using laptop computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max 6016w,https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4812&amp;h=3212&amp;fit=max 4812w,https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3609&amp;h=2409&amp;fit=max 3609w,https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2406&amp;h=1606&amp;fit=max 2406w,https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1203&amp;h=803&amp;fit=max 1203w,https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 120vh, 267vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;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-a3bb84b5-e208-4e2a-936f-5611c92d7d16\">\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:29.61165%;width:86.40777%;height:30.90615%;opacity:1\">\n<div id=\"anim-d747be10-4659-4548-a3a7-75babc8dd3bd\" 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-f7bb6fad-bc65-4e11-9f40-ad21a81950d2\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5617977528089888% 0.5617977528089888% 0.5617977528089888% 0.5617977528089888% \/ 1.0471204188481675% 1.0471204188481675% 1.0471204188481675% 1.0471204188481675%\" id=\"el-01463911-9ace-441d-a6f8-4307552a5552\">\n<h2 id=\"given-two-non-negative-integers-a-b-find-the-gcd-greatest-common-divisor-i-e-the-largest-number-which-is-a-divisor-of-both-a-b-its-commonly-denoted-by-gcdab\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Given two non-negative integers a &amp; b. Find the GCD (greatest common divisor), i.e., the largest number which is a divisor of both a &amp; b. It\u2019s commonly denoted by gcd(a,b).<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:11.8932%;top:92.23301%;width:76.45631%;height:3.72168%;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.6349206349206349% 0.6349206349206349% 0.6349206349206349% 0.6349206349206349% \/ 8.695652173913043% 8.695652173913043% 8.695652173913043% 8.695652173913043%\" id=\"el-da20d7d5-9a1a-4ad3-95e4-611fc96a7803\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08928571428571429% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Ready to dive in?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:4.69256%;width:100%;height:10.84142%;opacity:1\">\n<div id=\"anim-ffb042a1-aaf9-44d2-ba27-20bc0cd16ec0\" 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-961e7e4f-8b95-444b-96ed-bd6958b8d08e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 2.9850746268656714% 2.9850746268656714% 2.9850746268656714% 2.9850746268656714%;background-clip:content-box;background-color:#052258\" id=\"el-a8d7c8ba-a4d7-4d8f-b541-b4308bde033d\">\n<h1 id=\"problem-statement\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.379611650485437% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.695793em;line-height:0.9;text-align:center;padding:0.9708737864077669% 1.9417475728155338%;color:#000000\"><span><span style=\"font-weight: 700; color: #3372e0\">Problem Statement<\/span><\/span><\/h1>\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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/Josephus-Problem.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=how-do-you-find-the-gcd-of-two-numbers\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"89c46d12-909f-4a7b-b582-777f409a4ac2\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-6b7bee4a-e259-4d2c-a234-010d5d2becbb [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-408898e5-3912-4e89-8044-fde596d90559\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-f7e49575-5555-4bd4-8bf5-2e5838f74754\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#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-6b7bee4a-e259-4d2c-a234-010d5d2becbb\" 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-76638dd5-e923-4c37-8934-99f03447a159\">\n<div style=\"position:absolute;width:266.31253%;height:100%;left:-83.15627%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max\" alt=\"photography of three women sits beside table inside room during daytime\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max 6016w,https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4812&amp;h=3212&amp;fit=max 4812w,https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3609&amp;h=2409&amp;fit=max 3609w,https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2406&amp;h=1606&amp;fit=max 2406w,https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1203&amp;h=803&amp;fit=max 1203w,https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 120vh, 267vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;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-90701d05-70b8-48ba-9066-72199e99b3ce\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.28155%;top:30.74434%;width:85.43689%;height:45.46926%;opacity:1\">\n<div id=\"anim-408898e5-3912-4e89-8044-fde596d90559\" 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-f7e49575-5555-4bd4-8bf5-2e5838f74754\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5681818181818182% 0.5681818181818182% 0.5681818181818182% 0.5681818181818182% \/ 0.7117437722419928% 0.7117437722419928% 0.7117437722419928% 0.7117437722419928%\" id=\"el-beb9cd08-b670-4372-bebb-c5ab5af8e430\">\n<h2 id=\"examples-input-a32-b20-output-4-explanation-4-is-the-largest-factor-that-divides-both-of-the-numbers\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5170454545454544% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #347eff\">Examples-&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 700; color: #fff\">Input:<\/span><span style=\"color: #fff\"> a=32, b=20&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 700; color: #fff\">Output: <\/span><span style=\"color: #fff\">4&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 700; color: #fff\">Explanation: <\/span><span style=\"color: #fff\">4 is the largest factor that divides both of the numbers.<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.48544%;top:88.34951%;width:99.75728%;height:7.76699%;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.48661800486618007% 0.48661800486618007% 0.48661800486618007% 0.48661800486618007% \/ 4.166666666666666% 4.166666666666666% 4.166666666666666% 4.166666666666666%\" id=\"el-4c32dd9a-23d4-4820-a7f1-919a58c1eea3\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.06843065693430657% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Explore more examples for a better understanding<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg\"><a href=\"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=how-do-you-find-the-gcd-of-two-numbers\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"de3e1538-90d1-44c3-9dc1-e9eb15aea441\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-59bb40c1-53e9-427c-98a4-a5bbf5144fc2\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-0fc4b187-5c4d-4f8b-8915-f4e2387d5c54\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-d0d840eb-7750-434e-972a-1a39656e2b8c [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-2369a078-73a6-413d-8930-2d44e7ac4851\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-bba4c3cf-b713-4f19-8d2e-5dfea4522511\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#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-d0d840eb-7750-434e-972a-1a39656e2b8c\" 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-76638dd5-e923-4c37-8934-99f03447a159\">\n<div style=\"position:absolute;width:266.31253%;height:100%;left:-83.15627%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max\" alt=\"photography of people inside room during daytime\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max 6016w,https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4812&amp;h=3212&amp;fit=max 4812w,https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3609&amp;h=2409&amp;fit=max 3609w,https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2406&amp;h=1606&amp;fit=max 2406w,https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1203&amp;h=803&amp;fit=max 1203w,https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 120vh, 267vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;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-ca607fc3-47ce-46f2-be0f-336346011aab\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.76699%;top:33.00971%;width:84.46602%;height:30.90615%;opacity:1\">\n<div id=\"anim-59bb40c1-53e9-427c-98a4-a5bbf5144fc2\" 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-0fc4b187-5c4d-4f8b-8915-f4e2387d5c54\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5747126436781609% 0.5747126436781609% 0.5747126436781609% 0.5747126436781609% \/ 1.0471204188481675% 1.0471204188481675% 1.0471204188481675% 1.0471204188481675%\" id=\"el-91e1f96d-98c1-4640-bbd8-2ceb2f611100\">\n<h2 id=\"from-mina-b-to-1-we-can-traverse-over-all-the-numbers-and-determine-if-the-current-number-divides-both-a-b-or-not-if-it-does-then-it-will-be-the-gcd-of-a-and-b\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5344827586206895% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">From min(A, B) to 1, we can traverse over all the numbers and determine if the current number divides both A &amp; B or not. If it does, then it will be the GCD of A and B.<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.76699%;top:91.90939%;width:86.16505%;height:3.72168%;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% \/ 8.695652173913043% 8.695652173913043% 8.695652173913043% 8.695652173913043%\" id=\"el-51a3ba0c-9588-4cc8-b399-d72a7d09fced\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07922535211267606% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to see code implementation?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:4.69256%;width:100%;height:16.99029%;opacity:1\">\n<div id=\"anim-2369a078-73a6-413d-8930-2d44e7ac4851\" 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-bba4c3cf-b713-4f19-8d2e-5dfea4522511\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 1.9047619047619049% 1.9047619047619049% 1.9047619047619049% 1.9047619047619049%;background-clip:content-box;background-color:#052258\" id=\"el-3c4bd047-23c2-4cdd-9172-fc4b8e638598\">\n<h1 id=\"approach-1-simple-approach\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.379611650485437% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.695793em;line-height:0.9;text-align:center;padding:0.9708737864077669% 1.9417475728155338%;color:#000000\"><span><span style=\"font-weight: 700; color: #3372e0\">Approach 1: Simple Approach<\/span><\/span><\/h1>\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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/Banner-2.jpg\"><a href=\"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=how-do-you-find-the-gcd-of-two-numbers\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"9e5d6a53-c17c-415a-b590-e6df6d6fd3f4\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-72f05fd7-9b73-431b-9d8c-e70e8fd2c98c\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-bccd9c38-b855-465c-aac9-fdea3aa5a831\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-03cbf964-6df2-47da-b215-5c1213f2d66a [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#404040\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-03cbf964-6df2-47da-b215-5c1213f2d66a\" 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-0173d9f5-2320-425e-80b2-65ec1d738f9c\">\n<div style=\"position:absolute;width:118.4973%;height:100%;left:-9.24865%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1861&amp;h=2792&amp;fit=max\" alt=\"man sitting while having coffee and using laptop\" srcSet=\"https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1861&amp;h=2792&amp;fit=max 1861w,https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1488&amp;h=2232&amp;fit=max 1488w,https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1116&amp;h=1674&amp;fit=max 1116w,https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=744&amp;h=1116&amp;fit=max 744w,https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=372&amp;h=558&amp;fit=max 372w,https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&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;top:-6.31068%;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-f24b57dc-e5b9-416a-be22-4a071ebd4794\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.52427%;top:35.92233%;width:84.46602%;height:16.34304%;opacity:1\">\n<div id=\"anim-72f05fd7-9b73-431b-9d8c-e70e8fd2c98c\" 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-bccd9c38-b855-465c-aac9-fdea3aa5a831\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5747126436781609% 0.5747126436781609% 0.5747126436781609% 0.5747126436781609% \/ 1.9801980198019802% 1.9801980198019802% 1.9801980198019802% 1.9801980198019802%\" id=\"el-e8aea5b7-d448-4343-8e51-1d97745db66a\">\n<h2 id=\"time-complexity-omina-bspace-complexity-o1\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5344827586206895% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #347eff\">Time complexity: <\/span><span style=\"color: #fff\">O(min(A, B))<\/span><\/p>\n<p><span style=\"font-weight: 700; color: #347eff\">Space complexity: <\/span><span style=\"color: #fff\">O(1)<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.79612%;top:91.90939%;width:86.16505%;height:3.72168%;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% \/ 8.695652173913043% 8.695652173913043% 8.695652173913043% 8.695652173913043%\" id=\"el-0fc606e4-80f9-46ea-8160-365f08809d9b\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07922535211267606% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to explore other approaches?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg\"><a href=\"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=how-do-you-find-the-gcd-of-two-numbers\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"cf434d3e-3132-4b3c-87e0-5ae80860d37a\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-40952054-7f52-4229-b14b-839e97649d26 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-61c4afb6-c7b0-41fb-877d-d52337ca8d93\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-236e54b8-e3be-4f56-b412-52a9719b4012\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-ca1ff4c6-3d5f-4e35-85fe-dc93437223ce\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-17af05c1-417b-4edf-adb4-033b131d9b44\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#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-40952054-7f52-4229-b14b-839e97649d26\" 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-4bea2dab-2033-49a6-a9a8-b6dc345abb9c\">\n<div style=\"position:absolute;width:266.31253%;height:100%;left:-83.15627%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max\" alt=\"three women sitting beside wooden table\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max 6016w,https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4812&amp;h=3212&amp;fit=max 4812w,https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3609&amp;h=2409&amp;fit=max 3609w,https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2406&amp;h=1606&amp;fit=max 2406w,https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1203&amp;h=803&amp;fit=max 1203w,https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 120vh, 267vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;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-2ad5ac42-0aab-4934-a886-dd828e311d1a\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.28155%;top:32.8479%;width:85.43689%;height:35.76052%;opacity:1\">\n<div id=\"anim-61c4afb6-c7b0-41fb-877d-d52337ca8d93\" 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-236e54b8-e3be-4f56-b412-52a9719b4012\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5681818181818182% 0.5681818181818182% 0.5681818181818182% 0.5681818181818182% \/ 0.904977375565611% 0.904977375565611% 0.904977375565611% 0.904977375565611%\" id=\"el-10752c12-70a7-4a16-8ef9-0e5287245dc9\">\n<h2 id=\"subtract-smaller-numbers-from-larger-ones-when-we-want-to-reduce-larger-numbers-it-does-not-change-gcd-alternatively-we-can-divide-the-smaller-number-the-algorithm-stops-when-the-remainder0\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5170454545454544% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Subtract smaller numbers from larger ones when we want to reduce larger numbers. It does not change GCD. Alternatively, we can divide the smaller number &amp; the algorithm stops when the remainder=0.<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.76699%;top:91.90939%;width:86.16505%;height:3.72168%;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% \/ 8.695652173913043% 8.695652173913043% 8.695652173913043% 8.695652173913043%\" id=\"el-803e3c31-3dbb-4a61-a81b-1ee04e31c5fb\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07922535211267606% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to see code implementation?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:4.69256%;width:100%;height:16.99029%;opacity:1\">\n<div id=\"anim-ca1ff4c6-3d5f-4e35-85fe-dc93437223ce\" 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-17af05c1-417b-4edf-adb4-033b131d9b44\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 1.9047619047619049% 1.9047619047619049% 1.9047619047619049% 1.9047619047619049%;background-clip:content-box;background-color:#052258\" id=\"el-7a0df445-64b7-4eaf-9f68-f4348a339e00\">\n<h1 id=\"approach-2-euclids-algorithm\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.379611650485437% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.695793em;line-height:0.9;text-align:center;padding:0.9708737864077669% 1.9417475728155338%;color:#000000\"><span><span style=\"font-weight: 700; color: #3372e0\">Approach 2: <\/span><span style=\"font-weight: 700; color: #3372e0\">Euclid\u2019s Algorithm<\/span><\/span><\/h1>\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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg\"><a href=\"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=how-do-you-find-the-gcd-of-two-numbers\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"34c7e9da-4cb7-43c7-9a7d-a129bf8bcc3d\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-39283806-c222-4d07-9eaf-2d7e0abf20ab\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-ba36cab3-9f33-43ac-a3ce-ba3629c7a15d\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-88ca5db1-0a28-4625-8261-19f17fc7adc1 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(-3.552713678800501e-15%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#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-88ca5db1-0a28-4625-8261-19f17fc7adc1\" 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-abc994fd-18e5-4821-9439-6a805f711046\">\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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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;top:-6.31068%;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-9d8c0a98-a6c9-4ae2-a1bc-d25bb9677246\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.03883%;top:36.8932%;width:85.92233%;height:21.19741%;opacity:1\">\n<div id=\"anim-39283806-c222-4d07-9eaf-2d7e0abf20ab\" 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-ba36cab3-9f33-43ac-a3ce-ba3629c7a15d\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5649717514124294% 0.5649717514124294% 0.5649717514124294% 0.5649717514124294% \/ 1.5267175572519083% 1.5267175572519083% 1.5267175572519083% 1.5267175572519083%\" id=\"el-2f2b8f17-1cf9-4f2b-9fa2-e5b2aa945d76\">\n<h2 id=\"time-complexity-olog-mina-b-space-complexity-o1\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.5084745762711864% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #347eff\">Time complexity:<\/span><span style=\"color: #347eff\"> <\/span><span style=\"color: #fff\">O(Log min(a, b)).&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 700; color: #347eff\">Space complexity: <\/span><span style=\"color: #fff\">O(1)<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.76699%;top:91.90939%;width:86.16505%;height:3.72168%;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% \/ 8.695652173913043% 8.695652173913043% 8.695652173913043% 8.695652173913043%\" id=\"el-a24f0fc6-5ec8-471d-b70b-7a3b86d90031\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.07922535211267606% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.323625em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Want to see code implementation?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg\"><a href=\"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=how-do-you-find-the-gcd-of-two-numbers\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"936b559d-4dc0-423a-9d89-b4d4ba99b081\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-349c1345-f06a-4741-902c-ad7476cfb787\",\"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-ba32ae09-7bf9-4474-b029-07bd1b09aaf2\",\"keyframes\":{\"transform\":[\"translate3d(-105.58659%, 0px, 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-cf1f9c11-6304-4a44-83e6-9ccac99f3c83\",\"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-732b15c0-654f-4317-93b9-919a5eb84aba\",\"keyframes\":{\"transform\":[\"translate3d(0px, -344.44444%, 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-07cb1230-628a-4b45-910c-b13bf7f662ea\">\n<div style=\"position:absolute;width:267.16887%;height:100%;left:-83.58443%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4256&amp;h=2832&amp;fit=max\" alt=\"photo of outer space\" srcSet=\"https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4256&amp;h=2832&amp;fit=max 4256w,https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3404&amp;h=2265&amp;fit=max 3404w,https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2553&amp;h=1699&amp;fit=max 2553w,https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1702&amp;h=1133&amp;fit=max 1702w,https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=851&amp;h=566&amp;fit=max 851w,https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&amp;ixlib=rb-4.0.3&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-color:rgba(0,0,0,0.4)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.4)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;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-380e77ec-becc-4e13-b03c-a3c1bed377c3\">\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:68.4466%;width:86.8932%;height:21.19741%;opacity:1\">\n<div id=\"anim-349c1345-f06a-4741-902c-ad7476cfb787\" 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-ba32ae09-7bf9-4474-b029-07bd1b09aaf2\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-105.58659%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5586592178770949% 0.5586592178770949% 0.5586592178770949% 0.5586592178770949% \/ 1.5267175572519083% 1.5267175572519083% 1.5267175572519083% 1.5267175572519083%\" id=\"el-faf98ac9-3bde-42ce-ba57-b4ed553c9aaf\">\n<h2 id=\"start-your-journey-now-and-learn-how-to-determine-the-gcd-of-two-numbers-with-code-implementation\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.4916201117318435% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #347eff\">Start your journey now and learn how to determine the GCD of two numbers with code implementation.<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.61165%;top:46.1165%;width:86.40777%;height:22.65372%;opacity:1\">\n<div id=\"anim-cf1f9c11-6304-4a44-83e6-9ccac99f3c83\" 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-732b15c0-654f-4317-93b9-919a5eb84aba\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -344.44444%, 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.5617977528089888% 0.5617977528089888% 0.5617977528089888% 0.5617977528089888% \/ 1.4285714285714286% 1.4285714285714286% 1.4285714285714286% 1.4285714285714286%\" id=\"el-6bcfeeb7-4083-4a82-a8c2-5231fcf41193\">\n<h2 id=\"ready-to-level-up-your-coding-skills\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.552106741573033% 0;font-family:&quot;Merriweather&quot;,serif;font-size:0.695793em;line-height:1;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Ready to level up your coding skills?<\/span><\/span><\/h2>\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:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg\"><a href=\"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=how-do-you-find-the-gcd-of-two-numbers\" rel=\"\">Click here<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"736f464b-c940-47d7-a25d-3cfd57bdec11\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-bb5a34e9-7f31-48e9-984b-10b3bc718a11\",\"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-f4acff31-daf5-4920-a1cb-5c896e4f3ae5\",\"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-01c3aa92-4a29-412e-a4c0-ab8d495510cc\",\"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-fdfa90dd-e93c-45d6-8742-88d82be2eacf\",\"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-5e0b0d71-adf4-40a7-b66a-df56c38694fc\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"man using laptop\" srcSet=\"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;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-14c4f8e1-e8cb-4904-9519-cbcd2f86b4f3\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.52427%;top:27.18447%;width:88.34951%;height:32.68608%;opacity:1\">\n<div id=\"anim-bb5a34e9-7f31-48e9-984b-10b3bc718a11\" 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-f4acff31-daf5-4920-a1cb-5c896e4f3ae5\" 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-4a501d26-7978-408e-a405-3aa09dd9488d\">\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-01c3aa92-4a29-412e-a4c0-ab8d495510cc\" 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-fdfa90dd-e93c-45d6-8742-88d82be2eacf\" 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-059b3c60-05fd-4f35-a8b6-7e0f46822ae8\">\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 style=\"position:absolute;pointer-events:none;left:4.85437%;top:4.36893%;width:19.66019%;height:45.79288%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-e0a006e6-161a-41fd-bd99-ad9adeb2d6a5\">\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>\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":"In this web story, we will demonstrate how to find the GCD of two numbers. Also, check out the code implementation.\n","protected":false},"author":21,"featured_media":17646,"template":"","meta":{"_daextam_enable_autolinks":"","web_stories_products":[],"web_stories_publisher_logo":1082,"web_stories_poster":[]},"web_story_category":[1944],"web_story_tag":[1945,2640],"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":247,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"8713361c-f03a-487f-9a51-a0f98b9ddadb","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#0c2640","blurHash":"L32F_aR4MItmROkCt8WAMHo#tmVs","type":"image","mimeType":"image\/jpeg","creationDate":"2018-04-17T10:34:35Z","src":"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=2048&h=1536&fit=max","width":2048,"height":1536,"id":"media\/unsplash:oyXis2kALVg","alt":"geometric shape digital wallpaper","sizes":{"full":{"file":"media\/unsplash:oyXis2kALVg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=2048&h=1536&fit=max","mimeType":"image\/jpeg","width":2048,"height":1536},"large":{"file":"media\/unsplash:oyXis2kALVg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=1638&h=1229&fit=max","mimeType":"image\/jpeg","width":1638,"height":1229},"1228_921":{"file":"media\/unsplash:oyXis2kALVg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=1228&h=921&fit=max","mimeType":"image\/jpeg","width":1228,"height":921},"819_614":{"file":"media\/unsplash:oyXis2kALVg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=819&h=614&fit=max","mimeType":"image\/jpeg","width":819,"height":614},"409_307":{"file":"media\/unsplash:oyXis2kALVg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=409&h=307&fit=max","mimeType":"image\/jpeg","width":409,"height":307},"web_stories_thumbnail":{"file":"media\/unsplash:oyXis2kALVg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1523961131990-5ea7c61b2107?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=340&h=255&fit=max","mimeType":"image\/jpeg","width":340,"height":255}},"attribution":{"author":{"displayName":"fabio","url":"https:\/\/unsplash.com\/@fabioha?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AXhJFEce%2BzWZmFhsx%2BwKiMk\/TFXpJ1tVoa1hIN%2BDsa2yY1QPy7IzOuDP0Lpq%2BWC4PfcYVTdKXcdjn3e8QHkxqHyYukjVlhRB%2Bb0XtSZ\/l9REc3wmE8jmw6MHTFZpVDZ2UBowVcJzY3c8UkrIYQ6IXxjYGK5G3BMTfOea2Vx2h5lDFGHp7WHpCvFFad5PzzFm2ysgK0srrUclNhvCpb7QbkLG4rJJzeneTzBvjfuqUcMyVE4K6hc%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":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"bcb61e91-e319-4af6-9942-761a6dccae4d","id":"96332792-fe49-4105-a90e-4f4a9d61ad55","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Playfair Display"},"fontSize":40,"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\">How Do You Find The GCD of Two Numbers?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":11,"y":396,"width":383,"height":133,"basedOn":"d3a60bc4-7153-47e4-b0a7-e025488ebee6","id":"95a17566-0eff-4d0a-a9a1-c1eab9f25976","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: #347eff\">Different Approaches to Look Out For<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":11,"y":537,"width":384,"height":27,"basedOn":"e5b0ef4a-2875-4ea0-b76a-2e4842af3a52","id":"cd5e9604-8a06-49c9-ac81-19784a284f87","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#c9c9c9","type":"image","mimeType":"image\/gif","creationDate":"2021-06-15T20:48:37Z","src":"https:\/\/media.tenor.com\/8uSPaXIUm7UAAAAi\/arrow.gif","width":127,"height":96,"id":"media\/tenor:17502271734916881333","alt":"Arrow Sticker","sizes":{"full":{"file":"media\/tenor:17502271734916881333","sourceUrl":"https:\/\/media.tenor.com\/8uSPaXIUm7UAAAAi\/arrow.gif","mimeType":"image\/gif","width":127,"height":96},"large":{"file":"media\/tenor:17502271734916881333","sourceUrl":"https:\/\/c.tenor.com\/8uSPaXIUm7UAAAAq\/tenor.gif","mimeType":"image\/gif","width":127,"height":96},"127_96":{"file":"media\/tenor:17502271734916881333","sourceUrl":"https:\/\/media.tenor.com\/8uSPaXIUm7UAAAAj\/arrow.gif","mimeType":"image\/gif","width":127,"height":96},"web_stories_thumbnail":{"file":"media\/tenor:17502271734916881333","sourceUrl":"https:\/\/media.tenor.com\/8uSPaXIUm7UAAAAk\/arrow.gif","mimeType":"image\/gif","width":90,"height":68}},"attribution":{"author":{"displayName":"BaqueG","url":"https:\/\/tenor.com\/users\/BaqueG"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AWJwhCGn%2BblUDo95R408YCZKIfyn7yyguspEYe\/\/fKJgzBIWZN0ChVCN8Rsn9SkHv8fUjZj07Pze7bYjLhpJnosB5yKEcbo%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"x":11,"y":585,"width":102,"height":64,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"basedOn":"3f59b2d3-ad4a-43b4-af04-92e0f580c1f9","id":"1635eb8e-c97a-4bdf-98ea-5a430567b7fd","type":"image"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"d1e9a7c2-404d-415a-a2eb-eea40554940b","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":"0261f38d-d8bd-4b47-9896-610bb81df005"},"animations":[]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":220,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"76638dd5-e923-4c37-8934-99f03447a159","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#262626","blurHash":"LFAmC_58$%I:~VE2t8W?WrflIo%1","type":"image","mimeType":"image\/jpeg","creationDate":"2019-11-07T22:13:50Z","src":"https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&ixlib=rb-4.0.3&fm=jpg&w=6016&h=4016&fit=max","width":6016,"height":4016,"id":"media\/unsplash:L85a1k-XqH8","alt":"woman in black shirt using laptop computer","sizes":{"full":{"file":"media\/unsplash:L85a1k-XqH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&ixlib=rb-4.0.3&fm=jpg&w=6016&h=4016&fit=max","mimeType":"image\/jpeg","width":6016,"height":4016},"large":{"file":"media\/unsplash:L85a1k-XqH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&ixlib=rb-4.0.3&fm=jpg&w=4812&h=3212&fit=max","mimeType":"image\/jpeg","width":4812,"height":3212},"3609_2409":{"file":"media\/unsplash:L85a1k-XqH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&ixlib=rb-4.0.3&fm=jpg&w=3609&h=2409&fit=max","mimeType":"image\/jpeg","width":3609,"height":2409},"2406_1606":{"file":"media\/unsplash:L85a1k-XqH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&ixlib=rb-4.0.3&fm=jpg&w=2406&h=1606&fit=max","mimeType":"image\/jpeg","width":2406,"height":1606},"1203_803":{"file":"media\/unsplash:L85a1k-XqH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&ixlib=rb-4.0.3&fm=jpg&w=1203&h=803&fit=max","mimeType":"image\/jpeg","width":1203,"height":803},"web_stories_thumbnail":{"file":"media\/unsplash:L85a1k-XqH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164713712-03790a178651?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzNXx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2NjM2MDY5Ng&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"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=AQBR4tpUK7LmuVs8hywyG7ZNT\/IANFQMT5EQVFmKXUhmFGJLcYOybJyAHjY5cN7LFcg7\/au35WOJNwQa8eFQErZFjDPC09pKVbcd7nFwi4Dne6aJ\/agIcZvksCWUxhFQRuXH8Lqv89gRqDmAwh1d0MLN\/9e6EOXZ\/1n4ZlYPaSWSIHgSXZJvPnoi8FQcrOShyJqInuAHqCREV07vTahGggYgiw\/MG1Clw7Kbb%2BGCxpQYdAzcxRorXs5\/MGm4\/d5uHS8vkKrc"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"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":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"61b32cde-1c85-4a55-adbb-d0e5621c0185","id":"a3bb84b5-e208-4e2a-936f-5611c92d7d16","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Given two non-negative integers a &amp; b. Find the GCD (greatest common divisor), i.e., the largest number which is a divisor of both a &amp; b. It\u2019s commonly denoted by gcd(a,b).<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":356,"height":191,"basedOn":"f97fd49e-97ee-4616-af20-f3080ddf1fb7","x":28,"y":183,"groupId":null,"id":"01463911-9ace-441d-a6f8-4307552a5552","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">Ready to dive in?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":49,"y":570,"width":315,"height":23,"id":"da20d7d5-9a1a-4ad3-95e4-611fc96a7803"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":43,"backgroundColor":{"color":{"r":5,"g":34,"b":88}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"font-weight: 700; color: #3372e0\">Problem Statement<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":29,"width":412,"height":67,"marginOffset":-33.45600000000001,"basedOn":"86e06c36-deb2-4889-a931-b366ce91543d","groupId":null,"id":"a8d7c8ba-a4d7-4d8f-b541-b4308bde033d","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"c31d02c8-b413-4318-a5d0-16b804300858","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["01463911-9ace-441d-a6f8-4307552a5552"]},{"id":"9378c669-de46-4b31-8918-7ba002c39f3e","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["76638dd5-e923-4c37-8934-99f03447a159"]},{"targets":["a8d7c8ba-a4d7-4d8f-b541-b4308bde033d"],"id":"ce49c148-43b4-4992-b112-5e4de848aeed","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0}],"id":"ae40903e-5d0a-4461-bb14-d9db3bfd6b21","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":"01a3f12e-8e51-4c1f-a11e-a008881031f6"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&utm_medium=webstories&utm_campaign=how-do-you-find-the-gcd-of-two-numbers","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/Josephus-Problem.png","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":220,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"76638dd5-e923-4c37-8934-99f03447a159","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LWMZ{[?wH?%g?ufmo|x]v}Nw-pW;","type":"image","mimeType":"image\/jpeg","creationDate":"2019-11-07T22:10:23Z","src":"https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&ixlib=rb-4.0.3&fm=jpg&w=6016&h=4016&fit=max","width":6016,"height":4016,"id":"media\/unsplash:UcZcsHSp8o4","alt":"photography of three women sits beside table inside room during daytime","sizes":{"full":{"file":"media\/unsplash:UcZcsHSp8o4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&ixlib=rb-4.0.3&fm=jpg&w=6016&h=4016&fit=max","mimeType":"image\/jpeg","width":6016,"height":4016},"large":{"file":"media\/unsplash:UcZcsHSp8o4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&ixlib=rb-4.0.3&fm=jpg&w=4812&h=3212&fit=max","mimeType":"image\/jpeg","width":4812,"height":3212},"3609_2409":{"file":"media\/unsplash:UcZcsHSp8o4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&ixlib=rb-4.0.3&fm=jpg&w=3609&h=2409&fit=max","mimeType":"image\/jpeg","width":3609,"height":2409},"2406_1606":{"file":"media\/unsplash:UcZcsHSp8o4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&ixlib=rb-4.0.3&fm=jpg&w=2406&h=1606&fit=max","mimeType":"image\/jpeg","width":2406,"height":1606},"1203_803":{"file":"media\/unsplash:UcZcsHSp8o4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&ixlib=rb-4.0.3&fm=jpg&w=1203&h=803&fit=max","mimeType":"image\/jpeg","width":1203,"height":803},"web_stories_thumbnail":{"file":"media\/unsplash:UcZcsHSp8o4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574397-dd250bc8a598?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3OHx8c29mdHdhcmUlMjBkZXZlbG9wZXJ8ZW58MHx8fHwxNjcwMzM2Mjk2&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"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=AWJwhCECO\/YKgPJJp2cmQoF6fUCVlaVawJi1ntit\/8j7ClCj7cknUXKaOpOp1thzacWJX4pSUqZ9Y4fmKuDsNeyKx0XmP30KEVz1kWhBqH4iEXS8SDPA\/RxBUrcYV0DlIj4xoeNyBGn\/B5NXfm\/1TL01QkeZrI7Gtv1WSwTL6DhBA7Uc3OHvyaOY2XzssGoVYPC%2BBYvcw3Inmf9P4%2BUsso64vm\/JnRKnuabILESqBgWi5devJHX2fmloIpytkA4Zh\/E5HA%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":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":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"a3bb84b5-e208-4e2a-936f-5611c92d7d16","id":"90701d05-70b8-48ba-9066-72199e99b3ce","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":30,"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: #347eff\">Examples-&nbsp;<\/span>\n\n<span style=\"font-weight: 700; color: #fff\">Input:<\/span><span style=\"color: #fff\"> a=32, b=20&nbsp;<\/span>\n\n<span style=\"font-weight: 700; color: #fff\">Output: <\/span><span style=\"color: #fff\">4&nbsp;<\/span>\n\n<span style=\"font-weight: 700; color: #fff\">Explanation: <\/span><span style=\"color: #fff\">4 is the largest factor that divides both of the numbers.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":352,"height":281,"basedOn":"94bfec13-62c1-4925-8c9b-5e13821d634a","x":30,"y":190,"groupId":null,"id":"beb9cd08-b670-4372-bebb-c5ab5af8e430","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Explore more examples for a better understanding<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":-2,"y":546,"width":411,"height":48,"basedOn":"da20d7d5-9a1a-4ad3-95e4-611fc96a7803","id":"4c32dd9a-23d4-4820-a7f1-919a58c1eea3","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"0982aa78-ae67-43a7-a657-68a501969d69","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["76638dd5-e923-4c37-8934-99f03447a159"]},{"id":"125d0481-b8ed-4e8a-a717-01c0d72336d0","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["beb9cd08-b670-4372-bebb-c5ab5af8e430"]}],"id":"89c46d12-909f-4a7b-b582-777f409a4ac2","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":"283242a8-1ccf-4e4a-b65c-4ffac79f766a"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&utm_medium=webstories&utm_campaign=how-do-you-find-the-gcd-of-two-numbers","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":220,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"76638dd5-e923-4c37-8934-99f03447a159","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#d9d9d9","blurHash":"LjK^yzv|NGt6_NWBoKxubckqIobc","type":"image","mimeType":"image\/jpeg","creationDate":"2019-11-07T22:10:23Z","src":"https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&ixlib=rb-4.0.3&fm=jpg&w=6016&h=4016&fit=max","width":6016,"height":4016,"id":"media\/unsplash:rg1y72eKw6o","alt":"photography of people inside room during daytime","sizes":{"full":{"file":"media\/unsplash:rg1y72eKw6o","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&ixlib=rb-4.0.3&fm=jpg&w=6016&h=4016&fit=max","mimeType":"image\/jpeg","width":6016,"height":4016},"large":{"file":"media\/unsplash:rg1y72eKw6o","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&ixlib=rb-4.0.3&fm=jpg&w=4812&h=3212&fit=max","mimeType":"image\/jpeg","width":4812,"height":3212},"3609_2409":{"file":"media\/unsplash:rg1y72eKw6o","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&ixlib=rb-4.0.3&fm=jpg&w=3609&h=2409&fit=max","mimeType":"image\/jpeg","width":3609,"height":2409},"2406_1606":{"file":"media\/unsplash:rg1y72eKw6o","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&ixlib=rb-4.0.3&fm=jpg&w=2406&h=1606&fit=max","mimeType":"image\/jpeg","width":2406,"height":1606},"1203_803":{"file":"media\/unsplash:rg1y72eKw6o","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&ixlib=rb-4.0.3&fm=jpg&w=1203&h=803&fit=max","mimeType":"image\/jpeg","width":1203,"height":803},"web_stories_thumbnail":{"file":"media\/unsplash:rg1y72eKw6o","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574511-73c773193279?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMDh8fHNvZnR3YXJlJTIwZGV2ZWxvcGVyfGVufDB8fHx8MTY3MDMzNjMzMA&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"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=AWJwhCFcgWOB8O4wGdNrsMGyJwnTqyKLehN0FuFqNYyrxJVXxXJq6rfp7OjoSTDQSEVFYBxu3UXDi743W3AyZLSELiTtzAmW9z4CAmO7oz43orQ9AeVnbJo4y%2BuzJSaFtpX9g6vNSND\/XvDGQt35uPVoN9p0k%2Bd8vqKaRRBHy4ntdzXQuSjcaktuxqRXc2ygb3zDeJmS6JkbU9%2BzDZiKse2zeMQYh1w9B8S12rvNZM\/2hfCY11iO\/X0W4FRBkFOXiqCnBuE8"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"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":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"90701d05-70b8-48ba-9066-72199e99b3ce","id":"ca607fc3-47ce-46f2-be0f-336346011aab","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">From min(A, B) to 1, we can traverse over all the numbers and determine if the current number divides both A &amp; B or not. If it does, then it will be the GCD of A and B.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":348,"height":191,"basedOn":"94bfec13-62c1-4925-8c9b-5e13821d634a","x":32,"y":204,"groupId":null,"id":"91e1f96d-98c1-4640-bbd8-2ceb2f611100","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to see code implementation?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":32,"y":568,"width":355,"height":23,"basedOn":"0fc606e4-80f9-46ea-8160-365f08809d9b","id":"51a3ba0c-9588-4cc8-b399-d72a7d09fced","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":43,"backgroundColor":{"color":{"r":5,"g":34,"b":88}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"font-weight: 700; color: #3372e0\">Approach 1: Simple Approach<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":29,"width":412,"height":105,"marginOffset":-33.45600000000001,"basedOn":"86e06c36-deb2-4889-a931-b366ce91543d","groupId":null,"id":"3c4bd047-23c2-4cdd-9172-fc4b8e638598","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"d1757342-184c-48e6-a327-1672fa4c6095","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["91e1f96d-98c1-4640-bbd8-2ceb2f611100"]},{"id":"131e3b65-acd7-4888-9d8b-d6d7b74aae20","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["76638dd5-e923-4c37-8934-99f03447a159"]},{"targets":["3c4bd047-23c2-4cdd-9172-fc4b8e638598"],"id":"f4446130-943e-4417-9a47-6a0907c6fe62","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0}],"id":"de3e1538-90d1-44c3-9dc1-e9eb15aea441","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":"27f2951c-8b6e-4772-8cc9-8a5b431fd5c6"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&utm_medium=webstories&utm_campaign=how-do-you-find-the-gcd-of-two-numbers","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/10\/Banner-2.jpg","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"0173d9f5-2320-425e-80b2-65ec1d738f9c","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":1861,"height":2792,"sizes":{"full":{"file":"media\/unsplash:PFC2fY9LE_g","sourceUrl":"https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&ixlib=rb-4.0.3&fm=jpg&w=1861&h=2792&fit=max","mimeType":"image\/jpeg","width":1861,"height":2792},"large":{"file":"media\/unsplash:PFC2fY9LE_g","sourceUrl":"https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&ixlib=rb-4.0.3&fm=jpg&w=1488&h=2232&fit=max","mimeType":"image\/jpeg","width":1488,"height":2232},"1116_1674":{"file":"media\/unsplash:PFC2fY9LE_g","sourceUrl":"https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&ixlib=rb-4.0.3&fm=jpg&w=1116&h=1674&fit=max","mimeType":"image\/jpeg","width":1116,"height":1674},"744_1116":{"file":"media\/unsplash:PFC2fY9LE_g","sourceUrl":"https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&ixlib=rb-4.0.3&fm=jpg&w=744&h=1116&fit=max","mimeType":"image\/jpeg","width":744,"height":1116},"372_558":{"file":"media\/unsplash:PFC2fY9LE_g","sourceUrl":"https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&ixlib=rb-4.0.3&fm=jpg&w=372&h=558&fit=max","mimeType":"image\/jpeg","width":372,"height":558},"web_stories_thumbnail":{"file":"media\/unsplash:PFC2fY9LE_g","sourceUrl":"https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&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:PFC2fY9LE_g","baseColor":"#404040","blurHash":"LJCG75~W-.%1%#%MW;oI4.E1M|Ip","creationDate":"2018-12-19T01:50:27Z","src":"https:\/\/images.unsplash.com\/photo-1545184180-25d471fe75eb?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxtYW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY3NjM4MjExNA&ixlib=rb-4.0.3&fm=jpg&w=1861&h=2792&fit=max","alt":"man sitting while having coffee and using laptop","attribution":{"author":{"displayName":"KAL VISUALS","url":"https:\/\/unsplash.com\/es\/@kalvisuals?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aa0pnNbHn2TRYjKAYQ5gvtoQf05ouXS3gvwwg3ogFYvzwrkrOIw1G%2BgrkBBkxcxY5vjxl8oTxZ4tGBdGtjxO3v\/L6swrAid7zr79atu3JXtB45t9x\/cqv45xTEGZylZzVexsmQZSj99YkQvWpTJ1V8Xq9z0AUvqlcZqOkaHzlrrMO%2B5C2o4mjG8jvDURPzcc4GueJv89dOuAqnxuPvy8kIIcPhPvlscSWKBW%2B8HaAgAiIoMdm\/A83SGe8OLGK02G3QQ%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":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"ca607fc3-47ce-46f2-be0f-336346011aab","id":"f24b57dc-e5b9-416a-be22-4a071ebd4794","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":30,"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: #347eff\">Time complexity: <\/span><span style=\"color: #fff\">O(min(A, B))<\/span>\n\n<span style=\"font-weight: 700; color: #347eff\">Space complexity: <\/span><span style=\"color: #fff\">O(1)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":348,"height":101,"basedOn":"91e1f96d-98c1-4640-bbd8-2ceb2f611100","x":31,"y":222,"groupId":null,"id":"e8aea5b7-d448-4343-8e51-1d97745db66a","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to explore other approaches?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":28,"y":568,"width":355,"height":23,"basedOn":"2e50dd76-8f0a-4dc0-b4f8-aba7e1a5fe93","id":"0fc606e4-80f9-46ea-8160-365f08809d9b","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"a2779321-f3f3-4a26-9aa0-5d2eff046b70","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["e8aea5b7-d448-4343-8e51-1d97745db66a"]},{"id":"329126eb-7af0-4e42-a36d-34e2a48b13fb","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["0173d9f5-2320-425e-80b2-65ec1d738f9c"]}],"id":"9e5d6a53-c17c-415a-b590-e6df6d6fd3f4","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":"7a9d93a0-9bf7-4191-af52-cef4993fcc1c"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&utm_medium=webstories&utm_campaign=how-do-you-find-the-gcd-of-two-numbers","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":220,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"4bea2dab-2033-49a6-a9a8-b6dc345abb9c","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":6016,"height":4016,"sizes":{"full":{"file":"media\/unsplash:c6wbSBaYxkY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&ixlib=rb-4.0.3&fm=jpg&w=6016&h=4016&fit=max","mimeType":"image\/jpeg","width":6016,"height":4016},"large":{"file":"media\/unsplash:c6wbSBaYxkY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&ixlib=rb-4.0.3&fm=jpg&w=4812&h=3212&fit=max","mimeType":"image\/jpeg","width":4812,"height":3212},"3609_2409":{"file":"media\/unsplash:c6wbSBaYxkY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&ixlib=rb-4.0.3&fm=jpg&w=3609&h=2409&fit=max","mimeType":"image\/jpeg","width":3609,"height":2409},"2406_1606":{"file":"media\/unsplash:c6wbSBaYxkY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&ixlib=rb-4.0.3&fm=jpg&w=2406&h=1606&fit=max","mimeType":"image\/jpeg","width":2406,"height":1606},"1203_803":{"file":"media\/unsplash:c6wbSBaYxkY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&ixlib=rb-4.0.3&fm=jpg&w=1203&h=803&fit=max","mimeType":"image\/jpeg","width":1203,"height":803},"web_stories_thumbnail":{"file":"media\/unsplash:c6wbSBaYxkY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:c6wbSBaYxkY","baseColor":"#262626","blurHash":"LfHBSZwatRI;~UM_t8Rj-URjM|R+","creationDate":"2019-11-07T22:31:26Z","src":"https:\/\/images.unsplash.com\/photo-1573165706511-3ffde6ef1fe3?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY3MjkyMDQ4OQ&ixlib=rb-4.0.3&fm=jpg&w=6016&h=4016&fit=max","alt":"three women sitting beside wooden table","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=AXhJFEdJpTQhya4OyY%2BSgPEGH7SB9a7rv6KzX%2BLUgwsFBBCS5p2fKkkeyAnOO%2BapZ7ma1hu2eyb0o9We1ppDCrG%2Be9T2DOt3L59vhxPv%2Bors17KeKHuhGecyOcuAa%2B8R9aumrDhldwtVTsPDzJh9xGbuEquFMePRQwPOekDh5783\/eLbiOEvr\/Bze8rAvuzAweCNSznvK3KroG2wvXYXWIXYCPL6lU80P9f5xcntvK06ygFxUPe1hKUrjII3VNGIjFvUPjao"}},"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":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"f24b57dc-e5b9-416a-be22-4a071ebd4794","id":"2ad5ac42-0aab-4934-a886-dd828e311d1a","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Subtract smaller numbers from larger ones when we want to reduce larger numbers. It does not change GCD. Alternatively, we can divide the smaller number &amp; the algorithm stops when the remainder=0.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":352,"height":221,"basedOn":"9cdf83be-84a7-4e37-9e13-228230d7f1b6","x":30,"y":203,"groupId":null,"id":"10752c12-70a7-4a16-8ef9-0e5287245dc9","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to see code implementation?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":32,"y":568,"width":355,"height":23,"basedOn":"49d82177-c779-4fe0-8c8f-24782c96174a","id":"803e3c31-3dbb-4a61-a81b-1ee04e31c5fb","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":43,"backgroundColor":{"color":{"r":5,"g":34,"b":88}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"font-weight: 700; color: #3372e0\">Approach 2: <\/span><span style=\"font-weight: 700; color: #3372e0\">Euclid\u2019s Algorithm<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":29,"width":412,"height":105,"marginOffset":-33.45600000000001,"basedOn":"f72e4b11-b368-44be-bd2a-1b59876867fc","groupId":null,"id":"7a0df445-64b7-4eaf-9f68-f4348a339e00","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"a085bb41-cadd-41ec-8f93-9404e9f53204","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["4bea2dab-2033-49a6-a9a8-b6dc345abb9c"]},{"id":"1ed8c261-1b0e-4640-8245-82ecc9d30abe","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["10752c12-70a7-4a16-8ef9-0e5287245dc9"]},{"targets":["7a0df445-64b7-4eaf-9f68-f4348a339e00"],"id":"db7881d3-f70b-4491-bb53-34aff45afe30","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0}],"id":"cf434d3e-3132-4b3c-87e0-5ae80860d37a","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":"07cb1230-628a-4b45-910c-b13bf7f662ea"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&utm_medium=webstories&utm_campaign=how-do-you-find-the-gcd-of-two-numbers","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"abc994fd-18e5-4821-9439-6a805f711046","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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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=MnwxMzcxOTN8MHwxfHNlYXJjaHwzMXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2Nzg3MTQ1OTY&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\/de\/@donovan_valdivia?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aa0pnNZEhzfQN2PU2rp7kCgFRsgPi8gfSYMgdT9mnnxO9OgyExiSt8ym2mrtZWxJraTMuvbwffYPeUFPRYmt2Bo%2BBgMtfJM5yfhWlkO\/3\/B1nmSOEmKDFizC4nRavbePSVPjxDb9vB9SqC4XUrGGSF4qfMVD5rTwr6vOMuowDK03z\/eUOsj7PtYOyk8ydcbORT3D\/NEWIFiPSHJ7XhQlBcZ24SkYE0AdD2nbzXKXMowSR9nfLDmBUvhys4SWvW6XeOCf"}},"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":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"ddd85b20-5151-46db-b5aa-6c37b1273284","id":"9d8c0a98-a6c9-4ae2-a1bc-d25bb9677246","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":30,"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: #347eff\">Time complexity:<\/span><span style=\"color: #347eff\"> <\/span><span style=\"color: #fff\">O(Log min(a, b)).&nbsp;<\/span>\n\n<span style=\"font-weight: 700; color: #347eff\">Space complexity: <\/span><span style=\"color: #fff\">O(1)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":354,"height":131,"basedOn":"5a80f896-83ce-48d0-b555-413c716f09c1","x":29,"y":228,"groupId":null,"id":"2f2b8f17-1cf9-4f2b-9fa2-e5b2aa945d76","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Want to see code implementation?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":32,"y":568,"width":355,"height":23,"basedOn":"49d82177-c779-4fe0-8c8f-24782c96174a","id":"a24f0fc6-5ec8-471d-b70b-7a3b86d90031","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"2e1bde87-1d8d-495b-8496-fd32e23f8707","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["2f2b8f17-1cf9-4f2b-9fa2-e5b2aa945d76"]},{"id":"8f7587cc-4bc3-4c53-ba9f-7fc50a853ef9","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["abc994fd-18e5-4821-9439-6a805f711046"]}],"id":"34c7e9da-4cb7-43c7-9a7d-a129bf8bcc3d","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":"5a4b57af-4a5f-4cdf-97dd-5c7441d795c4"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&utm_medium=webstories&utm_campaign=how-do-you-find-the-gcd-of-two-numbers","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":219,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"07cb1230-628a-4b45-910c-b13bf7f662ea","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#0c2626","blurHash":"L33[xbocMwRkIUWAayof4ma#xvt6","type":"image","mimeType":"image\/jpeg","creationDate":"2015-12-27T03:41:04Z","src":"https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=4256&h=2832&fit=max","width":4256,"height":2832,"id":"media\/unsplash:Q1p7bh3SHj8","alt":"photo of outer space","sizes":{"full":{"file":"media\/unsplash:Q1p7bh3SHj8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=4256&h=2832&fit=max","mimeType":"image\/jpeg","width":4256,"height":2832},"large":{"file":"media\/unsplash:Q1p7bh3SHj8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=3404&h=2265&fit=max","mimeType":"image\/jpeg","width":3404,"height":2265},"2553_1699":{"file":"media\/unsplash:Q1p7bh3SHj8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=2553&h=1699&fit=max","mimeType":"image\/jpeg","width":2553,"height":1699},"1702_1133":{"file":"media\/unsplash:Q1p7bh3SHj8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=1702&h=1133&fit=max","mimeType":"image\/jpeg","width":1702,"height":1133},"851_566":{"file":"media\/unsplash:Q1p7bh3SHj8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=851&h=566&fit=max","mimeType":"image\/jpeg","width":851,"height":566},"web_stories_thumbnail":{"file":"media\/unsplash:Q1p7bh3SHj8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1451187580459-43490279c0fa?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxiaWclMjBkYXRhfGVufDB8fHx8MTY3MjY2MDQyNA&ixlib=rb-4.0.3&fm=jpg&w=340&h=226&fit=max","mimeType":"image\/jpeg","width":340,"height":226}},"attribution":{"author":{"displayName":"NASA","url":"https:\/\/unsplash.com\/@nasa?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AXhJFEcXHBQIrntAg6HooRUw5WXm7AxzRvs5HbuFuQN8QDw3Ai0kjzjMRQlR%2B1thZZL4roDPCOHwuZcp9O6zjxy9M6fH\/O2EZBkyr14DGGNtIxmkhy6AYPH8Y9vuDiwCgt8kSoj1hkEwYCWfdgp0BluVCg9E08f1HosZr1o%2Ba1LbjJXB%2Bqr\/KxEnWUM2yo06bmnbJyVBRTJLgXBxyjQ77WP3USIywZS9HBCRQihgsJKGoWP9Za4%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.4}}},{"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":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"2ad5ac42-0aab-4934-a886-dd828e311d1a","id":"380e77ec-becc-4e13-b03c-a3c1bed377c3","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":30,"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: #347eff\">Start your journey now and learn how to determine the GCD of two numbers with code implementation.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":358,"height":131,"basedOn":"68dc11dc-e204-44c0-b174-4c7e4f8d8ead","x":20,"y":423,"groupId":null,"id":"faf98ac9-3bde-42ce-ba57-b4ed553c9aaf","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Merriweather"},"fontSize":43,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false},"content":"<span style=\"color: #fff\">Ready to level up your coding skills?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":356,"height":140,"basedOn":"353bbb13-e16d-4b48-b987-df0f080f5122","x":19,"y":285,"tagName":"h2","groupId":null,"marginOffset":-12.078999999999994,"id":"6bcfeeb7-4083-4a82-a8c2-5231fcf41193","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"7c42a0a9-c699-4851-b2cc-efed927d15b4","type":"effect-fly-in","flyInDir":"leftToRight","duration":600,"delay":0,"targets":["faf98ac9-3bde-42ce-ba57-b4ed553c9aaf"]},{"id":"d801bdb7-3da4-4c3b-a9de-4df967161aa4","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["6bcfeeb7-4083-4a82-a8c2-5231fcf41193"]}],"id":"936b559d-4dc0-423a-9d89-b4d4ba99b081","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":"5e0b0d71-adf4-40a7-b66a-df56c38694fc"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/gcd-of-two-numbers\/?utm_source=ib&utm_medium=webstories&utm_campaign=how-do-you-find-the-gcd-of-two-numbers","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/09\/GCD-of-Two-Numbers.jpeg","needsProxy":false,"ctaText":"Click here"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"5e0b0d71-adf4-40a7-b66a-df56c38694fc","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":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"380e77ec-becc-4e13-b03c-a3c1bed377c3","id":"14c4f8e1-e8cb-4904-9519-cbcd2f86b4f3","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":43,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.1,"textAlign":"initial","padding":{"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":31,"y":168,"width":364,"height":202,"basedOn":"34d0fabe-700e-4b88-a46d-94236cf499c3","content":"<span style=\"font-weight: 700; color: #fff\">Step Up Your Game with InterviewBit Web Stories<\/span>","tagName":"p","marginOffset":-13.199999999999989,"id":"4a501d26-7978-408e-a405-3aa09dd9488d","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":"0736d960-c8c0-4128-801c-c74dec981ccb","id":"059b3c60-05fd-4f35-a8b6-7e0f46822ae8","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":202,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"horizontal":0,"vertical":0},"x":20,"y":27,"width":81,"height":283,"basedOn":"32917c1b-803f-418c-ba36-40014197eb29","content":"<span style=\"font-weight: 700; color: #fff\">\u201c<\/span>","id":"e0a006e6-161a-41fd-bd99-ad9adeb2d6a5","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"cbd1a530-143c-45f4-b309-65c3ae806436","type":"effect-fly-in","flyInDir":"topToBottom","duration":1000,"delay":0,"targets":["4a501d26-7978-408e-a405-3aa09dd9488d"]},{"id":"170b0dd7-75d3-4d23-a735-c901c039a7c1","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["059b3c60-05fd-4f35-a8b6-7e0f46822ae8"]}],"id":"736f464b-c940-47d7-a25d-3cfd57bdec11","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":"2e578b1c-8afc-4d50-aa8d-ac3d624b2d37"},"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":{"Playfair Display":{"family":"Playfair Display","fallbacks":["serif"],"weights":[400,500,600,700,800,900],"styles":["regular","italic"],"variants":[[0,400],[0,500],[0,600],[0,700],[0,800],[0,900],[1,400],[1,500],[1,600],[1,700],[1,800],[1,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1082,"des":-251,"tAsc":1082,"tDes":-251,"tLGap":0,"wAsc":1159,"wDes":251,"xH":514,"capH":708,"yMin":-241,"yMax":1159,"hAsc":1082,"hDes":-251,"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}},"Merriweather":{"family":"Merriweather","fallbacks":["serif"],"weights":[300,400,700,900],"styles":["italic","regular"],"variants":[[0,300],[1,300],[0,400],[1,400],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":984,"des":-273,"tAsc":984,"tDes":-273,"tLGap":0,"wAsc":1065,"wDes":273,"xH":555,"capH":743,"yMin":-272,"yMax":1055,"hAsc":984,"hDes":-273,"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":17646,"url":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/04\/cropped-How-do-you-find-the-GCD-of-two-numbers_.png","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/17621"}],"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":4,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/17621\/revisions"}],"predecessor-version":[{"id":17647,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/17621\/revisions\/17647"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/17646"}],"wp:attachment":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media?parent=17621"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=17621"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=17621"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/17621\/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}]}}