Open in app

Sign In

Write

Sign In

洪健翔 Hung, Chien-hsiang
洪健翔 Hung, Chien-hsiang

48 Followers

Home

About

Jan 19

Median of Two Sorted Arrays in Python (No Slicing) Real O(log(min(m, n))), LeetCode Hard

Median of Two Sorted Arrays Full article here: Median of Two Sorted Arrays in Python with Binary Search (No Slicing) Real O(log(min(m, n))) — Hung, Chien-Hsiang | Blog (chienhsiang-hung.github.io) Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run time complexity…

Binary Search

2 min read

Median of Two Sorted Arrays in Python (No Slicing) Real O(log(min(m, n))), LeetCode Hard
Median of Two Sorted Arrays in Python (No Slicing) Real O(log(min(m, n))), LeetCode Hard
Binary Search

2 min read


Jan 15

LeetCode Weekly Contest Medium (Sliding Window) 2537. Count the Number of Good Subarrays

Easy read on LeetCode Weekly Contest Medium (Sliding Window) 2537. Count the Number of Good Subarrays — Hung, Chien-Hsiang | Blog (chienhsiang-hung.github.io) Count the Number of Good Subarrays Given an integer array nums and an integer k, return the number of good subarrays of nums. A subarray arr is good if it there are at least…

Python

2 min read

LeetCode Weekly Contest Medium (Sliding Window) 2537. Count the Number of Good Subarrays
LeetCode Weekly Contest Medium (Sliding Window) 2537. Count the Number of Good Subarrays
Python

2 min read


Dec 17, 2022

Amortized analysis — Implement Queue using Stacks vs. LinkedLIst

What’s Amortized Analysis Full article easy read on Amortized analysis — Implement Queue using Stacks vs. LinkedLIst — Hung, Chien-Hsiang | Blog (chienhsiang-hung.github.io). The motivation for amortized analysis is that looking at the worst-case run time can be too pessimistic. …

Time Complexity

2 min read

Amortized analysis — Implement Queue using Stacks vs. LinkedLIst
Amortized analysis — Implement Queue using Stacks vs. LinkedLIst
Time Complexity

2 min read


Dec 14, 2022

Error: Encountered an error (ServiceUnavailable) from host runtime.

Azure syncing triggers runtime error when deploying HTTP trigger Function app. Let’s open up the Azure Portal to check the App.

Azure

2 min read

Error: Encountered an error (ServiceUnavailable) from host runtime.
Error: Encountered an error (ServiceUnavailable) from host runtime.
Azure

2 min read


Dec 13, 2022

[中文] Word Search II LeetCode Hard | DFS and Trie

完整文章好讀版: [中文] Word Search II LeetCode Hard | DFS and Trie — Hung, Chien-Hsiang 洪健翔 | Blog (chienhsiang-hung.github.io) 文字接龍 LeetCode這題Hard要求找出Graph中存在於Input words List 中的字,為 Word …

Leetcode

15 min read

[中文] Word Search II LeetCode Hard | DFS and Trie
[中文] Word Search II LeetCode Hard | DFS and Trie
Leetcode

15 min read


Dec 12, 2022

Python Extract HTML Table (Convert to Pandas DataFrame) Tutorial

Examine the HTML Easy read on: Python Extract HTML Table (Convert to Pandas DataFrame) Tutorial — Hung, Chien-Hsiang | Blog (chienhsiang-hung.github.io) Use Best HTML Viewer, HTML Beautifier, HTML Formatter and to Test / Preview HTML Output (codebeautify.org) beautifier to view html. We can simply use Pandas.read_html() …

Python

2 min read

Python Extract HTML Table (Convert to Pandas DataFrame) Tutorial
Python Extract HTML Table (Convert to Pandas DataFrame) Tutorial
Python

2 min read


Nov 30, 2022

PowerApps Get Thumbnail for URL in RSS News Link | Power Automate API HTTP Tutorial

Background Easy read and full tutorial at PowerApps Get Thumbnail for URL in RSS News Link | Power Automate API HTTP Tutorial — Hung, Chien-Hsiang | Blog (chienhsiang-hung.github.io) I’m developing a News Board in Powerapps. I utilize RSS Connector to retrieve Google News for the following effect. Temp Solution At first…

Powerapps

3 min read

PowerApps Get Thumbnail for URL in RSS News Link | Power Automate API HTTP Tutorial
PowerApps Get Thumbnail for URL in RSS News Link | Power Automate API HTTP Tutorial
Powerapps

3 min read


Nov 25, 2022

PowerApps HtmlText Common CSS Adjustments

Dcoration Full article and easy read on PowerApps HtmlText Common CSS Adjustments — Hung, Chien-Hsiang 洪健翔 | Blog (chienhsiang-hung.github.io) Div Full Screen css div full screen position: absolute;1 .box { background:red; position:absolute; top:0px; right:0px; bottom:0px; left:0px; } Center Horizontally and Vertically css center horizontally and vertically2 not so good methods (won’t work on PowerApps)

Powerapps

2 min read

PowerApps HtmlText Common CSS Adjustments
PowerApps HtmlText Common CSS Adjustments
Powerapps

2 min read


Nov 20, 2022

LeetCode [Hard] Bus Routes | Algorithm — BFS

Full article and Easy read on LeetCode [Hard] Bus Routes | Algorithm — BFS — Hung, Chien-Hsiang | Blog (chienhsiang-hung.github.io). Question Bus Routes — LeetCode Attempts Classic DFS At first, I came oup with a classic DFS solution. class Solution: def numBusesToDestination(self, routes: List[List[int]], source: int, target: int) -> int…

Algorithms

5 min read

LeetCode [Hard] Bus Routes | Algorithm — BFS
LeetCode [Hard] Bus Routes | Algorithm — BFS
Algorithms

5 min read


Nov 17, 2022

Python to Read Large Excel/CSV File Faster

Read a CSV with PyArrow In Pandas 1.4, released in January 2022, there is a new backend for CSV reading, relying on the Arrow library’s CSV parser. It’s still marked as experimental, and it doesn’t support all the features of the default parser—but it is faster.1 Full article: Python to…

Python

2 min read

Python to Read Large Excel/CSV File Faster
Python to Read Large Excel/CSV File Faster
Python

2 min read

洪健翔 Hung, Chien-hsiang

洪健翔 Hung, Chien-hsiang

48 Followers

Visit my blog for more https://chienhsiang-hung.github.io/blog/

Following
  • The PyCoach

    The PyCoach

  • Josep Ferrer

    Josep Ferrer

  • Stan Garfield

    Stan Garfield

  • Sabesan Sathananthan

    Sabesan Sathananthan

  • Takuya Matsuyama

    Takuya Matsuyama

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech