{"id":864,"date":"2021-04-05T19:18:09","date_gmt":"2021-04-06T02:18:09","guid":{"rendered":"http:\/\/cywang.no-ip.org\/wordpress\/?p=864"},"modified":"2021-04-05T19:52:54","modified_gmt":"2021-04-06T02:52:54","slug":"strategy-to-solve-leetcode-problems","status":"publish","type":"post","link":"http:\/\/cywang.no-ip.org\/wordpress\/?p=864","title":{"rendered":"Strategy to solve LeetCode problems"},"content":{"rendered":"<p><!--more--><\/p>\n<ol>\n<li>Understand the problem<\/li>\n<li>Find Brute Force Solution<\/li>\n<li>Optimize your solution\n<ol>\n<li>Best Conceivable Runtime<\/li>\n<li>BUD Optimization\n<ol>\n<li>Bottlenecks<\/li>\n<li>Unnecessary Work<\/li>\n<li>Duplicated Work<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>Code your solution<\/li>\n<li>Test your solution<\/li>\n<\/ol>\n<p>Reference:<\/p>\n<ul>\n<li><a href=\"https:\/\/courses.byte-by-byte.com\/products\/6-weeks-to-interview-ready\">Byte by Byte Students (byte-by-byte.com)<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[39],"tags":[],"class_list":["post-864","post","type-post","status-publish","format-standard","hentry","category-leetcode"],"_links":{"self":[{"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=864"}],"version-history":[{"count":3,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/864\/revisions"}],"predecessor-version":[{"id":867,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/864\/revisions\/867"}],"wp:attachment":[{"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=864"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}