Skip to content
Plan 2027 ยท Data Structures and Algorithms

Advent of Code 2026: Start Time in India, Format, Rules on AI and Leaderboards, a Starter Template and a Preparation Plan

By Younus FardeenUpdated 11 Nov 20268 min read
Short answer

Advent of Code 2026 starts on 1 December at midnight US Eastern time (UTC-5), which is 10:30 am in India. Each day brings two small puzzles for any language. There is no global leaderboard, and the official FAQ says not to use AI to solve puzzles. The 2026 puzzle count is not stated yet; 2025 had 12 days.

Advent of Code is a free calendar of small programming puzzles by Eric Wastl that starts every 1 December. This guide is for Indian students who want to take part in 2026, use it as practice for placements, and keep a clean public record. We read the official 2026 and 2025 pages, the About and FAQ text and the 2025 stats page on 11 November 2026.

The code below was run, and the output shown is what it printed.

What is confirmed for 2026 and what is not

QuestionAnswer on 11 November 2026
When does it start?1 December, midnight US Eastern Standard Time (UTC-5), according to the 2026 home page
How often do puzzles come out?The About page says puzzles start on 1 December so that day numbers match dates, come out every day and end in mid-December
How many puzzles?Not stated. The 2025 edition ran 12 days, from 1 to 12 December. Before that it ran 25 days for ten years. The About page says the number of days changed because building puzzles takes a great deal of the creator's time
Is there a global leaderboard?No. The 2026 leaderboard page says Advent of Code 2026 does not have one. Private leaderboards remain
Is it free?Yes, free to use but not free to copy
How do I sign in?Through GitHub, Google, Twitter or Reddit sign-in. Advent of Code does not see your password
Should I use AI to solve puzzles?The official FAQ says no

The format is simple. Each day has two puzzles: the second opens after you finish the first, and each earns one star. You get your own puzzle input after you sign in. The site says every puzzle has a solution that finishes in at most 15 seconds on ten-year-old hardware, so you do not need a fast machine.

Taking part from India

US Eastern Standard Time is UTC-5 and India is UTC+5:30, a difference of 10 hours 30 minutes. So the puzzle for each day opens at 10:30 am IST, starting 1 December. There is no penalty for solving later in the day, because there is no global ranking. If you want to race, the FAQ suggests private leaderboards with people in your area.

Expect attrition. The 2025 stats page, read on 11 November 2026, shows how many people finished each day:

2025 dayFinished both partsFinished only part 1
Day 1168,02851,999
Day 4101,9094,928
Day 856,1962,676
Day 1220,8834,334

About 12% of the people who finished both parts of day 1 also finished both parts of day 12. Finishing early days with clean code is a good result.

Rules on leaderboards, AI and sharing

  • Leaderboards. The creator removed the global leaderboard after ten years, citing stress, strain on the servers and people taking it too seriously. You can share a read-only view of a private leaderboard, but the FAQ asks you not to use it to build a new global one.
  • Private leaderboard rules. Each leaderboard's owner decides what tools you may use, such as maximum run time, language, when you may open the puzzle, or whether AI is allowed. Ask before you join.
  • AI. The FAQ says puzzles are made for humans to solve and suggests using other exercises to practise prompting an AI. Do not paste puzzle text into a chatbot or let an agent write your solution.
  • Sharing. Do not put puzzle text or your inputs in a public repository, and do not build a site that imitates Advent of Code. You may link to puzzles and share your own code.

Practical ways to stay honest: turn off inline AI completion in your Advent of Code folder for December, solve with the examples and your own small tests, and read other people's solutions only after you have a star, and only if your leaderboard's rules allow it. For AI practice, see vibe coding explained and the free AI coding assistants.

Language choice and a starter template you can run today

Any language works. Use the one you want to be fast in at interviews: Python is quick to write for parsing and sets, JavaScript suits web developers, and Java or C++ are fine if your campus tests use them. Switching language in the middle of the month costs more than it gives.

Save your own puzzle input as input.txt beside the script and run it. Without that file the script uses the sample, so you can test the layout now. This Python version prints the two lines shown after it.

from pathlib import Path

# Replace SAMPLE with the example from the puzzle text while you test.
SAMPLE = """12 7 3
5 5
9
"""


def parse(text):
    return [[int(x) for x in line.split()] for line in text.strip().splitlines()]


def part1(rows):
    return sum(sum(r) for r in rows)


def part2(rows):
    return max(sum(r) for r in rows)


def main():
    path = Path("input.txt")  # your own puzzle input, never committed
    text = path.read_text() if path.exists() else SAMPLE
    rows = parse(text)
    print("part 1:", part1(rows))
    print("part 2:", part2(rows))


if __name__ == "__main__":
    main()

Output with the sample: part 1: 41 and part 2: 22. The first part adds every number, and the second finds the largest row total. Replace the two functions with each day's logic.

The same layout in JavaScript for Node.js prints the same two lines:

const fs = require("fs");

// Replace SAMPLE with the example from the puzzle text while you test.
const SAMPLE = `12 7 3
5 5
9`;

const text = fs.existsSync("input.txt") ? fs.readFileSync("input.txt", "utf8") : SAMPLE;
const rows = text.trim().split("\n").map((line) => line.trim().split(/\s+/).map(Number));
const sum = (a) => a.reduce((x, y) => x + y, 0);

console.log("part 1:", sum(rows.map(sum)));
console.log("part 2:", Math.max(...rows.map(sum)));

Many puzzles use grids. This helper walks four directions and finds a shortest path on a small grid. It prints 4, the number of steps from the top-left to the bottom-right corner.

from collections import deque


def neighbours4(r, c, rows, cols):
    for dr, dc in ((-1, 0), (1, 0), (0, -1), (0, 1)):
        nr, nc = r + dr, c + dc
        if 0 <= nr < rows and 0 <= nc < cols:
            yield nr, nc


def bfs(grid, start, goal):
    rows, cols = len(grid), len(grid[0])
    seen = {start}
    queue = deque([(start, 0)])
    while queue:
        (r, c), steps = queue.popleft()
        if (r, c) == goal:
            return steps
        for nr, nc in neighbours4(r, c, rows, cols):
            if grid[nr][nc] != "#" and (nr, nc) not in seen:
                seen.add((nr, nc))
                queue.append(((nr, nc), steps + 1))
    return None


grid = [".#.", "...", ".#."]
print(bfs(grid, (0, 0), (2, 2)))

Preparation plan, 11 to 30 November

  1. Week of 11 November: pick one language, create a repository with one folder per day and add the template. Create your account with GitHub or Google before 1 December.
  2. Week of 18 November: practise parsing: split lines, convert to integers, read grids and use regular expressions. Try the first four days of the 2025 puzzles. The puzzle text is public, and inputs need a login.
  3. Week of 25 November: practise breadth-first search on grids, hash maps, sets, recursion and simple simulations. Try days 5 to 8 of 2025.
  4. Each day in December: read twice, write the example as a test, solve part 1, commit, then part 2. Stop after two hours and come back later.

Use it in a portfolio

  • Name the repository advent-of-code-2026, with one folder per day and a README table: day, approach, run time, one thing you learned.
  • Add input.txt and the puzzle text to your .gitignore, because the site asks you not to publish them.
  • Pin it on your GitHub profile and write one honest line on your resume, for example 'Solved 2026 Advent of Code days 1 to 9 in Python'. Never claim stars you did not earn.
  • The About page notes that people use it as interview prep. It complements, and does not replace, the DSA learning path, the coding practice sites and our placement plan for 2027.

Frequently asked questions

What time does Advent of Code 2026 start in India?

10:30 am IST on 1 December, and at 10:30 am IST on each following day. The site releases puzzles at midnight US Eastern Standard Time (UTC-5), and India is 10 hours 30 minutes ahead of that. Set an alarm; you can start any time after the puzzle opens.

How many days is Advent of Code 2026?

The official site has not stated the number. It says puzzles start on 1 December, come out every day and end in mid-December. The 2025 edition ran 12 days, so a similar length is likely, but that is an expectation, not a fact.

Is there a leaderboard in Advent of Code 2026?

There is no global leaderboard. The creator removed it after ten years. You can still create or join private leaderboards, and the owner of each one sets its rules. You can share a read-only view of yours. Ask the owner of any private leaderboard about its rules on tools and timing before you join.

Can I use ChatGPT or Copilot for Advent of Code?

The official FAQ says you should not use AI to solve the puzzles, because they are written for humans. Private leaderboards may set their own rules. If you want to practise with AI, use other exercises and keep Advent of Code for your own thinking.

Which language is best for Advent of Code?

The one you use in interviews. Python is the quickest to write, JavaScript suits web developers, and Java or C++ are good if your campus tests allow them. Any language works, and every puzzle can be solved quickly even on slow hardware.

Is Advent of Code good for placement preparation?

It is good practice for parsing, grids, graphs and clean code, and the site says people use it as interview prep. It does not cover everything, so combine it with a DSA plan and timed practice on a coding site, because interviews are timed and the puzzles are not.

Sources checked

Learn this with mentors

Programmes for builders and engineers with admissions open: live classes, mentors and project work.

Continue learning

Learning path

Data Structures and Algorithms learning path

Arrays to dynamic programming in order, with a problem plan.

Plan 2027

Placement prep 2027 timeline

Eight-month plan, Nov 2026 to Jun 2027, with weekly hours and free resources

Open →
Plan 2027

Learn to code in 2027

Month-by-month plan with free resources, projects, checkpoints, weekly hours

Open →