The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance. Note: 0 ≤ x, y < 231. Example: Input: x = 1, y
Home
Archive for
09/01/2018 - 10/01/2018
TDD LeetCode:804. Unique Morse Code Words
TDD LeetCode:804. Unique Morse Code Words
RojerChen.2018.09.17 International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a"maps to ".-", "b" maps to "-...", "c" maps to "-.-.", and so on. For convenience, the full table
TDD LeetCode:771. Jewels and Stones
TDD LeetCode:771. Jewels and Stones
RojerChen.2018.09.12 You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in Sis a type of stone you have. You want to know how many of the
Windows 10 您的電腦與 VPN 伺服器之間的網路連線無法建立
Windows 10 您的電腦與 VPN 伺服器之間的網路連線無法建立
RojerChen.2018.09.03 終於可以把 PPTP 服務關閉了。 原本我家的設備是只有開啟 PPTP 服務的,自從多年前 iOS 不再支援 PPTP 之後,我只好額外開啟 L2TP 好讓我的手機可以 VPN 連回家裡。那為什麼 PPTP 服務不關閉還繼續用呢?這主要的原因在於我不知道為什麼 Windows 10 使用 L2TP 就是一直失敗沒辦法建立連線,反正 PPTP 還可以用我也就沒管這麼多了。 一直到換了新筆電後再設定 VPN,沒想到不僅 L2TP 沒辦法連,連原本的 PPTP 也沒辦法!
訂閱:
文章
(
Atom
)