HTTP/2 200
date: Sun, 12 Oct 2025 02:40:20 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: v251008-h-251010-1202
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-middleware-rewrite: /coursesv2/grokking-coding-interview/number-of-distinct-islands
vary: RSC, Next-Router-State-Tree, Next-Router-Prefetch, Accept-Encoding
x-nextjs-cache: MISS
etag: W/"md5qvvmj9sicqg"
x-cloud-trace-context: b47a1f102b0e992fe36abbd0cfab557a
via: 1.1 google
alt-svc: h3=":443"; ma=86400
cf-cache-status: MISS
set-cookie: __cf_bm=f0x.UERHIcz5mUptR5eEuZgMhTE_YTvBGffX6j5dwQ0-1760236820-1.0.1.1-dglLNzqsYvS.0LgkoDvJPrnv2c_sh9hWdofVJrS_HevydAkp9KIYVzliHdjVIzFvctZq3aqzMRuuQJ6.99INx07v2iqRwUWx7ZqitF3rQn0; path=/; expires=Sun, 12-Oct-25 03:10:20 GMT; domain=.educative.io; HttpOnly; Secure; SameSite=None
strict-transport-security: max-age=31536000; includeSubDomains; preload
server: cloudflare
cf-ray: 98d33b4889358cf1-BLR
Number of Distinct IslandsNumber of Distinct Islands
Number of Distinct Islands
Try to solve the Number of Distinct Islands problem.
We'll cover the following...