fn main() { println!("Hello, world!"); } struct KthLargest { } /** * `&self` means the method takes an immutable reference. * If you need a mutable reference, change it to `&mut self` instead. */ impl KthLargest { fn new(k: i32, nums: Vec) -> Self { } fn add(&self, val: i32) -> i32 { } } /** * Your KthLargest object will be instantiated and called as such: * let obj = KthLargest::new(k, nums); * let ret_1: i32 = obj.add(val); */