TizzyT's Blog

即使是拖后腿的,拼死努力的话,也是可以超越精英的。


  • Home

  • Archives

  • About

  • Tags

  • Categories

  • Schedule

  • Sitemap

  • Commonweal 404

Counting Bits

Posted on 2019-10-29 |
问题描述(难度中等)Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representa ...
Read more »

Palindromic Substrings

Posted on 2019-10-28 |
问题描述(难度中等)given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end ind ...
Read more »

Lowest Common Ancestor of a Binary Tree

Posted on 2019-10-28 |
问题描述(难度中等)Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: ...
Read more »

Palindrome Linked List

Posted on 2019-10-27 |
问题描述(难度简单)Given a singly linked list, determine if it is a palindrome. Example 1: 12Input: 1->2Output: false Example 2: 12Input: 1->2->2-> ...
Read more »

Sort List

Posted on 2019-10-26 |
问题描述(难度中等)Sort a linked list in O(n log n) time using constant space complexity. Example 1: 12Input: 4->2->1->3Output: 1->2->3->4 Ex ...
Read more »
1…345…21
yeqiaozhu

yeqiaozhu

Walk steps step by step

101 posts
21 tags
RSS
GitHub Lindedin ZhiHu
Creative Commons
© 2020 yeqiaozhu
Powered by Hexo
|
Theme — NexT.Muse v5.1.3