- 2018.08.03
- algorithm, LeetCode解題報告, python, python學習筆記,
(LeetCode)Isomorphic Strings — 同構字串
Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrenc […]
-->
程式前沿 幫助程式設計師解決問題,增加專業技能,提升個人能力與未來世界競爭力。
Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrenc […]
題目連結 https://leetcode.com/problems/count-primes/ 題目原文 Count the number of prime numbers less than a non-negative number, n. 題目翻譯 計算小於非負數 n 的所有素數的個數。 思 […]
Description: Count the number of prime numbers less than a non-negative number, n. Credits: Special thanks to @mithmatt for adding this problem and cr […]
題目連結 https://leetcode.com/problems/same-tree/ 題目原文 Given two binary trees, write a function to check if they are equal or not. Two binary trees are co […]