HTTP/2 200
date: Wed, 15 Oct 2025 20:06:26 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
cache-control: public, max-age=86400
referrer-policy: strict-origin-when-cross-origin
x-app-version: v251013-rb-251015-0701
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-middleware-rewrite: /coursesv2/grokking-coding-interview-in-python/maximum-swap
vary: RSC, Next-Router-State-Tree, Next-Router-Prefetch, Accept-Encoding
x-nextjs-cache: MISS
etag: W/"9l4rd5dbrci98l"
x-cloud-trace-context: 780f5920339b118aef6e666bcb0a215b;o=1
via: 1.1 google
alt-svc: h3=":443"; ma=86400
cf-cache-status: MISS
set-cookie: __cf_bm=77ZcynbRqQbD_LPdd0QfYhG3.LMbRs3C.Pm6TWhwWOU-1760558786-1.0.1.1-vmAHfPzdMd.FbFY3tC777nKY7m5NPRis8tIyAACshVHWqvutk.ultQQVhhrEfGrrqy8hAdvi7QTPn5MDsS0yi8l26vR8Qp9aQ4lDMXvDw8Q; path=/; expires=Wed, 15-Oct-25 20:36:26 GMT; domain=.educative.io; HttpOnly; Secure; SameSite=None
strict-transport-security: max-age=31536000; includeSubDomains; preload
server: cloudflare
cf-ray: 98f1efcdff4cc537-BLR
Maximum SwapMaximum Swap
Try to solve the Maximum Swap problem.
We'll cover the following...