Skip to content

Commit 802ee0f

Browse files
add 3150
1 parent 2dae9f2 commit 802ee0f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: database/_3150.sql

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-- Write your PostgreSQL query statement below
2+
select tweet_id
3+
from tweets
4+
where length(content) > 140
5+
or regexp_count(content, '@\w') > 3
6+
or regexp_count(content, '#\w') > 3
7+
order by 1

Diff for: paginated_contents/database/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
|------|----------------|-----------------------------------------------------------------------------------------------------------------------|---------------|---------------|-------------
33
| 3198 |[Find Cities in Each State](https://leetcode.com/problems/find-cities-in-each-state/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_3198.sql) || Easy |
44
| 3172 |[Second Day Verification](https://leetcode.com/problems/second-day-verification/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_3172.sql) || Easy |
5+
| 3150 |[Invalid Tweets II](https://leetcode.com/problems/invalid-tweets-ii/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_3150.sql) || Easy |
56
| 2990 |[Loan Types](https://leetcode.com/problems/loan-types/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_2990.sql) || Easy |
67
| 2205 |[The Number of Users That Are Eligible for Discount](https://leetcode.com/problems/the-number-of-users-that-are-eligible-for-discount/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_2205.sql) || Easy |
78
| 2082 |[The Number of Rich Customers](https://leetcode.com/problems/the-number-of-rich-customers/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_2082.sql) || Easy |

0 commit comments

Comments
 (0)