Fluid
  • Home
  • Archives
  • Categories
  • Tags
  • About

Intellij idea Clion

Ideahttps://blog.lupf.cn/articles/2023/11/12/1699792053397.html 【请解压】IDEA 2023.x激活至2099年插件 clion 全家桶https://www.jetbrains.com/zh-cn/clion/download/other.html https://blog.lupf.cn/articles/2023/07/10/1
2024-05-11
TOOL

kotlin coroutine

大致上是将本来函数该返回的值通过参数中的回调函数进行返回。 https://flaneur2020.github.io/2020/07/04/kotlin-coroutine-cps/ https://time.geekbang.org/column/article/497868
2024-05-10
Kotlin

permission_storage

App data and filesAndroid uses a file system that’s similar to disk-based file systems on other platforms. The system provides several options for you to save your app data: App-specific storage: Sto
2023-11-15
#permission

notification

Notification switch1NotificationManagerCompat.from(this).areNotificationsEnabled() channel switch1NotificationManager.IMPORTANCE_NONE == NotificationManagerCompat.from(this).getNotificationChannel(CH
2023-11-15
#ANDROID

compose_layout

Compose study pathJetpack Compose for Android Developers Compose Guide document Images and graphics in Compose  |  Jetpack Compose  |  Android Developers ScaffoldJetpack Compose ba
2023-08-20
#compose

LC_DP_BAG

对于01背包,物品i,我觉得也是从0开始更好。 纯01背包:装满这个背包的最大价值。 分割等和子集:能否装满。 本题: 给一个背包容量,有多少种方式装满。 解法一随想录 背包问题理论基础 这个视频讲的很好 https://www.bilibili.com/video/BV1jT4y1o71J/ 0/1 Knapsack problem | Dynamic Programming - YouTub
2023-08-09
#LEETCODE

LC-DP

Labuladong https://www.bilibili.com/video/BV1XV411Y7oE 重叠子问题 状态转移方程 (最关键) 最优子结构 明确状态 明确 选择 明确dp函数/数组的定义 明确base case 随想录 https://www.bilibili.com/video/BV13Q4y197Wg 动规5部曲对于动态规划问题,我将拆解为如下五步曲,这五步都搞清楚
2023-04-02
DataStructure
#LEETCODE

RecyclerView-padding

修改Display scaling属性后,即使设置字体是dp也会导致,也会出现Text内容的有变化。 计算转账页面的padding,5个TextView平分屏幕宽度,之前nexus5没问题,因为是刚好2倍,我的手机就是有问题,原来是dp转px有损耗。 1234567@get:JvmName("dp2px")val Float.dp: Float get() = conve
2023-01-10
ANDROID
#RecyclerView

LC-GREEDY

https://www.bilibili.com/video/BV1sA4y1S7Sp 这个视频讲到暴力 对数器可以验证答案,有意思。 有同学问了如何验证可不可以用贪心算法呢? 刷题或者面试的时候,手动模拟一下感觉可以局部最优推出整体最优,而且想不到反例,那么就试一试贪心。 贪心算法一般分为如下四步: 将问题分解为若干个子问题 找出适合的贪心策略 求解每一个子问题的最优解 将局部最优解堆叠成全局
2023-01-02
DataStructure
#LEETCODE

ActivityAn activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place
2023-01-02
1…45678…25

Search

Hexo Fluid