![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程
qiongqiong421122
继续努力。
展开
-
N选M组合算法的非递归Java实现
组合算法:组合就是从N个数中选M个数的所有组合。(N>=M),输出格式按照数字的递增顺序输出。最简洁的实现一般都是利用递归的思想,或者更具体说是使用深度优先搜索算法来解决。今天来用非递归的方式,解决这个经典问题。直接上代码:import java.util.Scanner;import java.util.Stack;public class DepthFirst { private static void printstack(Stack<Integer>.原创 2020-06-26 14:31:27 · 1108 阅读 · 0 评论 -
Linux中find常见用法
转自:https://www.cnblogs.com/yorkyang/p/6294894.html find path -option [ -print ] [ -exec -ok command ] {} \;find命令的参数;pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。-print: fi...转载 2018-11-17 16:46:31 · 2013 阅读 · 0 评论 -
Android Keyguard亮灭屏流程分析
1、 frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java /** * Handle message sent by {@link #notifyFinishedGoingToSleep()} * @see #NOTIFY_FINISHE...原创 2018-12-06 22:42:48 · 671 阅读 · 0 评论 -
Android移动网络APN设置
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...原创 2018-12-20 23:10:56 · 1522 阅读 · 0 评论 -
Android 8.0 Notification 写法Example
package com.example.myapplication;import android.app.Notification;import android.app.NotificationChannel;import android.app.NotificationManager;import android.graphics.Color;import android.supp...原创 2019-04-05 00:12:06 · 175 阅读 · 0 评论