merge-two-sorted-lists 1.0.0
Merge Two Sorted Lists
Loading...
Searching...
No Matches
Solution::Compare Struct Reference

Public Member Functions

bool operator() (ListNode *a, ListNode *b)
 

Detailed Description

Definition at line 20 of file main.cpp.

Member Function Documentation

◆ operator()()

bool Solution::Compare::operator() ( ListNode a,
ListNode b 
)
inline

Definition at line 22 of file main.cpp.

23 {
24 return a->val > b->val;
25 }
int val
Definition main.cpp:10

References ListNode::val.


The documentation for this struct was generated from the following file: