• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

nunca

但行好事 莫问前程
  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 ··· 6 7 8 9 10 11 下一页

2018年3月23日

C#中集合的交集:Intersect问题

摘要: 集合的包含关系常见的有: 用法比较简单: L1.Intersect / Except / Union ( L2 ) 在实际应用过程中,遇到这样一个问题,代码附下: 如上代码所示,我的目的是想找到mList(类型为List<List<string>>,其中每个元素都是 List<string> 类型 阅读全文

posted @ 2018-03-23 15:38 乐晓东随笔 阅读(3436) 评论(0) 推荐(0)

LeetCode Easy: 27. Remove Element

摘要: 一、题目 Given an array and a value, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, 阅读全文

posted @ 2018-03-23 09:08 乐晓东随笔 阅读(127) 评论(0) 推荐(0)

2018年3月22日

LeetCode Easy: 26.Remove Duplicates from Sorted Array

摘要: 一、题目 Given a sorted array, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra spa 阅读全文

posted @ 2018-03-22 08:48 乐晓东随笔 阅读(100) 评论(0) 推荐(0)

2018年3月21日

LeetCode Easy: 21. Merge Two Sorted Lists

摘要: 一、题目 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.(合并两 阅读全文

posted @ 2018-03-21 11:54 乐晓东随笔 阅读(131) 评论(0) 推荐(0)

2018年3月20日

LeetCode Easy: 20. Valid Parentheses

摘要: 一、题目 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in 阅读全文

posted @ 2018-03-20 10:55 乐晓东随笔 阅读(129) 评论(0) 推荐(0)

2018年3月19日

LeetCode Easy: 14. Longest Common Prefix

摘要: 参考博客:http://blog.csdn.net/nxhyd/article/details/71566780 一、题目 Write a function to find the longest common prefix string amongst an array of strings. 找 阅读全文

posted @ 2018-03-19 22:04 乐晓东随笔 阅读(108) 评论(0) 推荐(0)

2018年3月18日

LeetCode Easy: 13. Roman to Integer

摘要: 一、题目 Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 二、思路解析 罗马数规则如下: 将数字和字符串对应,当然需要用到字典,循环 阅读全文

posted @ 2018-03-18 11:16 乐晓东随笔 阅读(117) 评论(0) 推荐(0)

2018年3月17日

LeetCode Easy: Palindrome Number

摘要: 一、题目 Determine whether an integer is a palindrome. Do this without extra space. 二、解题思路 首先我想到的是把给定的数变成字符串,通过字符串反转判断是否相等来判断原数是不是回文数。首先要判断给定的数是不是负数,负数肯定不 阅读全文

posted @ 2018-03-17 10:00 乐晓东随笔 阅读(99) 评论(0) 推荐(0)

2018年3月16日

DL: 初试 tensorflow

摘要: 一、TensorFlow安装 win 7 下安装 TensorFlow并不困难,cmd下 pip install TensorFlow即可 二、对于TensorFlow初学者,MNIST数据集试验就像是初学编程的“Hello,world”,第一次尝试并不困难,网上教程挺多。 参考博客: http:/ 阅读全文

posted @ 2018-03-16 21:49 乐晓东随笔 阅读(187) 评论(0) 推荐(0)

LeetCode 第七题:Reverse Integer

摘要: 一、题目 Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: 二、解题思路 首先我想到的是字符串的反转问题,利用栈进行,先把给定的整数转换成字符串,然后把元素压入栈 阅读全文

posted @ 2018-03-16 09:01 乐晓东随笔 阅读(272) 评论(0) 推荐(0)

上一页 1 ··· 6 7 8 9 10 11 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3