Repository navigation
Predict invitation after a run, 2D-first home hero, and docs for C++/Java input - #38
Merged
Merged
Conversation
Predict mode had two starts and no finished rounds in four weeks, while 36 visitors watched a run to the end. On pages with questions the run-complete nudge now offers "Predict the next run", which switches to predict mode at the first step and moves focus to Play. predict_start reports from "nudge" so the two entry points can be compared.
The home page ranks for "2d array visualizer" and carries the most traffic, but its primary button opened sorting and it had the highest bounce rate on the site (33%, against 17.5% on the 2D page). The primary button now opens the 2D Array Visualizer and sorting becomes the secondary one. The buttons move above the popular links so the primary one fits the first screen of a 360 x 640 phone, and the duplicate 2D pill gives way to Spiral Traversal, the grid-family page with the most search impressions. The title, H1 and description stay as they are until the arrays page takes over the query.
The input box reads C++ and Java brace initializers since #33, but the FAQ still told people to replace the braces with square brackets first. It now says to paste them as they are.
The README still listed the old input formats and four languages, and CONTRIBUTING did not mention that a new sort now needs a Java version for the sorting test to pass.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Four small fixes that came out of the October analytics review:
reads "Got it? Predict the next run". The button switches to predict mode at the first step and moves focus to
Play.
predict_startreportsfrom: "nudge", so this entry point can be compared with the Watch | Predict toggle.Tools without questions (grid, matrix, traversals, the other 1D operations) keep the old nudge.
Why: in the last 28 days, 2 visitors started predict mode and nobody finished a round, while 36 watched a run to
the end.
button. The buttons sit above the Popular links, so the primary one fits the first screen of a 360 × 640 phone. Spiral
Traversal replaces the now-duplicate 2D pill. The title, H1 and description are unchanged.
Why: the home page carries the most traffic and had the highest bounce rate on the site (33%, against 17.5% on the
2D page).
for square brackets.
now says a new sort needs a Java version, because the sorting test checks every language.
The sitemap dates for
/and/data-structures/arraysmove to 2026-10-20.How I checked it
npm run lintnpm test(115 passing)npm run buildOn a local production build, with headless Chrome:
1D search and is absent on 1D insert, spiral, flood fill and rotate. Clicking it starts predict mode at step 1 with
focus on Play, and Space then holds at the first question. Dismissing still hides the nudge for the session.
tool_open {tool: "arrays", from: "home_hero"}.The title and H1 are unchanged.
× width combinations), and no cards overlap.
Screenshots or recording
After merging
Compare the home bounce rate and
predict_startbyfromin GA4 about two weeks after the deploy.