Questions / Flexport

Count Good Subsequences

Asked at Flexport · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

A sequence of numbers is said to be **good** if it satisfies the following two conditions:

Loading the problem…

More Flexport interview questions

  • Matrix Traversal
  • Maximum Area of an Island in a Grid
  • Hotspot Connections
  • Last String Before It Becomes Empty Under Repeated Alphabetical Removals
  • Throw The Ball
  • Collect Points
All Flexport questions