merge-k-sorted-lists 1.0.0
Merge k Sorted Lists
Loading...
Searching...
No Matches
Solution::Comparator 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::Comparator::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: