Open in app

Sign In

Write

Sign In

Shuo Wang
Shuo Wang

271 Followers

Home

About

Published in Towards Data Science

·Dec 26, 2021

Find Missing Index: In-place

How to find the first missing integer in an array without using extra space — An interesting technique in algorithm design for data manipulation is in-place data manipulation. This technique is great for saving space, which might be a necessity in certain situations (but not recommended in general since careless application might result in data corruption). The Problem is this: I have a list of…

Programming

5 min read

Find Missing Index: In-place
Find Missing Index: In-place
Programming

5 min read


Published in Towards Data Science

·Sep 13, 2021

K-means clustering: find my tribe!

How does it work? How can I make it run faster? — K-means clustering has many potential applications in data analysis problems where relationships among large number of samples need to be discovered. The concept behind the technique is quite simple and therefore also very flexible, it can be used alone with many possible configurations or in conjunction with other machine learning…

Data Science

12 min read

K-means clustering: find my tribe!
K-means clustering: find my tribe!
Data Science

12 min read


Published in Geek Culture

·Aug 23, 2021

Three Sum: Love Triangles

How to find three sums most efficiently — Three sum is a popular algorithm question, it’s complexity lower bound has important implications in many related problems. Let’s take a look. Two Sums Start out simple The simplest way to solve the three sum problem is actually to start out with solving the two sum problem. So let’s try that first. …

Two Sum

6 min read

Three Sum: Love Triangles
Three Sum: Love Triangles
Two Sum

6 min read


Published in Towards Data Science

·Jun 7, 2021

Python Tricks: “is” or “==”

The answer behind an existential question, in python! — Have you ever gotten the warning in Pycharm that says: Comparison with None performed with equality operators and wondered why? Well, today we are going to get to the bottom of the mystery once and for all! Be prepared, this is actually quite a deep question that might cause you…

Python

6 min read

Python Tricks: “is” or “==”
Python Tricks: “is” or “==”
Python

6 min read


Published in Geek Culture

·Jun 1, 2021

Sliding Window Maximum

An analysis of algorithms and complexities — In this story, we are going to talk about an interesting problem about finding maximum integers in a list. …

Python

5 min read

Sliding Window Maximum
Sliding Window Maximum
Python

5 min read


Published in Towards Data Science

·May 17, 2021

Combinatorial Optimization: The Knapsack Problem

Applying the dynamic programming techniques to an interesting optimization problem — In this story, we are going to discuss an application of dynamic programming techniques to an optimization algorithm. Through the process of developing an optimal solution, we get to study a variety of programming techniques that leads to better performance (with a surprise at the end!). Problem Description The Knapsack problem

Dynamic Programming

8 min read

Combinatorial Optimization: The Knapsack Problem
Combinatorial Optimization: The Knapsack Problem
Dynamic Programming

8 min read


Published in CodeX

·Apr 16, 2021

Blending Signals for Portfolio Construction

Benefits of portfolio diversifications — Signal combinations are important in many fields, it is also important in portfolio construction, let’s find out why. Should I blend? Not always Suppose I have a portfolio (1) that returns 1% on even days and 0.5% on odd days:

Investing

5 min read

Blending Signals for Portfolio Construction
Blending Signals for Portfolio Construction
Investing

5 min read


Published in Towards Data Science

·Feb 22, 2021

Starting Natural Language Processing

Exploring the basics of NLP: Cleaning, NER, POS, Fuzzy String Match — Whenever people talk about Natural Language Processing(NLP), images of fancy machine learning models and prospects of powerful AI pop up. But nothing starts from nowhere, at the most rudimentary level, NLP is simply a collection of tools for processing textual data to makes them clean and more uniform. Let’s begin! Text Cleaning

NLP

5 min read

Starting Natural Language Processing
Starting Natural Language Processing
NLP

5 min read


Published in Towards Data Science

·Jan 17, 2021

Largest Rectangle in a Matrix

How to combine programming techniques — As I accumulate more experience in coding and life in general, one of the things among my observations that stood out to me is that, whenever there is a problem to be solved, there usually exists a very intuitive solution to it. Sometimes this solution happens to be efficient, sometimes…

Programming

7 min read

Largest Rectangle in a Matrix
Largest Rectangle in a Matrix
Programming

7 min read


Published in Towards Data Science

·Dec 6, 2020

Kalman Filter in a Nutshell

Taking a tour through Kalman filter with an everyday example. — When I first started learning to use Kalman filter, it seemed very complicated to me, mainly because there were so many inputs to it and you never really knew if you’ve set them correctly. …

Kalman Filter

7 min read

Kalman Filter in a Nutshell
Kalman Filter in a Nutshell
Kalman Filter

7 min read

Shuo Wang

Shuo Wang

271 Followers

Interesting pieces on various topics in finance and technology.

Following
  • Larrylambert

    Larrylambert

  • Ellen Nguyen

    Ellen Nguyen

  • Sunil Sandhu

    Sunil Sandhu

  • Eryk Lewinson

    Eryk Lewinson

  • Carpenter Wellington PLLC

    Carpenter Wellington PLLC

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech