LeetCode Weekly Contest 6解题报告

LeetCode Weekly Contest 6是LeetCode举办的第五场正式周赛,共4道题目,比赛时长2.5小时。

比赛链接:https://leetcode.com/contest/detail/6

题解列表:

LeetCode 404. Sum of Left Leaves

LeetCode 405. Convert a Number to Hexadecimal

LeetCode 406. Queue Reconstruction by Height

LeetCode 407. Trapping Rain Water II

[LeetCode]Convert a Number to Hexadecimal

题目描述:

LeetCode 405. Convert a Number to Hexadecimal

Given an integer, write an algorithm to convert it to hexadecimal. For negative integer, two’s complement method is used.

IMPORTANT:
You must not use any method provided by the library which converts ...

继续阅读

年度归档