{"id":352,"date":"2020-06-22T05:48:10","date_gmt":"2020-06-22T05:48:10","guid":{"rendered":"http:\/\/feellikelearning.com\/?p=352"},"modified":"2020-06-22T05:55:07","modified_gmt":"2020-06-22T05:55:07","slug":"leetcode-1203-sort-items-by-groups-respecting-dependencies-solution","status":"publish","type":"post","link":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/","title":{"rendered":"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5"},"content":{"rendered":"\n<p>\u8fd9\u9898\u8fd8\u662f\u633a\u96be\u5199\u5bf9\u7684\u3002\u7ecf\u8fc7\u51e0\u756a\u5c1d\u8bd5\u4ee5\u540e\uff0c\u53d1\u73b0\u6700\u597d\u7406\u89e3\u7684\u7b97\u6cd5\u5c31\u662f\u5148\u5bf9group\u505a\u4e00\u6b21\u62d3\u6251\u6392\u5e8f\u3002\u7136\u540e\u6309group\u7684\u987a\u5e8f\uff0c\u5bf9\u6bcf\u4e2agroup\u91cc\u7684items\u7684\u505a\u62d3\u6251\u6392\u5e8f\u3002\u8fd9\u9898\u589e\u52a0\u53e6\u4e00\u96be\u70b9\u5728\u4e8egorup\u662f-1\u7684\u60c5\u51b5\u3002\u5176\u5b9e\u76f8\u5f53\u4e8e\u6bcf\u4e2a-1\u90fd\u662f\u81ea\u5df1\u7684\u65b0group\u3002\u4e8e\u662f\u5927\u91cf\u7684\u5de5\u4f5c\u5176\u5b9e\u5728\u5efa\u7acbgroup\u7684dependency graph\u4e0a\u3002\u62d3\u6251\u6392\u5e8f\u7684\u51fd\u6570\u53ef\u4ee5\u5199\u4e00\u6b21\u53cd\u590d\u91cd\u7528\u3002Python\u89e3\u6cd5\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Solution:\n    def sortItems(self, n: int, m: int, group: List&#91;int], beforeItems: List&#91;List&#91;int]]) -> List&#91;int]:\n\n        cur_group = m + 1\n        for i in range(len(group)):\n            if group&#91;i] == -1:\n                group&#91;i] = cur_group\n                cur_group += 1\n\n        group_ids = set(group)\n\n        itemLevelBeforeGroups = &#91;]\n        for i in range(len(beforeItems)):\n            each_node_before_groups = &#91;group&#91;before] for before in beforeItems&#91;i]]\n            each_node_before_groups = list(filter(lambda x: x != i, each_node_before_groups))\n            itemLevelBeforeGroups.append(each_node_before_groups)\n\n        # beforeGroups\n        beforeGroups = {g: set() for g in group}\n        for i in range(len(itemLevelBeforeGroups)):\n            beforeGroups&#91;group&#91;i]].update(itemLevelBeforeGroups&#91;i])\n            beforeGroups&#91;group&#91;i]] = beforeGroups&#91;group&#91;i]].difference(&#91;group&#91;i]])\n        # print(f'beforeGroups = {beforeGroups}')\n\n        groupToItems = {g: &#91;] for g in group}\n        for i in range(len(group)):\n            groupToItems&#91;group&#91;i]].append(i)\n        # print(f'group to items: {groupToItems}')\n\n        cache = {}\n        group_order = &#91;]\n        itemLevelBeforeGroups\n\n        def dfs(start, cache, order, before_nodes):\n            # print(f'start =  {start}')\n            if start in cache:\n                return cache&#91;start]\n            cache&#91;start] = False\n            for before in before_nodes&#91;start]:\n                # print(f'  before = {before}')\n                if not dfs(before, cache, order, before_nodes):\n                    # print('found loop!')\n                    return False\n            # print('  {before} done')\n            cache&#91;start] = True\n            order.append(start)\n            return True\n\n        for g in group_ids:\n            if not dfs(g, cache, group_order, beforeGroups):\n                return &#91;]\n        # print(f\"group_order = {group_order}\")\n\n        item_order = &#91;]\n        item_cache = {}\n        for g in group_order:\n            for node in groupToItems&#91;g]:\n                if not dfs(node, item_cache, item_order, beforeItems):\n                    return &#91;]\n\n        # print(f\"item order = {item_order}\")\n        return item_order\n<\/code><\/pre>\n\n\n\n<p>\u672c\u9898\u662f\u590d\u5408\u9898\uff0c\u4e09\u4e2a\u70b9\uff1a<br>1. \u62d3\u6251\u6392\u5e8f\u672c\u8eab\uff0c\u7136\u540e\u5206\u522b\u7528\u5728group level\u548c\u6bcf\u4e2agroup\u7684item level<br>2. \u5efa\u7acbgroup dependency<br>3. handle group == -1\u7684\u60c5\u51b5\uff0c\u5c31\u662f\u7ed9\u6bcf\u4e2a\u8fd9\u79cditem assign\u65b0group<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u9898\u8fd8\u662f\u633a\u96be\u5199\u5bf9\u7684\u3002\u7ecf\u8fc7\u51e0\u756a\u5c1d\u8bd5\u4ee5\u540e\uff0c\u53d1\u73b0\u6700\u597d\u7406\u89e3\u7684\u7b97\u6cd5\u5c31\u662f\u5148\u5bf9group\u505a\u4e00\u6b21\u62d3\u6251\u6392\u5e8f\u3002\u7136\u540e\u6309group\u7684\u987a\u5e8f\uff0c\u5bf9\u6bcf\u4e2agroup\u91cc\u7684items\u7684\u505a\u62d3\u6251\u6392\u5e8f\u3002\u8fd9\u9898\u589e\u52a0\u53e6\u4e00\u96be\u70b9\u5728\u4e8egorup\u662f-1\u7684\u60c5\u51b5\u3002\u5176\u5b9e\u76f8\u5f53\u4e8e\u6bcf\u4e2a-1\u90fd\u662f\u81ea\u5df1\u7684\u65b0group\u3002\u4e8e\u662f\u5927\u91cf\u7684\u5de5\u4f5c\u5176\u5b9e\u5728\u5efa\u7acbgroup\u7684dependency graph\u4e0a\u3002\u62d3\u6251\u6392\u5e8f\u7684\u51fd\u6570\u53ef\u4ee5\u5199\u4e00\u6b21\u53cd\u590d\u91cd\u7528\u3002Python\u89e3\u6cd5\u5982\u4e0b\uff1a \u672c\u9898\u662f\u590d\u5408\u9898\uff0c\u4e09\u4e2a\u70b9\uff1a1. \u62d3\u6251\u6392\u5e8f\u672c\u8eab\uff0c\u7136\u540e\u5206\u522b\u7528\u5728group level\u548c\u6bcf\u4e2agroup\u7684item level2. \u5efa\u7acbgroup dependency3. handle group == -1\u7684\u60c5\u51b5\uff0c\u5c31\u662f\u7ed9\u6bcf\u4e2a\u8fd9\u79cditem assign\u65b0group<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5 | Feel Like Learning<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5 | Feel Like Learning\" \/>\n<meta property=\"og:description\" content=\"\u8fd9\u9898\u8fd8\u662f\u633a\u96be\u5199\u5bf9\u7684\u3002\u7ecf\u8fc7\u51e0\u756a\u5c1d\u8bd5\u4ee5\u540e\uff0c\u53d1\u73b0\u6700\u597d\u7406\u89e3\u7684\u7b97\u6cd5\u5c31\u662f\u5148\u5bf9group\u505a\u4e00\u6b21\u62d3\u6251\u6392\u5e8f\u3002\u7136\u540e\u6309group\u7684\u987a\u5e8f\uff0c\u5bf9\u6bcf\u4e2agroup\u91cc\u7684items\u7684\u505a\u62d3\u6251\u6392\u5e8f\u3002\u8fd9\u9898\u589e\u52a0\u53e6\u4e00\u96be\u70b9\u5728\u4e8egorup\u662f-1\u7684\u60c5\u51b5\u3002\u5176\u5b9e\u76f8\u5f53\u4e8e\u6bcf\u4e2a-1\u90fd\u662f\u81ea\u5df1\u7684\u65b0group\u3002\u4e8e\u662f\u5927\u91cf\u7684\u5de5\u4f5c\u5176\u5b9e\u5728\u5efa\u7acbgroup\u7684dependency graph\u4e0a\u3002\u62d3\u6251\u6392\u5e8f\u7684\u51fd\u6570\u53ef\u4ee5\u5199\u4e00\u6b21\u53cd\u590d\u91cd\u7528\u3002Python\u89e3\u6cd5\u5982\u4e0b\uff1a \u672c\u9898\u662f\u590d\u5408\u9898\uff0c\u4e09\u4e2a\u70b9\uff1a1. \u62d3\u6251\u6392\u5e8f\u672c\u8eab\uff0c\u7136\u540e\u5206\u522b\u7528\u5728group level\u548c\u6bcf\u4e2agroup\u7684item level2. \u5efa\u7acbgroup dependency3. handle group == -1\u7684\u60c5\u51b5\uff0c\u5c31\u662f\u7ed9\u6bcf\u4e2a\u8fd9\u79cditem assign\u65b0group\" \/>\n<meta property=\"og:url\" content=\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/\" \/>\n<meta property=\"og:site_name\" content=\"Feel Like Learning\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-22T05:48:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-22T05:55:07+00:00\" \/>\n<meta name=\"author\" content=\"feellikelearning\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"feellikelearning\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/\"},\"author\":{\"name\":\"feellikelearning\",\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"headline\":\"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5\",\"datePublished\":\"2020-06-22T05:48:10+00:00\",\"dateModified\":\"2020-06-22T05:55:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/\"},\"wordCount\":32,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/\",\"url\":\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/\",\"name\":\"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5 | Feel Like Learning\",\"isPartOf\":{\"@id\":\"https:\/\/feellikelearning.com\/#website\"},\"datePublished\":\"2020-06-22T05:48:10+00:00\",\"dateModified\":\"2020-06-22T05:55:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/feellikelearning.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/feellikelearning.com\/#website\",\"url\":\"https:\/\/feellikelearning.com\/\",\"name\":\"Feel Like Learning\",\"description\":\"\u7a0b\u5e8f\uff5c\u751f\u6d3b\uff5c\u5b66\u5230\u5c31\u662f\u8d5a\u5230\",\"publisher\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/feellikelearning.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\",\"name\":\"feellikelearning\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g\",\"caption\":\"feellikelearning\"},\"logo\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/feellikelearning.com\/index.php\/author\/feellikelearning\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5 | Feel Like Learning","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/","og_locale":"en_US","og_type":"article","og_title":"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5 | Feel Like Learning","og_description":"\u8fd9\u9898\u8fd8\u662f\u633a\u96be\u5199\u5bf9\u7684\u3002\u7ecf\u8fc7\u51e0\u756a\u5c1d\u8bd5\u4ee5\u540e\uff0c\u53d1\u73b0\u6700\u597d\u7406\u89e3\u7684\u7b97\u6cd5\u5c31\u662f\u5148\u5bf9group\u505a\u4e00\u6b21\u62d3\u6251\u6392\u5e8f\u3002\u7136\u540e\u6309group\u7684\u987a\u5e8f\uff0c\u5bf9\u6bcf\u4e2agroup\u91cc\u7684items\u7684\u505a\u62d3\u6251\u6392\u5e8f\u3002\u8fd9\u9898\u589e\u52a0\u53e6\u4e00\u96be\u70b9\u5728\u4e8egorup\u662f-1\u7684\u60c5\u51b5\u3002\u5176\u5b9e\u76f8\u5f53\u4e8e\u6bcf\u4e2a-1\u90fd\u662f\u81ea\u5df1\u7684\u65b0group\u3002\u4e8e\u662f\u5927\u91cf\u7684\u5de5\u4f5c\u5176\u5b9e\u5728\u5efa\u7acbgroup\u7684dependency graph\u4e0a\u3002\u62d3\u6251\u6392\u5e8f\u7684\u51fd\u6570\u53ef\u4ee5\u5199\u4e00\u6b21\u53cd\u590d\u91cd\u7528\u3002Python\u89e3\u6cd5\u5982\u4e0b\uff1a \u672c\u9898\u662f\u590d\u5408\u9898\uff0c\u4e09\u4e2a\u70b9\uff1a1. \u62d3\u6251\u6392\u5e8f\u672c\u8eab\uff0c\u7136\u540e\u5206\u522b\u7528\u5728group level\u548c\u6bcf\u4e2agroup\u7684item level2. \u5efa\u7acbgroup dependency3. handle group == -1\u7684\u60c5\u51b5\uff0c\u5c31\u662f\u7ed9\u6bcf\u4e2a\u8fd9\u79cditem assign\u65b0group","og_url":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/","og_site_name":"Feel Like Learning","article_published_time":"2020-06-22T05:48:10+00:00","article_modified_time":"2020-06-22T05:55:07+00:00","author":"feellikelearning","twitter_card":"summary_large_image","twitter_misc":{"Written by":"feellikelearning","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/#article","isPartOf":{"@id":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/"},"author":{"name":"feellikelearning","@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"headline":"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5","datePublished":"2020-06-22T05:48:10+00:00","dateModified":"2020-06-22T05:55:07+00:00","mainEntityOfPage":{"@id":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/"},"wordCount":32,"commentCount":0,"publisher":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/","url":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/","name":"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5 | Feel Like Learning","isPartOf":{"@id":"https:\/\/feellikelearning.com\/#website"},"datePublished":"2020-06-22T05:48:10+00:00","dateModified":"2020-06-22T05:55:07+00:00","breadcrumb":{"@id":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/feellikelearning.com\/index.php\/2020\/06\/22\/leetcode-1203-sort-items-by-groups-respecting-dependencies-solution\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/feellikelearning.com\/"},{"@type":"ListItem","position":2,"name":"\u7b97\u6cd5\u7ec3\u4e60 Leetcode \u529b\u6263 1203. Sort Items by Groups Respecting Dependencies \u89e3\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/feellikelearning.com\/#website","url":"https:\/\/feellikelearning.com\/","name":"Feel Like Learning","description":"\u7a0b\u5e8f\uff5c\u751f\u6d3b\uff5c\u5b66\u5230\u5c31\u662f\u8d5a\u5230","publisher":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/feellikelearning.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a","name":"feellikelearning","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g","caption":"feellikelearning"},"logo":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/"},"url":"https:\/\/feellikelearning.com\/index.php\/author\/feellikelearning\/"}]}},"_links":{"self":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/352"}],"collection":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":3,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":356,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/352\/revisions\/356"}],"wp:attachment":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}