摘要: Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible stri 阅读全文
posted @ 2018-10-23 11:04 bernieloveslife 阅读(126) 评论(0) 推荐(0)
摘要: Give a string s, count the number of non empty (contiguous) substrings that have the same number of 0's and 1's, and all the 0's and all the 1's in th 阅读全文
posted @ 2018-10-23 11:04 bernieloveslife 阅读(99) 评论(0) 推荐(0)
摘要: Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of 阅读全文
posted @ 2018-10-23 11:03 bernieloveslife 阅读(100) 评论(0) 推荐(0)
摘要: Given a Weather table, write a SQL query to find all dates' Ids with higher temperature compared to its previous (yesterday's) dates. + + + + | Id(INT 阅读全文
posted @ 2018-10-23 11:03 bernieloveslife 阅读(99) 评论(0) 推荐(0)
摘要: Write a SQL query to find all duplicate emails in a table named Person. + + + | Id | Email | + + + | 1 | a@b.com | | 2 | c@d.com | | 3 | a@b.com | + + 阅读全文
posted @ 2018-10-23 11:03 bernieloveslife 阅读(130) 评论(0) 推荐(0)