16 lines
215 B
C++
16 lines
215 B
C++
|
#ifndef S0404_sum_of_left_leaves_HPP
|
||
|
#define S0404_sum_of_left_leaves_HPP
|
||
|
|
||
|
#include <queue>
|
||
|
|
||
|
#include "structures.hpp"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class S0404 {
|
||
|
public:
|
||
|
int sumOfLeftLeaves(TreeNode* root);
|
||
|
};
|
||
|
|
||
|
#endif
|