佳爷的后花媛


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Search

PHP中的hash

Posted on 2018-10-22 | In PHP | | Visitors:

hash table

哈希表通常提供查找,插入,删除等操作。这些操作在最坏的情况下和链表的性能一样为O(n)。 不过通常并不会这么坏,合理设计的哈希算法能有效的避免这类情况,通常哈希表的这些操作时间复杂度为O(1)。

哈希表是一种通过哈希函数,将特定的键映射到特定值的一种数据结构,它维护键和值之间一一对应关系。

Read more »

PHP之数组

Posted on 2018-10-22 | In PHP | | Visitors:

了解下PHP的数组

Read more »

逆波兰表达

Posted on 2018-10-16 | In 小概念 | | Visitors:

逆波兰表示法

逆波兰表示法(Reverse Polish notation,RPN,或逆波兰记法),是一种是由波兰数学家扬·武卡谢维奇1920年引入的数学表达式方式,在逆波兰记法中,所有操作符置于操作数的后面,因此也被称为后缀表示法。逆波兰记法不需要括号来标识操作符的优先级。

Read more »

程序员职业素养之读后感

Posted on 2018-10-10 | In 书籍 | | Visitors:

程序员的职业素养

花了几个小时,把《程序员的职业素养》看完了,刚开始以为是一本讲代码规范什么的,看了才发现,内容很给力,挺干的。
我觉得工作以来,自己绝对算不上一个称职的程序员,也很不专业,一直想往专业的方向去发展,却总是事与愿违。
一路走来,发现了很多自身的不足以及太多需要学习的知识,看到自己还有那么多不懂得,真棒,又可以学习新知识了。

Read more »

rfc_7239

Posted on 2018-10-09 | In 小概念 | | Visitors:

1. Introduction

In today’s HTTP landscape, there are a multitude of different applications that act as proxies for the user agents. In many cases, these proxies exists without the action or knowledge of the end-user.These cases occur, for example, when the proxy exists as a part of the infrastructure within the organization running the web server. Such proxies may be used for features such as load balancing or crypto offload. Another example is when the proxy is used within the same organization as the user, and the proxy is used to cache resources. However, these proxies make the requests appear as if they originated from the proxy’s IP address, and they may change other information in the original request. This represents a loss of information from the original request.

Read more »

Production

Posted on 2018-10-08 | In 编译原理 | | Visitors:

Production (computer science)

From Wikipedia

A production or production rule in computer science is a rewrite rule specifying a symbol substitution that can be recursively performed to generate new symbol sequences. A finite set of productions is the main component in the specification of a formal grammar (specifically a generative grammar). The other components are a finite set of nonterminal symbols, a finite set (known as an alphabet) of terminal symbols that is disjoint from and a distinguished symbol that is the start symbol.

Read more »

我终于成了你的前女友

Posted on 2018-10-08 | In 小说 | | Visitors:

两三年前写的小说,当年的伪文艺啊,现在看看,还是没经历过爱情的天真和浪漫,没恋爱之前以为喜欢就是爱情,经历过才知道,合适才是主要。
突然想写小说了,改日有空再写写。

写在前面:
这部小说是在我看了巫其格的小说猫小姐恋爱之后写的,里面也借鉴了猫小姐.不过这片小说里面其实是带了我的影子.朋友们看了都觉得我是在写自己.喜欢巫大大的暖文.所以开始尝试写自己的文章.记下那些美好.憧憬一些未来.

一直喜欢在别人的故事里迷失了自己。看到一句暖心的话会不自主的扬起嘴角,如果故事里的主角遇到不开森也会流泪。我叫云舒.不知道为什么母上大人会给我取这么”文雅”的名字,以至于每次刚开学老师说这次叫个男生起来回答问题时都会说:”那就云舒来回答吧”,伴着一阵哄笑我不得不说我是个女生.老师一脸尴尬”那就你来回答吧”.心里头默默画个圈圈.人家明明是个软妹子嘛.唉,虽然看起来不是很像.

Read more »

文法

Posted on 2018-09-27 | In 编译原理 | | Visitors:

上下无关文法

文法被用于组织编译器前端,文法自然地描述了大多数程序设计语言构造的层次化语法结构,例如java的if-else语句有如下的形式:
if(expression) statement else statement
用expr表示表达式,变量stmt表示语句,构造规则表示:
Stmt->if(expr)stmt else stmt(产生式)
->:可以具有如下形式
If ():终结符号
expr stmt :非终结符号

Read more »

一个“简单”的语法制导翻译器

Posted on 2018-09-26 | In 编译原理 | | Visitors:

PHP-Interview-Practices

Posted on 2018-09-26 | In PHP | | Visitors:

PHP interview best practices in China

基础篇

  • 了解大部分数组处理函数
  • 字符串处理函数 区别 mb_ 系列函数
  • & 引用,结合案例分析
  • == 与 === 区别
  • isset 与 empty 区别
  • 全部魔术函数理解
  • static、$this、self 区别
  • private、protected、public、final 区别
  • OOP 思想
  • 抽象类、接口 分别使用场景
  • Trait 是什么东西
  • echo、print、print_r 区别(区分出表达式与语句的区别)
  • construct 与 destruct 区别
  • static 作用(区分类与函数内)手册 、SOF
  • __toString() 作用
  • 单引号'与双引号"区别
  • 常见 HTTP 状态码,分别代表什么含义
  • 301 什么意思 404 呢?
    Read more »
1…345…7

Zoe

get busy living or busy dying

65 posts
15 categories
30 tags
GitHub
© 2019 Zoe
Powered by Hexo
|
Theme — NexT.Muse v5.1.4