Find the Longest Common Prefix Using Python

The challenge Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string “”. Example 1: Input: [“flower”,”flow”,”flight”] Output: “fl” Example 2: Input: [“dog”,”racecar”,”car… Read more

Similar

How to Build a Burner Phone in Python

What is a burner phone number? It's one you can drop for things you don't want to give out your real phone number to and can get rid of easily. This tutorial shows you how to build a Python burner phone with Twilio and AssemblyAI that will transcribe your... (more…)

Read more »

This post is not about Python

Pure Python is generally a slow language. Written for performance, it will often be around 40-50 times slower than C, and Python “written for performance” is Python that is very straightforward and does not use many of its features. Python code that has a... (more…)

Read more »