What's the class definition of Interval ????


  • 0
    T

    what's the class definition of Interval ????


  • 0

    Sorry for missing that, below is the class definition of Interval for C++:

    /**
     * Definition for an interval.
     * struct Interval {
     *     int start;
     *     int end;
     *     Interval() : start(0), end(0) {}
     *     Interval(int s, int e) : start(s), end(e) {}
     * };
     */
    

    Please click the reset icon above the code editor to reset the code to the latest code definition to see the Interval definition.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.