# Last Updated: October 16, 2020

Right before we begin, if you missed out on the previous episode, here’s Kadane’s Algorithm:

# Part 1: The Concept of Searching

## Last Updated: October 10, 2020

Right before we begin, if you missed out on the previous episode, here’s Floyd’s Cycle Detection Algorithm:

# Problem: Maximum Subarray Problem

Given an integer array `nums`, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.

Example 1:

`Input: nums = [-2,1,-3,4,-1,2,1,-5,4]Output: 6Explanation: [4,-1,2,1] has the largest subarray sum = 6.`

Example 2:

`Input: nums = [-2147483647]Output: -2147483647`

# Algorithm Spotlight: Floyd’s Cycle Detection Algorithm

## Last Updated: March 8, 2021

Right before we begin, if you missed out on the previous episode, here’s the Euclidean Algorithm article:

# The Problem Statement

Given a linked list, determine if it has a cycle in it.

To represent a cycle in the given linked list, we use an integer `pos` which represents the position (0-indexed) in the linked list where the tail connects to. If `pos == -1`, then there is no cycle in the linked list.

Want to read this story later? Save it in Journal.

Example…

# Review: Greatest Common Divisor (GCD)

Factors of 21: 1, 3, 7, 21

Factors of 28: 1…

# Hello world, it’s Aaron!

In this article, we will be installing NVIDIA CUDA and TensorFlow GPU 2.2.0-rc2!

# Hands-On ML, Edition 2 by Aerolien Geron, Summary Part 1

This is the first part of the 2 part series by Aaron Ma on the summary of Hands-On ML.

So you may have come across the image on the left: Hands-on ML with Scikit-Learn, Keras & TensorFlow by Aurelien Geron. I’ve just finished reading his book, and I’ve decided to create a neat little summary of his book.

# I. The Fundamentals of Machine Learning

• What ML is, the difference between Traditional Learning and ML, etc.
• Typical steps in training…

# This Day in TensorFlow 2: tf.tpu

Hello world, it’s Aaron! Today I’ll be talking about TensorFlow 2’s amazing tf.tpu API.

NOTE: The version of TensorFlow I’m using is TensorFlow 2.1. The Python version I’m using is 3.7. I’ll also periodically update the TensorFlow & Python version used here to match the most recent releases.

# Is Brilliant Premium Worth It?

A few days ago, I received Brilliant from a friend. I practiced solving some problems on Brilliant with the Premium subscription, and I loved it! Here’s my recap & review of Brilliant Premium. Finish reading this to get a discount on Brilliant Premium!

# In-Place Algorithms

Hello, world, it’s Aaron! In this blog, I’ll be talking about an in-place algorithm, which modifies data structures or objects outside of its stack frame. An out-of-place function does not make any changes that are visible to other functions. Usually, these functions copy data structures or objects before it manipulates or changes them. Let’s take a look into this with some examples.

Thanks for reading and have a great day!

# -Aaron Ma https://aaronhma.com

## Aaron Ma

Living in The Milky Way 😀

Get the Medium app