{"id":876,"date":"2021-03-09T11:29:01","date_gmt":"2021-03-09T03:29:01","guid":{"rendered":"http:\/\/lonelinerd.com\/?p=876"},"modified":"2021-03-09T11:57:01","modified_gmt":"2021-03-09T03:57:01","slug":"leetcode-1332","status":"publish","type":"post","link":"https:\/\/lonelinerd.com\/index.php\/2021\/03\/09\/leetcode-1332\/","title":{"rendered":"[LeetCode\u5237\u984c\u7b46\u8a18] 1332 &#8211; Remove Palindromic Subsequences"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"876\" class=\"elementor elementor-876\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3e56c42 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3e56c42\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-030e1d9\" data-id=\"030e1d9\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-25bd243 elementor-widget elementor-widget-text-editor\" data-id=\"25bd243\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<h4><span style=\"text-decoration: underline;\"><strong>\u984c\u76ee\u63cf\u8ff0\uff1a<\/strong><\/span><\/h4><p class=\"md-end-block md-p\"><span class=\"md-plain\">Given a string <\/span><span class=\"md-pair-s\" spellcheck=\"false\"><code>s<\/code><\/span><span class=\"md-plain\"> consisting only of letters <\/span><span class=\"md-pair-s\" spellcheck=\"false\"><code>'a'<\/code><\/span><span class=\"md-plain\"> and <\/span><span class=\"md-pair-s\" spellcheck=\"false\"><code>'b'<\/code><\/span><span class=\"md-plain\">. In a single step you can remove one palindromic <\/span><span class=\"md-pair-s \"><strong><span class=\"md-plain\">subsequence<\/span><\/strong><\/span><span class=\"md-plain\"> from <\/span><span class=\"md-pair-s\" spellcheck=\"false\"><code>s<\/code><\/span><span class=\"md-plain\">.<\/span><\/p><p class=\"md-end-block md-p\"><span class=\"md-plain\">Return the minimum number of steps to make the given string empty.<\/span><\/p><p class=\"md-end-block md-p\"><span class=\"md-plain\">A string is a subsequence of a given string, if it is generated by deleting some characters of a given string without changing its order.<\/span><\/p><p class=\"md-end-block md-p\"><span class=\"md-plain\">A string is called palindrome if is one that reads the same backward as well as forward.<\/span><\/p><p class=\"md-end-block md-p\"><span class=\"md-pair-s \"><strong><span class=\"md-plain\">Example 1:<\/span><\/strong><\/span><\/p><pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"\" spellcheck=\"false\"><span role=\"presentation\">Input: s = \"ababa\"<\/span><br \/><span role=\"presentation\">Output: 1<\/span><br \/><span role=\"presentation\">Explanation: String is already palindrome<\/span><\/pre><p class=\"md-end-block md-p\"><span class=\"md-pair-s \"><strong><span class=\"md-plain\">Example 2:<\/span><\/strong><\/span><\/p><pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"\" spellcheck=\"false\"><span role=\"presentation\">Input: s = \"abb\"<\/span><br \/><span role=\"presentation\">Output: 2<\/span><br \/><span role=\"presentation\">Explanation: \"abb\" -&gt; \"bb\" -&gt; \"\". <\/span><br \/><span role=\"presentation\">Remove palindromic subsequence \"a\" then \"bb\".<\/span><\/pre><p class=\"md-end-block md-p\"><span class=\"md-pair-s \"><strong><span class=\"md-plain\">Example 3:<\/span><\/strong><\/span><\/p><pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"\" spellcheck=\"false\"><span role=\"presentation\">Input: s = \"baabb\"<\/span><br \/><span role=\"presentation\">Output: 2<\/span><br \/><span role=\"presentation\">Explanation: \"baabb\" -&gt; \"b\" -&gt; \"\". <\/span><br \/><span role=\"presentation\">Remove palindromic subsequence \"baab\" then \"b\".<\/span><\/pre><p class=\"md-end-block md-p\"><span class=\"md-pair-s \"><strong><span class=\"md-plain\">Example 4:<\/span><\/strong><\/span><\/p><pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"\" spellcheck=\"false\"><span role=\"presentation\">Input: s = \"\"<\/span><br \/><span role=\"presentation\">Output: 0<\/span><\/pre><p class=\"md-end-block md-p\"><span class=\"md-pair-s \"><strong><span class=\"md-plain\">Constraints:<\/span><\/strong><\/span><\/p><ul class=\"ul-list\" data-mark=\"-\"><li class=\"md-list-item\"><p class=\"md-end-block md-p\"><span class=\"md-pair-s\" spellcheck=\"false\"><code>0 &lt;= s.length &lt;= 1000<\/code><\/span><\/p><\/li><li class=\"md-list-item md-focus-container\"><p class=\"md-end-block md-p md-focus\"><span class=\"md-pair-s\" spellcheck=\"false\"><code>s<\/code><\/span><span class=\"md-plain\"> only consists of letters &#8216;a&#8217; and &#8216;b&#8217;<\/span><\/p><\/li><\/ul>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-db7991e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"db7991e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6e74a45\" data-id=\"6e74a45\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5104bbc elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"5104bbc\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c2248df elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c2248df\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-514dd38\" data-id=\"514dd38\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7b4ebbd elementor-widget elementor-widget-text-editor\" data-id=\"7b4ebbd\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<h4><span style=\"text-decoration: underline;\"><strong>\u984c\u89e3\uff1a<\/strong><\/span><\/h4><p>\u00a0 \u00a0 \u00a0 \u00a0 \u9019\u984c\u96d6\u7136\u662fEasy\uff0c\u4f46\u662f\u771f\u7684\u592atricky\u4e86\u3002\u505a\u9019\u4e00\u984c\u4e4b\u524d\uff0c\u9996\u5148\u8981\u4e86\u89e3\u4e00\u500b\u4e8b\uff0c\u5c31\u662f&#8221;Subsequence&#8221;\u7684\u672c\u8cea\u3002<\/p><p>\u00a0 \u00a0 \u00a0 \u00a0 <span style=\"color: #ff0000;\">Subsequence &#8211; \u5b50\u5b57\u7b26\u4e32\uff0c\u9019\u500b\u5b50\u7b26\u4e32\u53ef\u4ee5\u662f\u5728\u5b57\u7b26\u4e32\u4e2d\u300c\u4e0d\u9023\u7e8c\u300d\u7684\u5b57\u7b26\u3002<\/span>\u90a3\u5c31\u4ee3\u8868\u5728&#8221;abbaba&#8221;\u4e2d\uff0c\u6211\u53ef\u4ee5\u76f4\u63a5\u628a&#8221;bbb&#8221;\u7576\u6210Palindromic Subsequence\u79fb\u9664\u6389\uff0c\u7136\u5f8c\u518d\u5269\u4e0b\u7684Palindromic Subsequence &#8211; &#8220;aaa&#8221;\u79fb\u9664\uff0c\u7e3d\u51712\u6b65\u3002\u4e5f\u5c31\u662f\u8aaa\uff0c\u65e2\u7136\u672c\u984c\u63d0\u4f9b\u7684\u5b57\u7b26\u4e32\u53ea\u6709&#8217;a&#8217;\u548c&#8217;b&#8217;\u5169\u7a2e\u5b57\u7b26\uff0c\u5728\u6bcf\u6b21\u79fb\u9664\u4e00\u500bPalindromic Subsequence\u7684\u8a2d\u5b9a\u4e0b\uff0c\u79fb\u9664\u6240\u6709\u5b57\u7b26\u7684\u6b65\u6578\u4e0a\u9650\u70ba2\u3002<\/p><p>\u00a0 \u00a0 \u00a0 \u00a0 \u56e0\u6b64\uff0c\u6211\u5011\u552f\u4e00\u8981\u6aa2\u67e5\u7684\u5c31\u53ea\u6709\uff1a<\/p><ol><li><span style=\"color: #ff0000;\">\u5b57\u7b26\u4e32\u662f\u5426\u70ba\u7a7a\uff0c\u7a7a\u5247\u8fd4\u56de0\u3002<\/span><\/li><li><span style=\"color: #ff0000;\">\u5b57\u7b26\u4e32\u662f\u5426\u4e00\u958b\u59cb\u5c31\u662f\u4e92\u6587\uff0c\u662f\u5247\u76f4\u63a5\u6574\u6bb5\u79fb\u9664\u3002<\/span><\/li><\/ol><p>\u00a0 \u00a0 \u00a0 \u00a0 \u5c45\u7136\u5c31\u53ea\u662f\u9019\u6a23\u800c\u5df2\uff0c<span style=\"font-size: 16px;\">\u6211\u4e00\u958b\u59cb\u9084\u60f3\u8457\u600e\u6a23\u628a&#8221;abb&#8221;\u548c&#8221;baabb&#8221;\u9019\u6a23\u7684\u4e92\u6587\u5728\u5f8c\u9762\u90e8\u5206\u548c\u524d\u9762\u90e8\u5206\u7684\u60c5\u6cc1\u5340\u5206\u958b\u4f86\uff0c\u7136\u5f8c\u6bcf\u79fb\u9664\u4e00\u6b21\uff0cStep\u6578+1\uff0c\u6700\u5f8c\u8fd4\u56deStep\uff0c\u4f46\u539f\u4f86\u662f\u6211\u60f3\u7684\u592a\u8907\u96dc\u4e86\uff0c\u9019\u984c\u771f\u7684\u592atricky\u4e86&#8230;&#8230;<\/span><\/p><p>\u00a0 \u00a0 \u00a0 \u00a0 Subsequence\u7684\u5b9a\u7fa9\u53c3\u8003\uff1a<a href=\"https:\/\/en.wikipedia.org\/wiki\/Subsequence\" target=\"_blank\" rel=\"noopener\">https:\/\/en.wikipedia.org\/wiki\/Subsequence<\/a><\/p><p>\u00a0 \u00a0 \u00a0 \u00a0 &#8220;The list of all subsequences for the word &#8220;<b>apple<\/b>&#8221; would be &#8220;<i>a<\/i>&#8220;, &#8220;<i>ap<\/i>&#8220;, &#8220;<i>al<\/i>&#8220;, &#8220;<i>ae<\/i>&#8220;, &#8220;<i>app<\/i>&#8220;, &#8220;<i>apl<\/i>&#8220;, &#8220;<i>ape<\/i>&#8220;, &#8220;<i>ale<\/i>&#8220;, &#8220;<i>appl<\/i>&#8220;, &#8220;<i>appe<\/i>&#8220;, &#8220;<i>aple<\/i>&#8220;, &#8220;<i>apple<\/i>&#8220;, &#8220;<i>p<\/i>&#8220;, &#8220;<i>pp<\/i>&#8220;, &#8220;<i>pl<\/i>&#8220;, &#8220;<i>pe<\/i>&#8220;, &#8220;<i>ppl<\/i>&#8220;, &#8220;<i>ppe<\/i>&#8220;, &#8220;<i>ple<\/i>&#8220;, &#8220;<i>pple<\/i>&#8220;, &#8220;<i>l<\/i>&#8220;, &#8220;<i>le<\/i>&#8220;, &#8220;<i>e<\/i>&#8220;, &#8220;&#8221; (empty string).&#8221;<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7c4aff9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7c4aff9\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fba45a8\" data-id=\"fba45a8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-90fbb22 elementor-widget elementor-widget-text-editor\" data-id=\"90fbb22\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"c#\" spellcheck=\"false\"><span role=\"presentation\"><span class=\"cm-keyword\">public<\/span> <span class=\"cm-keyword\">class<\/span> <span class=\"cm-def\">Solution<\/span> {<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0<span class=\"cm-keyword\">public<\/span> <span class=\"cm-variable-3\">int<\/span> <span class=\"cm-variable\">RemovePalindromeSub<\/span>(<span class=\"cm-variable-3\">string<\/span> <span class=\"cm-variable\">s<\/span>) {<br \/><\/span>        \/\/\u5982\u679c\u5b57\u7b26\u4e32\u70ba\u7a7a\uff0c\u8fd4\u56de0<br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-keyword\">if<\/span>(<span class=\"cm-variable\">s<\/span>.<span class=\"cm-variable\">Length<\/span> <span class=\"cm-operator\">==<\/span> <span class=\"cm-number\">0<\/span>){<span class=\"cm-keyword\">return<\/span> <span class=\"cm-number\">0<\/span>;}<br \/><\/span>        \/\/\u672c\u8eab\u662f\u4e92\u6587\uff0c\u76f4\u63a51\u6b65\u79fb\u9664\u5168\u90e8\u5b57\u7b26<br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-keyword\">if<\/span>(<span class=\"cm-variable\">IsPalindrome<\/span>(<span class=\"cm-variable\">s<\/span>)){<span class=\"cm-keyword\">return<\/span> <span class=\"cm-number\">1<\/span>;}<br \/><\/span>        \/\/\u5982\u679c\u4e0d\u662f\u4e92\u6587\uff0c\u5247\u5206\u5225\u79fb\u9664\u6240\u6709a\u5b57\u7b26\u548cb\u5b57\u7b26\uff0c\u51712\u6b65<br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-keyword\">return<\/span> <span class=\"cm-number\">2<\/span>;<\/span><br \/><span role=\"presentation\"> \u00a0  }<br \/><\/span>    \/\/\u6aa2\u67e5\u4e92\u6587<br \/><span role=\"presentation\"> \u00a0 \u00a0<span class=\"cm-variable-3\">bool<\/span> <span class=\"cm-variable\">IsPalindrome<\/span>(<span class=\"cm-variable-3\">string<\/span> <span class=\"cm-variable\">s<\/span>)<\/span><br \/><span role=\"presentation\"> \u00a0  {<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-variable-3\">int<\/span> <span class=\"cm-variable\">left<\/span> <span class=\"cm-operator\">=<\/span> <span class=\"cm-number\">0<\/span>;<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-variable-3\">int<\/span> <span class=\"cm-variable\">right<\/span> <span class=\"cm-operator\">=<\/span> <span class=\"cm-variable\">s<\/span>.<span class=\"cm-variable\">Length<\/span> <span class=\"cm-operator\">-<\/span> <span class=\"cm-number\">1<\/span>;<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-keyword\">while<\/span>(<span class=\"cm-variable\">left<\/span> <span class=\"cm-operator\">&lt;<\/span> <span class=\"cm-variable\">right<\/span>)<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0  {<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-keyword\">if<\/span>(<span class=\"cm-variable\">s<\/span>[<span class=\"cm-variable\">left<\/span>] <span class=\"cm-operator\">!=<\/span> <span class=\"cm-variable\">s<\/span>[<span class=\"cm-variable\">right<\/span>]){ <span class=\"cm-keyword\">return<\/span> <span class=\"cm-atom\">false<\/span>; }<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-variable\">left<\/span><span class=\"cm-operator\">++<\/span>;<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-variable\">right<\/span><span class=\"cm-operator\">--<\/span>;<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0  }<\/span><br \/><span role=\"presentation\"> \u00a0 \u00a0 \u00a0 \u00a0<span class=\"cm-keyword\">return<\/span> <span class=\"cm-atom\">true<\/span>;<\/span><br \/><span role=\"presentation\"> \u00a0  }<\/span><br \/><span role=\"presentation\">}<\/span><\/pre>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u984c\u76ee\u63cf\u8ff0\uff1a Given a string s consisting only of letters &#8216;a&#8217; a &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/lonelinerd.com\/index.php\/2021\/03\/09\/leetcode-1332\/\"> <span class=\"screen-reader-text\">[LeetCode\u5237\u984c\u7b46\u8a18] 1332 &#8211; Remove Palindromic Subsequences<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":570,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,16],"tags":[],"class_list":["post-876","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-notes","category-leetcodes"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/lonelinerd.com\/wp-content\/uploads\/2021\/02\/FeatureCover_LeetCoding.png","_links":{"self":[{"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/posts\/876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/comments?post=876"}],"version-history":[{"count":20,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/posts\/876\/revisions"}],"predecessor-version":[{"id":897,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/posts\/876\/revisions\/897"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/media\/570"}],"wp:attachment":[{"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/media?parent=876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/categories?post=876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/tags?post=876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}