Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ SummaryRanges
Class
SummaryRanges
352-data-stream-as-disjoint-intervals.rs:2–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
use std::cmp;
2
struct SummaryRanges {
3
set: std::collections::BTreeSet<(i32, i32)>,
4
}
5
6
impl SummaryRanges {
7
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected