Skip to content

Commit 3a79d46

Browse files
committed
目录
1 parent aa406db commit 3a79d46

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎_posts/2014-06-06-LeetCode目录.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ tags : [LeetCode,面试,目录]
99
刷几遍[LeetCode](https://oj.leetcode.com/problems/)来恶补下面试算法题。
1010
#题目
1111

12+
{% assign t=1 %}
1213
{% for post in site.posts %}
13-
{% assign t=post.title %}
14-
{{post.title|remove_first:'Leet'}}
15-
{%if {post.title|remove_first:'Leet'}==t%}
16-
[{{ post.title }}]({{ site.url }}{{ post.url }})
14+
{%if post.title contains 'Leetcode'%}
15+
{{t}}.[{{ post.title }}]({{ site.url }}{{ post.url }})
16+
{%t={{t|plus:1}}%}
17+
{% t++ %}
1718
{% endif %}
18-
{{t}}
1919
{% endfor %}

0 commit comments

Comments
 (0)