<commit_before>---
layout: post
title: Code For Job 
subtitle: C++ STL, Leetcode
---


<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default"></script>

LeetCode题解，151道题完整版 https://github.com/soulmachine/leetcode

#### I will be on the market soon. Do some coding practice here for being well prepared. ####

### C++ STL ###<commit_msg>Update 2017-04-23-Code-For-Job.md<commit_after>---
layout: post
title: Code For Job 
subtitle: C++ STL, Leetcode
---


<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default"></script>

LeetCode题解，151道题完整版 https://github.com/soulmachine/leetcode

[三十分钟掌握STL](http://net.pku.edu.cn/~yhf/UsingSTL.htm)

#### I will be on the market soon. Do some coding practice here for being well prepared. ####

### C++ STL ###

STL的一个重要特点是数据结构和算法的分离。尽管这是个简单的概念，但这种分离确实使得STL变得非常通用。例如，由于STL的sort()函数是完全通用的，你可以用它来操作几乎任何数据集合，包括链表，容器和数组。

[vector](https://zh.wikipedia.org/wiki/Vector_(STL))
{'fraction_non_alphanumeric': 0.16933867735470942, 'fraction_numerical': 0.014028056112224449, 'mean_word_length': 5.166666666666667, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6180248', 'n_tokens_mistral': 440, 'n_tokens_neox': 451, 'n_words': 72}