PT's Blog

PT's Blog

Just coding for fun.

Using ChatGPT to Control Arduino Devices

Using ChatGPT to Control Arduino Devices

This post explores a method to integrate ChatGPT with external systems, leveraging ChatGPT as a controller to manage Arduino devices, thus exploring the potential of natural language commands to control home devices and the development direction of smart home technology.

in
Dynamic Programming (Part 1) - House Robber Series

Dynamic Programming (Part 1) - House Robber Series

The core idea of dynamic programming lies in breaking down a problem into smaller subproblems and retaining previously computed results to reduce computational complexity.

in
Apollo Configuration Center (Part 3) - Working Principles and Core Concepts

Apollo Configuration Center (Part 3) - Working Principles and Core Concepts

in
Apollo Configuration Center (Part 2) - Introduction to Apollo

Apollo Configuration Center (Part 2) - Introduction to Apollo

in
Apollo Configuration Center (Part 1) - Configuration and Configuration Management

Apollo Configuration Center (Part 1) - Configuration and Configuration Management

in
Migrating Your System with DiskGenius

Migrating Your System with DiskGenius

Learn how to migrate your system disk using DiskGenius, a powerful disk management tool.

in
Using ChatGPT to Control Arduino Devices

Using ChatGPT to Control Arduino Devices

This post explores a method to integrate ChatGPT with external systems, leveraging ChatGPT as a controller to manage Arduino devices, thus exploring the potential of natural language commands to control home devices and the development direction of smart home technology.

in
Two Pointer Problems (Part 2) - Sliding Window

Two Pointer Problems (Part 2) - Sliding Window

Two pointers are used to scan in two directions during traversal, achieving the desired algorithmic goals.

in
Binary Search

Binary Search

Binary search is a common method for finding a specific value in a sorted array. It doesn't need to traverse the entire sequence; it only needs to focus on the boundaries and the middle value of the sequence. Therefore, its time complexity can reach O(log n).

in
Dynamic Programming (Part 4): Longest Increasing Subsequence (LIS)

Dynamic Programming (Part 4): Longest Increasing Subsequence (LIS)

The core idea of dynamic programming lies in breaking down a problem into smaller subproblems and storing previous computation results to reduce computational complexity.

in