This article presents an optimal seat assignment algorithm with the minimal number of tracks, based on the famous Left-Edge Algorithm (LEA) and the data structure of hierarchical buckets. The time and space complexities are both O(N), where N is the number of tickets. Meanwhile, this algorithm can be applied to scheduling and channel assignment for Printed Circuit Boards (PCB) and Electronic Design Automation (EDA).