leetcode

Solution to some Leetcode problems written in C++
git clone git://git.dimitrijedobrota.com/leetcode.git
Log | Files | Refs | README | LICENSE

0405.cpp (156B)


0 class Solution {
1 public:
2 string toHex(int num) const {
3 std::stringstream ss;
4 ss << std::hex << num;
5 return ss.str();
6 }
7 };