Skip to content

DawnAve/Leetcode-1759-Medium-Math-Sliding-Window

View on GitHub ↗Related repositories →

A interesting problem. I followed the hint, using nC2 where n is the length of the continuous substring. There is also a much more elegant sliding window solution. What's funny is, I got the pattern but I forgot how to slide the window, so I missed the better solution. But anyway, using math is still enough to figure out the problem.

active 2023-11-092023-11-09 (UTC)

Complete coverage26,710 / 26,710 hourly files (100%) · 2 absent upstream2023-08-152026-08-31 (UTC)
Events
3
Pushes
1
Pull requests
0
Issues
0
Stars
0
Forks
0

Activity over time

Daily event counts in the loaded window

Line chart, 1 days from 2023-11-09 to 2023-11-09. Pushes: 1 total, peak 1 in a day. Pull requests: 0 total, peak 0 in a day. Issues: 0 total, peak 0 in a day. Comments: 0 total, peak 0 in a day. Stars: 0 total, peak 0 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

ContributorContributionsPushesPRsComments
DawnAve1100

Recent activity

Latest issues, pull requests and releases

No issue or PR events — this repo's activity is pushes only.

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 0 stars here means stars gained during the window, not the repo's star count.