<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mitsuharu_e</author_name>
  <author_url>https://blog.hatena.ne.jp/mitsuharu_e/</author_url>
  <blog_title>OTOBANK Engineering Blog</blog_title>
  <blog_url>https://engineering.otobank.co.jp/</blog_url>
  <categories>
    <anon>ReactNative</anon>
  </categories>
  <description>こんにちは、アプリ開発担当のエモトです。先日、弊社アプリが大型アップデートされました。我々アプリチーム含め社内メンバーと取り組んで、ダークモードなど新しい機能を追加してリリースすることができました。是非、新しくなったアプリをご利用くださいませ。 さて話は変わり、ある配列に対して、その配列の要素が重複しない配列に気軽に変換にしたい。 const array1 = [1, 1, 2, 2, 3, 3] const array2 = uniqueBy(array1) // [1, 2, 3] この問題、何も考えずに実装すると計算量 O(N2) となり、非常に大きい計算負荷になってしまいます。安易に実…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineering.otobank.co.jp%2Fentry%2F2021%2F08%2F02%2F150000&quot; title=&quot;uniqueByから始める低計算量アルゴリズムのすゝめ - OTOBANK Engineering Blog&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>2021-08-02 15:00:00</published>
  <title>uniqueByから始める低計算量アルゴリズムのすゝめ</title>
  <type>rich</type>
  <url>https://engineering.otobank.co.jp/entry/2021/08/02/150000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
