invert-binary-tree
Invert a binary tree。4 / \ 2 7 / \ / \ 1 3 6 9。4 / \ 7 2 / \ / \ 9 6 3 1
Invert a binary tree。4 / \ 2 7 / \ / \ 1 3 6 9。4 / \ 7 2 / \ / \ 9 6 3 1
Longest Substring Without Repeating Characters。Given a string, find the length of the longest substring without repeating characters. For e…
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contai…
Example1: x = 123, return 321 Example2: x = -123, return -321
For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as 0…