TinaCristal's Blog


  • Home

  • Tags

  • Categories

  • Archives

  • Search

Leetcod 639. Decode Ways II

Posted on 2018-11-25 | In leetcode

A message containing letters from A-Z is being encoded to numbers using the following mapping way:

‘A’ -> 1

‘B’ -> 2

Read more »

201612-2 工资计算

Posted on 2018-11-24 | In ccf认证

问题描述
  小明的公司每个月给小明发工资,而小明拿到的工资为交完个人所得税之后的工资。假设他一个月的税前工资(扣除五险一金后、未扣税前的工资)为S元,则他应交的个人所得税按如下公式计算:

Read more »

leetcode736. Parse Lisp Expression

Posted on 2018-11-24 | In leetcode

You are given a string expression representing a Lisp-like expression to return the integer value of.

Read more »

周总结(19)

Posted on 2018-11-24 | In 周总结

学习

  • 算法题还是没有尽全力去刷 看着发现有刷不完的算法 但是能理解一道 这种类型的都可以差不多理解 所以还是有进步
    Read more »

Leetcode748 Shortest Completing Word

Posted on 2018-11-23 | In leetcode

Find the minimum length word from a given dictionary words, which has all the letters from the string licensePlate. Such a word is said to complete the given string licensePlate

Read more »

vector的几种初始化及赋值方式:

Posted on 2018-11-22 | In c++

vector的几种初始化及赋值方式:
(1)不带参数的构造函数初始化

Read more »

2018-03-1 跳一跳

Posted on 2018-11-22 | In ccf认证

tmp记录上一次跳的值

Read more »

LeetCode 763. Partition Labels

Posted on 2018-11-22 | In leetcode

题目大意:把字符串分割成尽量多的不重叠子串,输出子串的长度数组。要求相同字符只能出现在一个子串中。
Problem:

A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one part, and return a list of integers representing the size of these parts.

Read more »

memset 为Int型数组初始化问题

Posted on 2018-11-21

原型:extern void memset(void buffer, int c, int count);

功能:把buffer所指内存区域的前count个字节设置成字符c。

Read more »

201409-4 最优配餐

Posted on 2018-11-21 | In ccf认证

问题描述

  栋栋最近开了一家餐饮连锁店,提供外卖服务。随着连锁店越来越多,怎么合理的给客户送餐成为了一个急需解决的问题。
  栋栋的连锁店所在的区域可以看成是一个n×n的方格图(如下图所示),方格的格点上的位置上可能包含栋栋的分店(绿色标注)或者客户(蓝色标注),有一些格点是不能经过的(红色标注)。

Read more »

1…232425…45

TinaCristal

443 posts
57 categories
55 tags
GitHub E-Mail
© 2020 TinaCristal
Powered by Hexo
|
Theme — NexT.Mist v5.1.4