<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aereal</author_name>
  <author_url>https://blog.hatena.ne.jp/aereal/</author_url>
  <blog_title>Sexually Knowing</blog_title>
  <blog_url>https://this.aereal.org/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>python</anon>
  </categories>
  <description>キーに文字列、値に数値をもつ連想配列 hashmap について考える 対応する数値でキーを降順にソートした配列を返す関数 sort_hashmap を定義する def sort_hashmap(hashmap) hashmap.sort_by {|(k, v)| v }.map {|(k, v)| k } end hashmap = {&amp;#39;VimL&amp;#39; =&gt; 12, &amp;#39;Shell&amp;#39; =&gt; 345, &amp;#39;Ruby&amp;#39; =&gt; 6789} sort_hashmap(hashmap) def sort_hashmap(hashmap): array = [(k,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthis.aereal.org%2Fentry%2F20101015%2F1287071433&quot; title=&quot; 連想配列のソート - Sexually Knowing&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-10-15 00:50:33</published>
  <title> 連想配列のソート</title>
  <type>rich</type>
  <url>https://this.aereal.org/entry/20101015/1287071433</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
