ARTS打卡计划第十四周

Algorithms:

https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock/

Review:

“How to write a good software design doc” by Angela Zhang https://medium.com/p/66fcf019569c

Tips:

android log 分类。

kernel、radio、event、main这四种log。目前主要用了kernel 和event /main log.

Share:

分享下review的文章小结

主要讲解了书写文档相关的内u容,写文档主要包括哪些东西等等。

其实,写文档的好处还是挺多的,最起码你的目标清晰,架构帮助你理思路。另外最重要的就是你可以帮助后面自己回归自己完成了什么,帮助提共给他们介绍。

原文地址:https://www.cnblogs.com/zCoderJoy/p/11336988.html

时间: 2024-07-30 03:53:18

ARTS打卡计划第十四周的相关文章

ARTS打卡计划第十周

Algorithms: https://leetcode-cn.com/problems/next-greater-node-in-linked-list/ 链表中下一个更大的值,双层循环及优化,后面看可以栈处理,学习了 Review: “Can You Avoid Functional Programming as a Policy?” by Eric Elliott https://link.medium.com/oWci9jdLjY Tips: android : Andorid  lin

ARTS打卡计划第十六周

Algorithms: https://leetcode-cn.com/problems/min-stack/submissions// Review: https://www.infoq.cn/article/why-do-we-need-webrtc Tips: android handler. 主线程不做处理复杂的问题,创建hanlder发消息到主线程,主线程loop 从messagequeue取消息进行处理. Share: 分享下review的文章小结 y也是讲解了webrtc之前相关知

ARTS打卡计划第四周-ALGORITHM

866. 回文素数 求出大于或等于 N 的最小回文素数. 回顾一下,如果一个数大于 1,且其因数只有 1 和它自身,那么这个数是素数. 例如,2,3,5,7,11 以及 13 是素数. 回顾一下,如果一个数从左往右读与从右往左读是一样的,那么这个数是回文数. 例如,12321 是回文数. package com711; import java.util.ArrayList; import java.util.Collections; import java.util.List; public c

ARTS打卡计划第四周-Review-构建大规模django应用的一些建议

本周文章来源于https://medium.com/@DoorDash/tips-for-building-high-quality-django-apps-at-scale-a5a25917b2b5,这篇文章还是非常难阅读的.但是其中提到了一些django的实践还是很有借鉴意义. 文章中主要有如下观点 1.非常小心的设计你的apps 如果你不明白如何去设计多个app,你可以保持只有一个app.如果你一定要分成多个app,你必须明确减少他们的依赖.app之间的依赖越少,每个app越容易打成一个微

ARTS打卡计划第四周

Algorithms: https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ 采用了map的存储,然后移动窗口方式解决此问题,当然看到有个动态规划,一直很难理解. Review: https://www.infoq.cn/article/rAJiubRpi9xSl_LEhI2N 友谊与程序,生活与事业. Tips: c++11 : 1.右值引用 是对临时对象的一种引用,它是在初始化时完成引

ARTS打卡计划第二周-Review

本周review的文章是:https://medium.com/@hakibenita/optimizing-django-admin-paginator-53c4eb6bfca3 改篇文章的题目是:Optimizing Django Admin Paginator,How we finally made Django admin fast for large tables. django分页的时候,大部分时间都会消耗在求count上,本篇文章提到了几点用于提升大表分页的方法: 1.重写默认的分

ARTS打卡计划第一周-Review

本周分享的文章来自于medium的 Testing Best Practices for Java + Spring Apps 这个文章主要讲的是java测试的一些最佳实践 1.避免函数返回void,返回void不利于写单元测试,因为返回void不知道方法执行的内部情况 2.使用有意义的 assertions,可以使用  https://google.github.io/truth/ 类库 3.记得测试异常 4.可以使用变量进行多次测试 5.使用Mockito进行mock测试 原文地址:http

ARTS打卡计划第二周-Algorithm

665. 非递减数列  https://leetcode-cn.com/problems/non-decreasing-array/ 给定一个长度为 n 的整数数组,你的任务是判断在最多改变 1 个元素的情况下,该数组能否变成一个非递减数列. 我们是这样定义一个非递减数列的: 对于数组中所有的 i (1 <= i < n),满足 array[i] <= array[i + 1]. class Solution { public boolean checkPossibility(int[]

ARTS打卡计划第三周-Algorithm

1. 两数之和 提供了2种揭发 public class Solution1 { public int[] twoSum(int[] nums, int target) { int len=nums.length; int[] result = new int[2]; for(int i=0;i<len;i++) { for(int j=i+1;j<len;j++) { if(nums[i]==target-nums[j]) { result[0]=i; result[1]=j; } } }