<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mk_55</author_name>
  <author_url>https://blog.hatena.ne.jp/mk_55/</author_url>
  <blog_title>mk_55's diary</blog_title>
  <blog_url>https://mk-55.hatenablog.com/</blog_url>
  <categories>
    <anon>雑</anon>
    <anon>Powershell</anon>
  </categories>
  <description>技術面接で出された問題 - esm アジャイル事業部 開発者ブログ 上記のエントリを読んでPowershellだとどうやって実装するかなーと思ったので、テキトーに試す。 ソートだとこんな感じ？*1 [String]$a=&quot;ABCB&quot; [String]$b=&quot;BCAB&quot; if($a -eq $b){return $false} # 完全に一致する場合はアナグラムではないのでNG #$aと$bをソートした上で比較する。一致すればアナグラム。 $aa=&quot;&quot; $bb=&quot;&quot; if(($a.ToCharArray() | Sort-Object | %{$aa=$aa + $_}) -eq ($b.ToC…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmk-55.hatenablog.com%2Fentry%2F2016%2F10%2F24%2F011434&quot; title=&quot;Powershellでアナグラムの判定をする - mk_55&amp;#39;s diary&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>2016-10-24 01:14:34</published>
  <title>Powershellでアナグラムの判定をする</title>
  <type>rich</type>
  <url>https://mk-55.hatenablog.com/entry/2016/10/24/011434</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
