<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alfonso on Medium]]></title>
        <description><![CDATA[Stories by Alfonso on Medium]]></description>
        <link>https://medium.com/@alfons0329?source=rss-d06f4bc54b45------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AQ751Xa0FGHTU-WKGkq-xA@2x.jpeg</url>
            <title>Stories by Alfonso on Medium</title>
            <link>https://medium.com/@alfons0329?source=rss-d06f4bc54b45------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:31:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alfons0329/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[20211016–18 小琉球OW潛水證照考照心得]]></title>
            <link>https://medium.com/@alfons0329/20211016-18-%E5%B0%8F%E7%90%89%E7%90%83ow%E6%BD%9B%E6%B0%B4%E8%AD%89%E7%85%A7%E8%80%83%E7%85%A7%E5%BF%83%E5%BE%97-729e58a6d176?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/729e58a6d176</guid>
            <category><![CDATA[scuba-diving]]></category>
            <category><![CDATA[diving]]></category>
            <category><![CDATA[open-water-diver]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[oceans]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Thu, 21 Oct 2021 07:03:11 GMT</pubDate>
            <atom:updated>2021-10-22T03:31:54.730Z</atom:updated>
            <content:encoded><![CDATA[<h3>前言：</h3><p>從小，我便深愛著海洋，每個月必定會去海生館一趟<br>小時候也愛看「Discovery」和「國家地理頻道」的海洋單元，也在小學買了不少海洋系列科學書籍。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mq-zGS2YVg0ijc7zr_LRTg.jpeg" /><figcaption>藍色星球海洋科學書籍</figcaption></figure><p>至此，潛水、探索藍色星球一直以來便是我的夢想。而今，我實現了！</p><h3>正文：</h3><p>本以為OW證照課程，應該是輕鬆愉快地和多莉、尼莫、珊瑚拍拍照，上岸拿證書， 頂多注意耳壓平衡、氣體殘量。<br>沒想到潛水的技巧與安全性知識，遠超乎了我的想像。<br>也因如此，才深知這項運動的危險性，以及如何防範，同時享受美麗的海底風光。</p><p>一大早得起床收拾裝備（教練說 八點集合，不是八點收裝備，是八點要吃飽盥洗完畢，呈立即可以潛水狀態）、背著20公斤的裝備於崎嶇不平、溼滑的潮間帶行走。還得平衡抵抗風浪，十足的體能訓練。儘管辛苦，但陸地上任何浮躁、疲憊、不安於下潛到近10米的水深後一切慢了下來，聽不到任何雜音，只有自己的呼吸聲。專注在吸氣吐氣，讓身體放鬆下來減少氣體消耗和沈浮控制以及教練的手勢。偶爾摸一下自己的脈搏，確認放鬆的程度，漸漸體驗傳說的「哺乳類潛水反射」本能</p><p>尤其最重要的「中性浮力」，慢慢掌握後，在水中操控身體順著水流律動、「飛行」的感覺是文字無法形容的。 或許 潛水這運動，讓無法在空中飛行的人類，能在水中當個彼得潘</p><p>見過不少瑰麗的水下生物後，也喚起了自己對海洋環保的意識。看到水下的垃圾更加心痛。於水中逆流前進時，更深知渺小的人類，終究無法戰勝大自然我們應該尊敬、學習與祂和平共處不過度開發捕撈，期許能將這片美麗的海洋（尤其台灣更是適合潛水的海洋國度）留給下一代探索</p><p>謝謝主揪Miya，謝謝<strong>小琉球水啦海洋休閒俱樂部</strong>認真細心的教練以及水啦的工作人員們，讓我們安全地體驗海洋之美與潛水的樂趣</p><h3>詳細三天行程與OW教學術科內容</h3><p>（可能沒有每一項都記得，因社團本來要一同考OW的社員臨時不來，因此第一天第三天直接升級一對一）：</p><p>潛店: <a href="https://www.suiila.com/">https://www.suiila.com</a> <strong>小琉球水啦海洋休閒俱樂部</strong>(PADI 5🌟)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*shhmwb54aw_S5tzHtj5CxA.jpeg" /><figcaption>水啦招牌</figcaption></figure><h4><strong>Day1</strong></h4><p><strong>第一支 平靜水域練習</strong></p><ul><li>🤿<strong>: 大福亭</strong></li><li><strong>⏰: 1pm-3pm</strong></li></ul><p>課程內容👇</p><p>裝備認識、檢查與組裝（裝備這部分教練帶得相當細心，大概花了一小時詳細講解，確認我能反覆組裝檢查做數次無誤後才讓我下水，推爆）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qwafg4fMsPfFCMsI3JD4DA.jpeg" /><figcaption>教練（藍色）與我的裝備</figcaption></figure><p>水性測試、入水技巧、潛水基本手勢</p><p>BCD操作、口吹BCD、調節器、備用調節器使用與提供潛伴空氣</p><p>調節器尋回、面鏡排水、水中脫下面鏡與帶回、呼吸器排水、無面鏡游泳、水中蛙式踢腿</p><p>水面穿脫裝備（這個有點難XD，好像在馴服一條水中猛獸）</p><p><strong>第二支 開放水域</strong></p><ul><li>🤿<strong>:</strong> <strong>大福亭外海約50m處 水深約5m</strong></li><li>⏰<strong>: 1pm-5pm</strong></li></ul><p>課程內容👇</p><p>無面鏡睜開眼游泳、無面鏡呼吸、抽筋排除、水下穿脫裝備、漏氣調節器呼吸、BCD進階操作、耳壓平衡、氣體壓力檢查、水底游動、上升五步驟</p><p><strong>學科</strong></p><ul><li>🤿<strong>:</strong> 潛店</li><li>⏰<strong>: 9pm-11pm</strong></li></ul><p>學科複習，潛水安全知識講解（氧分壓、氣體中毒、減壓病危險性以及如何預防）以及OW學科測驗。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ua2hkuUxdtNrjpWZPePorQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kGlqHbbUSNRSmg1La8Jc5w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_-0IeLuvQ5ckYWd0kQR4yQ.jpeg" /><figcaption>潛店小臘腸、OW學科時間、潛店卯咪</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EBt8iGt2gee9nwV2ZawQ_Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UbMtvr3SEwAJRLgngQDCxw.png" /><figcaption>PADI iOS App 考試，左邊題目也太好笑</figcaption></figure><p>========</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vAEEYOqPK1Qzfj0y3tsOqg.jpeg" /><figcaption>第二天併團的朋友們，左二為我，右一為教練William阿良 中間為教練 Annie</figcaption></figure><p><strong>Day2</strong></p><p><strong>上午第一支</strong></p><ul><li>🤿<strong>:</strong> <strong>大福亭外海約200m處 水深約8m</strong></li><li>⏰<strong>: 9am-12pm</strong></li></ul><p>課程內容👇</p><p>BWARF、中性浮力</p><p>下潛五步驟、有目視參考物下潛</p><p>氣瓶鬆脫救援</p><p>有控制緊急游泳上升(CESA)+口吹BCD</p><p>攜帶疲憊潛水員三種姿勢</p><p><strong>下午第二支</strong></p><ul><li>🤿<strong>:</strong> <strong>龍蝦洞 水深約8m</strong></li><li>⏰<strong>: 2pm-5pm</strong></li></ul><p>課程內容👇</p><p>陸地上導航羅盤教學與練習</p><p>緊急配重脫除與水面穿回配重</p><p>水中導航</p><p>Trim 調整水下姿勢</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s_I2j0xh4j9o6AW_C1cMPw.jpeg" /></figure><p>=========</p><p><strong>Day3</strong></p><p>一支</p><ul><li>🤿<strong>:</strong> <strong>龍蝦洞 水深約10m</strong></li><li>⏰<strong>: 9am-10am</strong></li></ul><p>意外地在兩天完成三天的課程內容，加上一對一不確定性較低，第三天教練直接帶我一人去「杉福漁港」水下衝浪</p><p>（註：因為前兩天的潛點，能見度均相當糟，此潛點能見度好非常多，但對新手較危險，當天岸邊的浪和水底海流都不小，保險起見，我們在 120Bar 就回程上浮）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2OVBEvOn_SoBvzcqvbDSuw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sUK_jyjtAPWkd_rDcrp18w.jpeg" /><figcaption>杉福漁港海龜，PC: William 阿良教練</figcaption></figure><p>水中順著洋流前後的感覺相當神奇，逐漸掌握浮力控制後，細心的教練幫我拍了不少與海底生物的合照，很是美麗。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a36XlE7hnZ3uiM52s4uGjQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bksPCN_5zX2kalEFGgyEQQ.jpeg" /><figcaption>杉福漁港摩艾石像、尼莫小丑魚 PC: William 阿良教練</figcaption></figure><p>此潛點特殊的地方在於，回程可沿著珊瑚礁斜坡上浮，一邊觀景一邊做減壓（停留），一舉兩得。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XnVDbM1tzOkSZKThJzLtyA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ISigBdmQ68sDDmeGw4tD_A.jpeg" /><figcaption>杉福漁港水下景色 PC: William 阿良教練</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oaXPfC2KZX18UsmE68ZC3A.jpeg" /><figcaption>OW eCard in PADI App</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z9w8d_Ny8zAIvLPT0nY0Nw.jpeg" /><figcaption>suiila 細心熱情的 Annie William 教練們～</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6y-6zVFrJYctpMrcOvyRRQ.jpeg" /><figcaption>Say goodbye to Liuqiu~ Will be back again soon.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=729e58a6d176" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2021 研發替代役求職心得（群暉、創未來、NVIDIA）]]></title>
            <link>https://medium.com/@alfons0329/2021-%E7%A0%94%E7%99%BC%E6%9B%BF%E4%BB%A3%E5%BD%B9%E6%B1%82%E8%81%B7%E5%BF%83%E5%BE%97-%E7%BE%A4%E6%9A%89-%E5%89%B5%E6%9C%AA%E4%BE%86-nvidia-bcb57486076c?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcb57486076c</guid>
            <category><![CDATA[software-engineering-job]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[2021]]></category>
            <category><![CDATA[job-interview]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Fri, 20 Aug 2021 07:28:27 GMT</pubDate>
            <atom:updated>2021-08-20T07:52:13.373Z</atom:updated>
            <content:encoded><![CDATA[<h3>2021 研發替代役求職心得（Synology、創未來、NVIDIA）</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h22S16_Y-iYStOUY3OyCTQ.jpeg" /></figure><p>快畢業了，運氣不錯，在疫情下錄取了不錯的公司，在此希望能綿薄之力，回饋有需要的朋友們。</p><p>Notion link: <a href="https://bit.ly/3mmochQ">https://bit.ly/3mmochQ</a></p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcb57486076c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2020/7/4 一把青觀後感]]></title>
            <link>https://medium.com/@alfons0329/2020-7-4-%E4%B8%80%E6%8A%8A%E9%9D%92%E8%A7%80%E5%BE%8C%E6%84%9F-7755bbbd70bd?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/7755bbbd70bd</guid>
            <category><![CDATA[drama]]></category>
            <category><![CDATA[drama-review]]></category>
            <category><![CDATA[history]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Sat, 04 Jul 2020 07:19:17 GMT</pubDate>
            <atom:updated>2020-07-04T07:19:17.066Z</atom:updated>
            <content:encoded><![CDATA[<p>對歷史劇沒興趣的我，居然幾天追完 白先勇x曹導的巨作【一把青】時至今日，悲壯感仍縈繞心中</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TbNFf98FVgovgXx1OeKTsw.png" /><figcaption>(劇照取自維基百科一把青詞條頁面)</figcaption></figure><p>“大時代的無奈、心死”，是我對一把青的最佳註解。</p><p>相愛的戀人，因戰死讓另一半徹底心死，空洞地看淡餘生、玩世不恭。親朋好友約定的生活理想，永遠無法達成，只能任戰亂擺佈，成為被時代巨輪絞碎、化成灰的一縷煙。</p><p>一次飛行的失神、留給愛人，只剩一只木箱，與永遠的痛。如朱青所云 [他懂什麼？轟的一聲，什麼都沒了，我也死了，可是我還有知覺…]。一次不小心被誤認匪諜、得罪上級，人生瞬間灰白、戛然而止。</p><p>戰爭、政治緊張、人心惶惶。使生命、愛情、親情的價值，變得如此微不足道、輕如鴻毛、脆弱如玻璃。能活下去便是福分，其他，也不再奢求。</p><p>一如片頭曲【看淡】所述</p><blockquote>看淡了絕望才不濃 無奈才不痛</blockquote><blockquote>敢親吻 下一陣風起和雲湧</blockquote><blockquote>能幸福一分鐘 甚至一秒鐘</blockquote><blockquote>就快幸福吧 趁還能抱緊 未亡的夢</blockquote><blockquote>看淡了才不再奢求 才迎向自由</blockquote><blockquote>肯接受 只有無形的能不朽</blockquote><blockquote>用眼裡的空洞 去無視沉重</blockquote><blockquote>歲月不倒流 就讓淚倒流 醃漬離愁</blockquote><p>以前爺爺每天講述國共內戰、八年抗日，總不懂在說些什麼。現在也終於看見，他那滄桑的眼神中，透露出的悲傷與無奈。</p><p>讀過 【國葬】 與 【樹猶如此】，著實喜歡白先勇時代風格的文筆，而今又再添新作，甚是好評，讓大學四年只浸淫程式碼的我，別有一番體驗、文青文青</p><p>謝謝曹導和這麼多演員，帶給台灣的優質大戲，讓我了解台劇不再是只有拖戲的八點檔或男歡女愛</p><p>被連俞涵圈粉了 ❤️</p><p>Rating: 5/5</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7755bbbd70bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[托福iBT一個月全自修初戰102分心得分享 [詳細超長文!]]]></title>
            <link>https://medium.com/@alfons0329/%E6%89%98%E7%A6%8Fibt%E4%B8%80%E5%80%8B%E6%9C%88%E5%85%A8%E8%87%AA%E4%BF%AE%E5%88%9D%E6%88%B0102%E5%88%86%E5%BF%83%E5%BE%97%E5%88%86%E4%BA%AB-%E8%A9%B3%E7%B4%B0%E8%B6%85%E9%95%B7%E6%96%87-fc83266847c8?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc83266847c8</guid>
            <category><![CDATA[toefl-ibt]]></category>
            <category><![CDATA[english-learning]]></category>
            <category><![CDATA[english]]></category>
            <category><![CDATA[toefl]]></category>
            <category><![CDATA[toefl-test-preparation]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Thu, 02 Jul 2020 01:00:39 GMT</pubDate>
            <atom:updated>2020-07-02T01:02:56.515Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*Z-t9wnQlok_f6b1u7rTY1g.png" /><figcaption>Score distribution</figcaption></figure><p>轉載自自己的舊Blog文章（如下連結）</p><p><a href="http://alfonshwu.blogspot.com/2017/09/ibt102.html">http://alfonshwu.blogspot.com/2017/09/ibt102.html</a></p><p>浮下大二無補習，初見托福102 的舊文章，希望能幫助今年的托福備考生。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc83266847c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AIS 3 EOF CTF Qual心得]]></title>
            <link>https://medium.com/@alfons0329/ais-3-eof-ctf-qual%E5%BF%83%E5%BE%97-f3ee221c1289?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3ee221c1289</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[ntu]]></category>
            <category><![CDATA[computer-security]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Sat, 29 Feb 2020 09:39:24 GMT</pubDate>
            <atom:updated>2020-02-29T09:39:24.012Z</atom:updated>
            <content:encoded><![CDATA[<p>很久沒更新blog，講這學期(Fall 2019) 收穫最多課程吧(心得會發在另篇(日後補)，ptt其他人心得<a href="https://www.ptt.cc/bbs/NTUcourse/M.1547391850.A.13B.html">在此</a>) 台大資工，[蕭旭君教授 計算機安全]，最後的期末CTF資安奪旗競賽(也是 AIS 3全國賽決賽預選) Writeup <a href="https://github.com/Alfons0329/CS_Fall_2019/tree/master/Final_CTF">在此</a></p><p>人生第二場CTF，也是第一場較大規模CTF，發現學了一整學期還是只能解一部分啊，Crypto好難QQ，感謝Lab好友的凱瑞 預選名次 <strong>21/82</strong></p><p>比賽時間從 1/11投票完 16:00 到 1/13 23:59，解題時間軸大致如下</p><p>1/11</p><p>高鐵網路不穩，Web, Misc連不上，隊友先解。</p><p>只好把 Crypto題目wget來看， rsactr 以為是 Chosen Cipher Attack (太菜，沒有學過RSA起手式，只好踹以前&quot;比較像&quot;的，(就 N, e 的數值來看)。比完出題者外星人說是一題 Copper Smith，想不到Q )</p><p>回到學校繼續想 Crypto 開始看了一些相關論文，Pwn達人 Troy殺了幾題簡單的Reverse 和 Pwn</p><p>1/12</p><p>在Lab，依然卡在密碼學到下午，總覺得時間不能這樣浪費，開始研究 how2meow (Web)，研究出是比<a href="https://github.com/Alfons0329/CS_Fall_2019/tree/master/Hw0x04">作業4</a>簡單些的XSS漏洞，<a href="https://github.com/Alfons0329/CS_Fall_2019/tree/master/Final_CTF#how2meowweb-%E6%9E%97%E5%AE%B8%E6%85%B6%E9%BB%83%E6%A5%9A%E7%BF%94%E8%83%A1%E5%AE%89%E9%B3%B3-20-solved-251-pts">如此</a> ，穩定 FLAG Get，爾後也和隊友研究解了題 Rev</p><p>1/13</p><p>打三天比賽有點痛苦(解題卡住時還會真想要比賽早點結束😂)，加上密碼學題目一籌莫展索性換題(隊上沒人解 Crypto，只好自己收)</p><p>猜數字的 Winner-winner chicken dinner題目<br>明顯是一題猜數字題目(猜 /dev/urandom 的隨機數字parity) 想說就固定猜0/1，希望成為天選之人(還特地開了multithread 跑在9960X上希望能多幾個命中率) ，算一下期望值後果不其然失敗收場 ，正解應<a href="https://ddaa.tw/30c3ctf_2013_number_100_guess.html">如此</a> 以及<a href="https://hackmd.io/@cXpZn6ltSku4Vwx_OL0bqA/SyyxioFgI#winner-winner-chicken-dinner">其他隊 Writeup</a> (把state寫起來後用線性方乘求解)</p><p>沒多久時間到~ 感謝隊友、主辦以及用心出(虐)題(殺)的助教們</p><p>至少晉級全國決賽，能拿參加獎狀+吃Buffet(為了免費 Buffet認真比賽XD)<br>更新: 因為COVID-19 現場賽取消惹，只能吃便當打線上賽QQ，想說可以藉此認識一些這個領域的大神</p><p>安鳳 2020/2 @ CSIE NTU, Taiepi, Taiwan</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3ee221c1289" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apple September Event 2019 同步翻譯圖文報導 by 安鳳]]></title>
            <link>https://medium.com/@alfons0329/apple-september-event-2019-%E5%90%8C%E6%AD%A5%E7%BF%BB%E8%AD%AF%E5%9C%96%E6%96%87%E5%A0%B1%E5%B0%8E-449c779de80b?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/449c779de80b</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[news]]></category>
            <category><![CDATA[apple-watch]]></category>
            <category><![CDATA[iphone]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Tue, 10 Sep 2019 19:28:03 GMT</pubDate>
            <atom:updated>2019-09-11T05:18:54.444Z</atom:updated>
            <content:encoded><![CDATA[<p>All image sources credit to Apple Inc. Cupertino, CA, 95104, USA</p><p>以抽象圖樣帶出蘋果個世代產品做開場</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6bZenJk_--IRBbj531RVXw.png" /></figure><h3>🍎tv+</h3><p>提到原創劇，秀了一下驚悚的 SEE 預告，主題有點像 BirdBox，也是看不到度過危機，只是蘋果的誕生了一個看得見的嬰兒，引領族人命運</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mFt6KyoESi3rmN71iLYURA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WlL7T21rpI1GbHsPUR3M3A.png" /></figure><p>加上每月 4.99USD &lt; NFLX 的 390台幣，NFLX 股價應是當場下跌（Ｘ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rgEWj4peUX7xYdrz0MIGvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0lCosLtGMdSpN3q1yt7Vvg.jpeg" /></figure><p>更強調，從今起，買 Mac/iPhone/iPad 都贈送一年 🍎tv+會員</p><h3>更新入門款 iPad 9.7 -&gt; 10.2</h3><p>處理器和 2018 的 iPad 6th gen 一樣 A10，純粹提升螢幕大小到10.2（但好像吹捧的很厲害）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LdTtLlB7tcvBWg8vnyvYUA.png" /></figure><h3>Apple Watch 5</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gYAaG5HhtDRI1qqx5ofPxg.png" /></figure><p>先影片帶一下 Apple Watch 助人故事</p><p>懷孕的媽媽突然心跳激升，手錶偵測到心率異常就醫，而發現原來是腹部感染拯救胎兒。幾些人用AW 幫助運動訓練等等，強調了手錶的場地不受限性，（或許將來可以提升防水性能，潛水？） 這裡看得太專心沒拍到抱歉</p><p>提到 AW對於健康研究(Health research)的促進</p><p>一、音量大小對於聽力損傷（和密西根大學合作）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WeVPM_VO2IJHNmA07tllOA.png" /></figure><p>二、月經週期準確追蹤（和哈佛公共衛生學院合作）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VyyHt3lbyI48Fae89rRGgg.png" /></figure><p>三、心電圖ECG（和美國心臟協會合作）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8rlVoI84GV7_MLkS50wT5Q.png" /></figure><p>接著提到AW5 ，用光舞開場真特別</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y4nciQSucspZXsR22_HjpQ.png" /></figure><p>螢幕完全改用 LTPO（Low Temperature Polycrystalline Oxide 低溫多晶氧化物）材質，而能達到 OLED才有的 AOD（Always on Display）效果</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tYnbiz8YPwWhbk-5glELXg.png" /></figure><p>優化的顯示方式能讓使用者不抬起手腕就能察看基礎內容，完全抬起再全亮顯示詳細內容</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FkXNSnK5Vc7Sm0DgoiixFg.png" /></figure><p>新功能：羅盤、高度經緯度查閱</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GtQRdB3j068pF_unGu5yWQ.png" /></figure><p>新的表面、樣式；可以撥打 150個國家的緊急電話</p><p>新機身材質：鈦合金</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gIksqNnur0KzwwHyH98VeA.png" /></figure><p>一樣最後以環保做節，強調百分百回收鋁合金</p><h3>iPhone 11</h3><p>一樣老王賣瓜一下哀鳳的滿意度</p><p>先穿越時光劇透價格吧，XR 降到這麼便宜應該會大賣</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g8wH0c_wjQcGHlXdYDRzUA.png" /></figure><p>iPhone 11 六色，長得有點像 <strong>👽</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V1b-hA510GNTPz9osYGwfw.png" /></figure><p>新相機，13mm（但下圖為主鏡頭，<a href="https://www.gsmarena.com/apple_iphone_11-9848.php">超廣角鏡頭經查證為13無誤</a>） 超廣角</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zMOQS9HJ7m2LX9JUGJsrHg.png" /></figure><p>計算攝影學（Computational Photography）再度強化，Next gen Smart-HDR</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1polI8e3-V99RvO9ZbzCpA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1_MEB2SKATMbCN4N1brIWw.png" /></figure><p>更自然的 bokeh，甚至寵物也行、高光黑白、夜視模式（應該是要跟Ｇ打對台啦）主打錄影，強調是最出色的錄影手機</p><p>前鏡頭從 7MP -&gt; 11MP 甚至也支援 4k60fps</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D4rn7KRhUab23K6USyGi5A.png" /></figure><p>A13 王者降臨！！！ GPU + CPU 雙冠（台積電 300看漲囉！）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bD8gqFqQ8IkTyLblHynl7w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*utO4Oe7y3nHMJ3jTTL0T4Q.png" /></figure><p>電池比XR多一小時ㄜ 恩。$699USD 起跳</p><h3>小One more thing → 三鏡頭手術燈哀鳳 iPhone 11 Pro / Max（命名好混亂啊啊啊啊）</h3><p>首先炫耀一下工藝的極致，醫療鋼、PV背蓋（沒聽清楚工藝方法）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uQwpVuiKe-aEAJHspvKa8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*uUsuW5d4XYq5FUaR8005Ow.jpeg" /><figcaption>Credit to google search</figcaption></figure><p>將所有Prodisplay XDR（WWDC 2019 發表的專業監視螢幕）的優點全部移植到哀鳳，稱之: Super Retina XDR</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u8GK733qsdyXPHAfWX-D5A.png" /></figure><p>A13 晶片：一樣超過每秒一兆個指令，搭配最新ML控制器，可以將機器學習工作順暢分配在 CPU GPU 或 NPU。採用第二代 7nm 製程，由 A12 6.9B -&gt; A13 8.5B 電晶體</p><p>11 Pro 的高效節能晶片讓 11 比 Xs 多 4小時電力</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kH6LIYWVAoluZwzo6lVJrA.png" /></figure><h4>手術燈相機模組</h4><p>如圖，遠距2、標準1、超廣角0.5</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*shlD7PAHI_8nD7qGVghX8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LWTXKfX-SNZWYCc5PlOUaQ.png" /></figure><p>強調更進階影像處理，尤其monochrome-style 演色性、及在按下快門前預處理 9張照片 HDR（基本上跟 iPhone 11 差不多，額外多第三超廣角鏡頭，角色分佈一如以往 XR Xs Xs Max)，還有手機產業中最出色的錄影（不得不說真的已有電影的程度了，蘋果在行銷、廣告這方面真的 second-to-none</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ztQBrgw1mgwAg5u60Sc5mg.png" /></figure><p>最後放一下產品廣告並強調環保結束</p><h3>心得</h3><p>這次投影片中尤其喜歡 grid-style的重點展現，既醒目又毫不費力抓到重點</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nYcD8KkZ5KzxQ4Me2tufrw.jpeg" /></figure><p>蘋果還是很會拍廣告及行銷，但在創新度愈來愈不足的情況下，靠著信仰和工藝質感、獨樹一格的軟硬體設計，能維持多少年就不得而知了。</p><p>不知道離職的 首席設計官 Jony Ive 以及地下有知的 賈伯斯，會做何感想</p><p>身為中毒果粉，共勉之</p><p>安鳳 NTUCSer Sep 11, 2019, @ Taipei Taiwan</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=449c779de80b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Codeforces R582(Div 3) Report]]></title>
            <link>https://medium.com/@alfons0329/codeforces-r582-div-3-report-379aa6764135?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/379aa6764135</guid>
            <category><![CDATA[competitive-programming]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[codeforces]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Sun, 08 Sep 2019 09:18:48 GMT</pubDate>
            <atom:updated>2019-09-08T09:18:48.643Z</atom:updated>
            <content:encoded><![CDATA[<p>Please refer to (haven’t solved F)</p><p><a href="https://hackmd.io/@QkH9krCaTnaUZgRM6E12tA/H1vvJzg8B">Codeforces R582(Div 3) Report - HackMD</a></p><p>Since <strong>hacmkd</strong> provides better render / convenience with long code and support built-in LaTeX function</p><p>Feel free to leave comments below if there is any mistake in either approach or analysis part or you have other approach / constructive ideas, thank you so much!.😇</p><p>Hope next time I can do better, and let’s improve our coding ability together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=379aa6764135" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LeetCode Weekly Contest 152 Report]]></title>
            <link>https://medium.com/@alfons0329/leetcode-weekly-contest-152-report-b6a8b9bf3b9f?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6a8b9bf3b9f</guid>
            <category><![CDATA[string-matching]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[leetcode]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Tue, 03 Sep 2019 12:41:45 GMT</pubDate>
            <atom:updated>2019-09-03T12:41:45.313Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://leetcode.com/contest/weekly-contest-152">Contest - LeetCode</a></p><p>Feel free to comment below if there is any mistake in either approach or analysis part, thank you so much!.</p><h3>A</h3><p><a href="https://leetcode.com/problems/prime-arrangements/">Prime Arrangements - LeetCode</a></p><ul><li>Approach: Just implement as the problem described, answer will be prime_pos! * (n- prime_pos)!</li><li>Analysis:</li></ul><p>Time complexity: O(N)</p><p>Space complexity: O(1)</p><pre>#define ll unsigned long long <br>class Solution <br>{<br>public:<br>    ll MOD = 1e9+7;<br>    ll f(ll n)<br>    {<br>        ll res = 1;<br>        for(ll i = 1; i &lt;= n; i++)<br>        {<br>            res *= i;<br>            res %= MOD;<br>        }<br>        return res;<br>    }<br>    int numPrimeArrangements(int n) <br>    {<br>        vector&lt;int&gt; p = {0, 2, 3, 5, 7 ,11 ,13 ,17 ,19 ,23 ,29 ,31 ,37 ,41 ,43 ,47 ,53 ,59 ,61 ,67 ,71 ,73 ,79 ,83 ,89 ,97};<br>        int pos = 0;<br>        while(pos &lt; 26 &amp;&amp; p[pos] &lt;= n)<br>        {<br>            pos++;<br>        }<br>        if(pos &gt;= 26)<br>        {<br>            pos = 25;<br>        }<br>        else if(p[pos] &gt; n)<br>        {<br>            pos--;<br>        }<br>        ll res = (f(pos) % MOD * f(n - pos) % MOD) % MOD;<br>        return res;            <br>    }<br>};</pre><h3>B.</h3><p><a href="https://leetcode.com/problems/diet-plan-performance/">Diet Plan Performance - LeetCode</a></p><ul><li>Approach: Use the prefix sum to acquire interval sum</li><li>Analysis:</li></ul><p>Time complexity: O(N)</p><p>Space complexity: O(N)</p><p>Please feel free to refer my solution article in the discussion thread of this problem 🙂 for details</p><p><a href="https://leetcode.com/problems/diet-plan-performance/discuss/372041/C%2B%2B-sliding-window-with-prefix-sum">https://leetcode.com/problems/diet-plan-performance/discuss/372041/C%2B%2B-sliding-window-with-prefix-sum</a></p><h3>C.</h3><p><a href="https://leetcode.com/problems/can-make-palindrome-from-substring/">Can Make Palindrome from Substring - LeetCode</a></p><ul><li>Approach: Use the <strong>prefix sum to count the occurrence of certain character </strong>in the given interval(or say substring), which is a cool idea!!</li><li>Analysis:</li></ul><p>Time complexity: O(N), where N is len of the input string.</p><p>Space complexity: O(N), where N is len of the input string.</p><p>Please feel free to refer my solution article in the discussion thread of this problem 🙂 for details</p><p><a href="https://leetcode.com/problems/can-make-palindrome-from-substring/discuss/372032/Prefix-sum-count-chars-100-less-men-with-picture-explanation">https://leetcode.com/problems/can-make-palindrome-from-substring/discuss/372032/Prefix-sum-count-chars-100-less-men-with-picture-explanation</a></p><h3>D.</h3><p><a href="https://leetcode.com/problems/number-of-valid-words-for-each-puzzle/">Number of Valid Words for Each Puzzle - LeetCode</a></p><p>My own TLE approach (TLE in the 9 th case), use the bitmask to count the occurrence of distribution among [a-z]</p><p>If <strong>word &amp; puzzle==word itself, </strong>then puzzle contains all the element of word(think of simple bitwise operation, ex: word is abd and puzzle is abde, then (edcba) 01011 &amp; 11011 == 01011</p><pre>class Solution <br>{<br>public:<br>    vector&lt;int&gt; findNumOfValidWords(vector&lt;string&gt;&amp; w, vector&lt;string&gt;&amp; p) <br>    {<br>        vector&lt;int&gt; res;<br>        int n = w.size(), m = p.size();<br>        int bit = 0, sz = 0;<br>        unordered_map&lt;int, int&gt; wb;<br>        <br>        for(int i = 0; i &lt; n; i++)<br>        {<br>            sz = w[i].size();<br>            bit = 0;<br>            <br>            set&lt;char&gt; char_cnt;<br>            for(int j = 0; j &lt; sz; j++)<br>            {<br>                bit |= (1 &lt;&lt; w[i][j] - &#39;a&#39;);<br>                char_cnt.insert(w[i][j]);<br>            }<br>            if(char_cnt.size() &lt;= 7)<br>            {<br>                wb[bit]++;<br>            }<br>        }<br>        <br>        for(int i = 0; i &lt; m; i++)<br>        {<br>            sz = p[i].size();<br>            bit = 0;<br>            for(int j = 0; j &lt; sz; j++)<br>            {<br>                bit |= (1 &lt;&lt; p[i][j] - &#39;a&#39;);<br>            }<br>            <br>            int fir = p[i][0] - &#39;a&#39;;<br>            int cnt = 0;<br>            auto it = wb.begin();<br>            while(it != wb.end())<br>            {<br>                if(((it -&gt; first &gt;&gt; fir) &amp; 1) &amp;&amp;(it -&gt; first &amp; bit) == it -&gt; first)<br>                {<br>                    cnt += it -&gt; second;<br>                }<br>                it++;<br>            }<br>            res.push_back(cnt);<br>        }<br>        return res;<br>    }<br>};</pre><p>Yet not able to pass the longest tasecase, fixed from neal_wu’s (IOI medalist) genius hint and successfully optimized and passed.</p><p>Here is how his great idea works Please feel free to refer my article in the discussion thread of this problem 🙂 for details</p><p><a href="https://leetcode.com/problems/number-of-valid-words-for-each-puzzle/discuss/372336/C%2B%2B-subset-solution-O(27-*-N)-try-to-explain-neal_wu-&#39;s-great-thought">C++ subset solution O(2^7 * N), try to explain neal_wu &#39;s great thought - LeetCode Discuss</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6a8b9bf3b9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LeetCode Weekly Contest 151 Report]]></title>
            <link>https://medium.com/@alfons0329/leetcode-weekly-contest-151-report-ec00e3906002?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec00e3906002</guid>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[linked-lists]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[leetcode]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Tue, 27 Aug 2019 06:32:06 GMT</pubDate>
            <atom:updated>2019-08-27T06:33:42.603Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://leetcode.com/contest/weekly-contest-151">Contest - LeetCode</a></p><p>Feel free to comment below if there is any mistake in either approach or analysis part, thank you so much!.</p><h3>A.</h3><p><a href="https://leetcode.com/problems/invalid-transactions/">Invalid Transactions - LeetCode</a></p><ul><li>Approach: Use map <strong>&lt;string, vector&lt;vector&lt;string&gt; &gt;&gt;</strong> to store the data of <strong>user_name --&gt; mapping to each transaction data</strong>, and use set&lt;string&gt; to remove the duplicates, finally construct back to vector of string.</li><li>Analysis:</li></ul><p>Time complexity: O(N^2) in the worst case if transactions are being held by the same user_name.</p><p>Space complexity: O(N) to store all transactions</p><h3>B.</h3><p><a href="https://leetcode.com/problems/compare-strings-by-frequency-of-the-smallest-character/">Compare Strings by Frequency of the Smallest Character - LeetCode</a></p><ul><li>Approach: Count the occurrence of each word, and sort the word by occurrence, then use upper_bound to find how many words has bigger smallest character.</li><li>Analysis:</li></ul><p>Time complexity: O(N lg N) where N is the size of words.(Not the query one)</p><p>Space complexity: O(max(len(q), len(w)))</p><h3>C.</h3><p><a href="https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list/">Remove Zero Sum Consecutive Nodes from Linked List - LeetCode</a></p><p>My solution in discussion forum --&gt;</p><p><a href="https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list/discuss/366656/C%2B%2B-with-comments-intuitively-reconstruct-LL-20ms-and-100less-memory">https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list/discuss/366656/C%2B%2B-with-comments-intuitively-reconstruct-LL-20ms-and-100less-memory</a></p><ul><li>Approach(Kinda brute force): Marked the interval that sums up to 0 being -9999, and use vector.erase() to remove them, finally reconstruct LL.</li><li>Analysis:</li></ul><p>Time complexity: O(N^2) where N is the # of nodes in LL</p><p>Space complexity: O(N)</p><p>Better solution by lee0215 (teacher of leetcode) --&gt; use map to count the prefix sum and greedily skip</p><p><a href="https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list/discuss/366319/JavaC%2B%2BPython-Greedily-Skip-with-HashMap">[Java/C++/Python] Greedily Skip with HashMap - LeetCode Discuss</a></p><h3>D.</h3><p><a href="https://leetcode.com/problems/dinner-plate-stacks/">Dinner Plate Stacks - LeetCode</a></p><p>Please refer to the discussion forum of the post I wrote, thanks.</p><p><a href="https://leetcode.com/problems/dinner-plate-stacks/discuss/367452/C%2B%2B-100-less-mem-only-one-unordered-map-with-comments-and-explanation">C++ 100% less mem, only one unordered map, with comments and explanation - LeetCode Discuss</a></p><p>Source code in the link (didn&#39;t know why gist not shown)</p><p><a href="https://gist.github.com/Alfons0329/b9faa532accef0dd88ea85621a5d27d6">https://gist.github.com/Alfons0329/b9faa532accef0dd88ea85621a5d27d6</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec00e3906002" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LeetCode Weekly Contest 150 Report]]></title>
            <link>https://medium.com/@alfons0329/leetcode-weekly-contest-150-report-9925039a6b1c?source=rss-d06f4bc54b45------2</link>
            <guid isPermaLink="false">https://medium.com/p/9925039a6b1c</guid>
            <category><![CDATA[leetcode]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[fb]]></category>
            <category><![CDATA[string]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Alfonso]]></dc:creator>
            <pubDate>Sat, 24 Aug 2019 13:09:31 GMT</pubDate>
            <atom:updated>2019-08-24T13:09:31.807Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://leetcode.com/contest/weekly-contest-150">Contest - LeetCode</a></p><h3>A.</h3><p><a href="https://leetcode.com/problems/find-words-that-can-be-formed-by-characters/">Find Words That Can Be Formed by Characters - LeetCode</a></p><ul><li>Approach: Collect the statistics of chars in one map and check if there are enough characters to form each word.</li><li>Analysis:</li></ul><p>Time complexity: O(N|len(eachword)|)</p><p>Space complexity: O(N|len(eachword)|)</p><h3>B.</h3><p><a href="https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree/">Maximum Level Sum of a Binary Tree - LeetCode</a></p><ul><li>Approach: Use the level order traversal, as <strong>sz</strong> means the <strong># nodes of the current level</strong> so we only need to sum the current level and push the child node in the next level if exists, finally implement the data to record the sum of each layer.</li><li>Analysis:</li></ul><p>Time complexity: O(N)</p><p>Space complexity: O(1)</p><h3>C.</h3><p><a href="https://leetcode.com/problems/as-far-from-land-as-possible/">As Far from Land as Possible - LeetCode</a></p><ul><li>Approach: Push all the land part into a queue, starting BFS since we opt to search for the <strong>shortest distance</strong> from a given note and update the max from all shortest distance.</li><li>Analysis:</li></ul><p>Time complexity: O(N*N) since we first push all the lands to queue and then the water.</p><p>Space complexity: O(N*N)</p><h3>D.</h3><p><a href="https://leetcode.com/problems/last-substring-in-lexicographical-order/">Last Substring in Lexicographical Order - LeetCode</a></p><p>Please check the post written by me on the discussion thread → <a href="https://leetcode.com/problems/last-substring-in-lexicographical-order/discuss/365755/C%2B%2B-O(N)-solution-well-commented-and-with-picture-to-understand.">link here</a></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/260cb20dc003b40fce7f5117af760dcf/href">https://medium.com/media/260cb20dc003b40fce7f5117af760dcf/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9925039a6b1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>