摘要:
Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space?Subscribeto see which companies asked thi... 阅读全文
摘要:
Given an array containingndistinct numbers taken from0, 1, 2, ..., n, find the one that is missing from the array. For example,Givennums=[0, 1, 3]retu... 阅读全文
Number of 1 BitsWrite a function that takes an unsigned integer and returns the number of ’1' bits i
摘要:
Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theHamming weight).For example, the 32-bit in... 阅读全文
摘要:
Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A ... 阅读全文
摘要:
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->... 阅读全文