Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ Solution
Class
Solution
202-happy-number.rs:3–3 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
use std::collections::HashSet;
2
3
struct Solution;
4
5
impl Solution {
6
pub fn is_happy(n: i32) -> bool {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected