John1Tang's Blog


  • Home

  • Tags

  • Categories

  • Archives

mysqlclient install on mac os

Posted on 2020-01-30 | In dev
I tried to “pip3 install mysqlclient”, on terminal it said: 12345678910111213141516ERROR: Command errored out with exit status 1: command: /usr/local/ ...
Read more »

leetcode-29

Posted on 2019-12-24
Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator. Return the quotient after divid ...
Read more »

leetcode-8

Posted on 2019-12-22 | In algorithm
Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non-whit ...
Read more »

thoughts on performance of max vs order by limit 1

Posted on 2019-12-20 | In dev
Today in a interview i was asked to write a SQL that query for the very hour of most sent msg per user. When i write down the sql with “group by … ord ...
Read more »

leetcode-3

Posted on 2019-12-19 | In algorithm
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: “abcabcbb”Output: 3Explanation: The answer i ...
Read more »

record for the twisted way of deploy hexo with nextT theme

Posted on 2019-12-18 | In ops
问题一 使用hexo搭建使用nextT主题的博客,使用tags,categories功能配置不生效网上看到最多的对使用 tags,categories功能,需要在_config.yml中配置以下选项 123456789menu: home: / || home #about:  ...
Read more »

ARTS-Week003

Posted on 2019-07-28 | In ARTS
Algorithm本周Leetcode算法题: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: ...
Read more »

ARTS-Week002

Posted on 2019-07-21 | In ARTS
Algorithm本周Leetcode算法题:Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn s ...
Read more »

ARTS-Week001

Posted on 2019-07-15 | In ARTS
Algorithm本周Leetcode算法题:You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and eac ...
Read more »
John1Tang

John1Tang

9 posts
4 categories
6 tags
GitHub Email
© 2020 John1Tang
Powered by Hexo
|
Theme — NexT.Muse v5.1.4