<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pco2699</author_name>
  <author_url>https://blog.hatena.ne.jp/pco2699/</author_url>
  <blog_title>pco2699’s blog</blog_title>
  <blog_url>https://blog.pco2699.net/</blog_url>
  <categories>
    <anon>LeetCode</anon>
  </categories>
  <description>問題 May Leetcoding Challange Complementの12日目です。 leetcode.com 以下のノートの書きっぷりから二分探索のにほひがプンプンします。 実際、二分探索の問題でした。 Note: Your solution should run in O(log n) time and O(1) space. 解き方 場合分けのパターンが多い and 偶数奇数で判定する二分探索です。 以下に雑にパターンを描きました。（クソ雑） 回答 class Solution: def singleNonDuplicate(self, nums: List[int]) -&gt; i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.pco2699.net%2Fentry%2F2020%2F05%2F12%2F214214&quot; title=&quot; LeetCode: Single Element in a Sorted Arrayを解く - pco2699’s 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>https://chart.apis.google.com/chart?cht=tx&amp;chl=%5Cdisplaystyle%7B%0Alog_2%28%7Bnum%7D%29%20%2B%201%0A%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-12 21:42:14</published>
  <title> LeetCode: Single Element in a Sorted Arrayを解く</title>
  <type>rich</type>
  <url>https://blog.pco2699.net/entry/2020/05/12/214214</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
