自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(48)
  • 资源 (3)
  • 收藏
  • 关注

原创 Remove Nth Node From End of List

public ListNode removeNthFromEnd(ListNode head, int n) { if (head == null) { return head; } int i = 0; ListNode next = head; while (i < n &...

2018-07-30 22:54:07 280

原创 4Sum

public class Solution {public List<List<Integer>> fourSum(int[] num, int target) { ArrayList<List<Integer>> ans = new ArrayList<>(); if(num.length<4)return a...

2018-07-30 21:05:11 80

原创 public class Material

/** * Copyright 2013 Dennis Ippel * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of t...

2018-07-29 21:40:52 252

原创 public class TextureView extends android.view.TextureView implements ISurface

package org.rajawali3d.view;import android.annotation.TargetApi;import android.content.Context;import android.content.res.TypedArray;import android.graphics.SurfaceTexture;import android.opengl...

2018-07-29 21:34:14 734

原创 public class SystemKeyStore

/* * Copyright (C) 2010 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-07-28 10:26:04 137

原创 15. 3Sum

Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would ...

2018-07-28 00:06:59 132

原创 3Sum

Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:The solution set must not cont...

2018-07-27 23:25:04 115

原创 Longest Common Prefix

Write a function to find the longest common prefix string amongst an array of strings.If there is no common prefix, return an empty string "".class Solution { public String longestCommonPrefi...

2018-07-26 22:43:58 114

原创 public class ViewDragHelper

/* * Copyright (C) 2013 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-07-25 20:47:19 183

原创 13. Roman to Integer

oman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X 10L 50C 100D ...

2018-07-25 20:09:59 128

原创 public class TextureView extends View

/* * Copyright (C) 2011 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-07-24 22:32:25 1381

原创 Refactoring Day 13 : Extract Method Object

Refactoring Day 13 : Extract Method Object Today's refactoring comes from Martin Fowlers list of refactorings. You can find his original article here with a brief description. This is a more infr...

2018-07-24 21:40:43 166

原创 Choreographer

/* * Copyright (C) 2011 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-07-23 21:46:47 330

原创 public class VectorDrawableCompat

/* * Copyright (C) 2015 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. You ...

2018-07-23 20:12:21 424

原创 Given an input string (s) and a pattern (p), implement regular expression matching with support for

Given an input stri public boolean isMatch(String text, String pattern) { if (pattern.isEmpty()) return text.isEmpty(); boolean first_match = (!text.isEmpty() && ...

2018-07-22 16:11:51 385

原创 public final class Pattern

/* * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * *...

2018-07-22 14:51:04 1037

原创 public final class ServiceLoader<S> implements Iterable<S>

/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * *...

2018-07-22 11:12:59 251

原创 interface Driver

/* * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * *...

2018-07-22 10:57:18 251

原创 Refactoring Day 15 : Remove Duplication

Refactoring Day 15 : Remove Duplication  This is probably one of the most used refactoring in the forms of methods that are used in more than one place. Duplication will quickly sneak up on you if y...

2018-07-21 23:27:20 154

原创 SecretKeySpec

/* * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistrib...

2018-07-19 22:20:58 19859 7

原创 public class Cipher

/* * Copyright (C) 2014 The Android Open Source Project * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADE...

2018-07-18 23:02:31 783

原创 Java实现算法导论中Rabin-Karp字符串匹配算法

Rabin-Karp算法的思想:假设子串的长度为M,目标字符串的长度为N 计算子串的hash值 计算目标字符串中每个长度为M的子串的hash值(共需要计算N-M+1次) 比较hash值 如果hash值不同,字符串必然不匹配,如果hash值相同,还需要使用朴素算法再次判断 public static void RabinKarpAlogrithm(char[] T,char[] P,...

2018-07-16 20:57:17 457

原创 Reverse Integer

Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21public int reverse(int x) { ...

2018-07-12 22:41:38 127

原创 Manacher's algorithm

Longest Palindromic Substring Part IINovember 20, 2011 by 1337c0d3r  158 RepliesGiven a string S, find the longest palindromic substring in S.Note:This is Part II of the article: Longest Palindromic S...

2018-07-11 22:34:13 323

原创 5. Longest Palindromic Substring

5. Longest Palindromic SubstringDescriptionHintsSubmissionsDiscussSolutionPick OneGiven a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.cla...

2018-07-11 22:22:06 148

原创 neon is Intel Nervana ‘s reference deep learning framework committed to best performance on all hard

eonRelease:2.6.0+fd76bce2Date:Jan 05, 2018neon is Intel Nervana ‘s reference deep learning framework committed to best performance on all hardware. Designed for ease-of-use and extensibility.Features ...

2018-07-11 20:18:13 135

原创 There are two sorted arrays nums1 and nums2 of size m and n respectively.

There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).Example 1:nums1 = [1, 3]...

2018-07-10 23:06:55 819

原创 Given a string, find the length of the longest substring without repeating characters.

Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb", the answer is "b", with the l...

2018-07-09 21:22:47 499

原创 android 中 couldn't find "libidl_license.so"

android { sourceSets { main { jniLibs.srcDirs = ['libs'] } }}在build.gradle中,去除掉上面这个配置就可以解决那个问题

2018-07-09 16:33:13 576

原创 2. Add Two Numbers

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return i...

2018-07-08 21:52:47 70

原创 TensorFlow Android Camera Demo

# TensorFlow Android Camera DemoThis folder contains an example application utilizing TensorFlow for Androiddevices.## DescriptionThe demos in this folder are designed to give straightforward s...

2018-07-08 19:45:40 554

原创 org.csploit.android;CSploitApplication

/* * This file is part of the dSploit. * * Copyleft of Simone Margaritelli aka evilsocket &lt;evilsocket@gmail.com&gt; * * dSploit is free software: you can redistribute it and/or modify * it un...

2018-07-08 18:08:01 353

原创 com.ryg.dynamicload.internal。DLProxyImpl

/* * Copyright (C) 2014 singwhatiwanna(任玉刚) &lt;singwhatiwanna@gmail.com&gt; * * collaborator:田啸,宋思宇,Mr.Simple * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not u...

2018-07-08 17:56:22 2192

原创 简单的安装tensorflow

引言: Tensorflow大名鼎鼎,这里不再赘述其为何物。这里讲描述在安装python包的时候碰到的“No matching distribution found for tensorflow”,其原因以及如何解决。简单的安装tensorflow这里安装的tensorflow的cpu版本,gpu版本可以自行搜索安装指南,或者参考如下指令:pip3 install tensorflow #cpu这...

2018-07-08 17:45:32 4414 1

原创 Refactoring Day 16 : Encapsulate Conditional

Refactoring Day 16 : Encapsulate Conditional  Sometimes when doing a number of different checks within a conditional the intent of what you are testing for gets lost in the conditional. In these insta...

2018-07-08 15:14:36 112

原创 Refactoring Day 19 : Extract Factory Class

Refactoring Day 19 : Extract Factory Class  Todays refactoring was first coined by the GangOfFour and has many resources on the web that have different usages of this pattern. Two different aims of th...

2018-07-07 21:15:45 164

原创 Extract Subclass

Refactoring Day 20 : Extract Subclass  Todays refactoring comes from Martin Fowlers catalog of patterns. You can find this refactoring in his catalog here This refactoring is useful when you have meth...

2018-07-07 21:14:03 159

原创 com.android.server.pm.dex.DexManager

/* * Copyright (C) 2016 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. * Yo...

2018-07-06 17:54:50 539

原创 com.android.server.pm.UserManagerService

/* * Copyright (C) 2011 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. * Yo...

2018-07-06 17:14:55 1517

原创 android.os.UserHandle

/* * Copyright (C) 2011 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. * Yo...

2018-07-06 17:07:16 2410

jeb 破解下载

jeb 破解下载,安卓破解利器,解决在JAVA个版本奔溃报错问题

2019-03-14

超声信息随心所欲注册机

该文件是超声信息,随心所欲的注册机。主要用于根据随心所欲软件的机器码生成验证码。完全可用

2018-01-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除