cfanrCoder
码龄13年
关注
提问 私信
  • 博客:371,021
    社区:146
    371,167
    总访问量
  • 172
    原创
  • 暂无
    排名
  • 21
    粉丝
  • 0
    铁粉

个人简介:对贡献有激情,对回报有信心!

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:广东省
  • 加入CSDN时间: 2012-05-01
博客简介:

cfanr

博客描述:
对贡献有激情,对回报有信心!
查看详细资料
个人成就
  • 获得57次点赞
  • 内容获得28次评论
  • 获得108次收藏
  • 博客总排名2,161,477名
创作历程
  • 5篇
    2017年
  • 1篇
    2015年
  • 197篇
    2014年
成就勋章
TA的专栏
  • JVM
    5篇
  • Java
    12篇
  • Android
    7篇
  • Android NDK
    4篇
  • Design Patterns
    1篇
  • C语言
    1篇
  • 编程基础
    7篇
  • Interview
    3篇
  • Program life
    12篇
  • Network
    3篇
  • Algorithm
    2篇
  • LeetCode
    53篇
  • Data structure
    5篇
  • BitManipulation
    3篇
  • Thinking in java
    2篇
  • Cracking the coding interview
    100篇
兴趣领域 设置
  • 数据结构与算法
    数据结构
  • 移动开发
    kotlinflutterandroid studio
  • 软件工程
    性能优化
  • 学习和成长
    面试
创作活动更多

新星杯·14天创作挑战营·第13期

这是一个以写作博客为目的的创作活动,旨在鼓励大学生博主们挖掘自己的创作潜能,展现自己的写作才华。如果你是一位热爱写作的、想要展现自己创作才华的小伙伴,那么,快来参加吧!我们一起发掘写作的魅力,书写出属于我们的故事。我们诚挚邀请你们参加为期14天的创作挑战赛!注: 1、参赛者可以进入活动群进行交流、互相鼓励与支持(开卷),虚竹哥会分享创作心得和涨粉心得,答疑及活动群请见:https://bbs.csdn.net/topics/619781944 【进活动群,得奖概率会更大,因为有辅导】 2、文章质量分查询:https://www.csdn.net/qc

91人参与 去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

java连接数据库的demo(包括sql、mysql)

发布资源 2014.01.04 ·
zip

Cracking the coding interview汇总目录

很久之前刷的CTCI的题目,都快忘记了,做个分类汇总,再重新好好复习一遍。Chapter 1 | Arrays and Strings1.1 Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data stru
原创
博文更新于 2014.12.26 ·
4064 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

Android NDK 开发:CMake 使用

1. 前言当在做 Android NDK 开发时,如果不熟悉用 CMake 来构建,读不懂 CMakeLists.txt 的配置脚本,很容易就会踩坑,遇到编译失败,一个很小的配置问题都会浪费很多时间。所谓工欲善其事必先利其器,学习 NDK 开发还是要大致了解 CMake 的基本语法和配置的。下面文章是根据 CMake 实践手册 做的一些简短笔记,具体说得不够详细的地方,可以查看手册。2. CMake
原创
博文更新于 2017.08.26 ·
2322 阅读 ·
1 点赞 ·
0 评论 ·
3 收藏

Android NDK 开发:实战案例

0. 前言如果只学理论,不做实践,不踩踩坑,一般很难发现真正实践项目中的问题的,也比较难以加深对技术的理解。所以延续上篇 JNI 的实战Android NDK开发:JNI实战篇 ,这篇主要是一些 NDK 小项目的练习,由于这些项目网上都有 demo介绍,这里不会具体一步步介绍如何操作,只记录一些个人需要注意的地方或一些主要步骤,详细的介绍或代码可以点击里面的链接查看。1. 文件加解密和分割合并1.1
原创
博文更新于 2017.08.19 ·
2331 阅读 ·
1 点赞 ·
0 评论 ·
7 收藏

微信 Mars Android Sample 源码分析

注:原文首发地址零、前言Mars 是微信官方开源的跨平台跨业务的终端基础组件,具有高质量网络连接模块(长短连接、智能心跳机制)、高性能日志模块和网络监测组件等。而整个 Android Sample 是基于 Mars 开发的一个 demo,包含提供了以下功能:基于TCP长连接的聊天室体验。数据通信成功率、耗时、流量的展示。网络状况检测结果展示。一、本地运行 Server 端具体如何运行 Ser
原创
博文更新于 2017.08.11 ·
6452 阅读 ·
2 点赞 ·
0 评论 ·
3 收藏

Android NDK开发:JNI基础篇

Android NDK开发:JNI基础篇JNI 概念1.1 概念JNI 全称 Java Native Interface,Java 本地化接口,可以通过 JNI 调用系统提供的 API。操作系统,无论是 Linux,Windows 还是 Mac OS,或者一些汇编语言写的底层硬件驱动都是 C/C++ 写的。Java和C/C++不同 ,它不会直接编译成平台机器码,而是编译成虚拟机可以运行的Java
原创
博文更新于 2017.08.06 ·
1940 阅读 ·
2 点赞 ·
0 评论 ·
5 收藏

Android NDK开发:JNI实战篇

注:首发地址紧接上篇:Android NDK开发:JNI基础篇 | cfanr,这篇主要介绍 JNI Native 层调用Java 层的代码(涉及JNI 数据类型映射和描述符的使用)和如何动态注册 JNI。 1. Hello World NDK在开始实战练习前,你需要先大致了解运行一个 Hello World 的项目大概需要做什么,有哪些配置以及配置的具体意思。 Android Studio(2.2
原创
博文更新于 2017.08.06 ·
1540 阅读 ·
3 点赞 ·
0 评论 ·
1 收藏

2013年终总结

2013年即将过去,回顾这一年,有得有失,有喜有悲,些许记忆碎片留在脑海中。简单做个总结,也算划上一个完美的句号,再迎接充满挑战的2014!项目        一年过来,项目可谓是贯穿整个时间段,所以感触也是最深的。从电脑商城到app比赛,新里程,村间集市app的后续开发,课程各种项目……貌似也没做什么项目,项目规模也不是很大,没什么值得论道的,或许正是因为如此,感觉自己做
原创
博文更新于 2017.08.05 ·
7965 阅读 ·
0 点赞 ·
3 评论 ·
0 收藏

2015腾讯校招笔试,一、二面经(菜鸟的流水账)

注:原文首发于:https://www.zybuluo.com/cfanr/note/18732前言:自从阿里笔试都没通过,就有点担心校招连笔试都过不了。而能通过腾讯的笔试,当然是一个非常不错的机会,一定要好好把握,可惜还是错过了……唉,自从被鹅厂抛弃后,感觉找工作越来越难了。。。废话不多说,以下笔面经:笔试(9.20 华工 笔试岗位:移动客户端)笔试基本流程:笔试
原创
博文更新于 2015.03.03 ·
5257 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

【Effective Java】创建和销毁对象

一、考虑用静态工厂方法代替构造器构造器是创建一个对象实例的最基本最常用的方法。开发者在使用某个类的时候,通常会使用new一个构造器来实现,其实也有其他方式可以实现的,如利用发射机制。这里主要说的是通过静态类工厂的方式来创建class的实例,如:public static Boolean valueOf(boolean b) { return b ? Boolean.T
原创
博文更新于 2015.02.02 ·
1569 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Path Sum II

题目Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree and sum = 22, 5 /
原创
博文更新于 2014.12.24 ·
1111 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Sum Root to Leaf Numbers

题目Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which represents the number 123.Find th
原创
博文更新于 2014.12.23 ·
1224 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Same Tree

题目Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value.解答
原创
博文更新于 2014.12.21 ·
1043 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Path Sum

题目Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:Given the below binary tree
原创
博文更新于 2014.12.21 ·
1345 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Balanced Binary Tree

题目Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node nev
原创
博文更新于 2014.12.21 ·
1388 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Binary Tree Inorder Traversal

题目Given a binary tree, return the inorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,3,2].解答中序遍历二叉树。递归法
原创
博文更新于 2014.12.21 ·
1083 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Minimum Depth of Binary Tree

题目Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.解答求树的最小深度。类似Maximum Depth
原创
博文更新于 2014.12.20 ·
1252 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Maximum Depth of Binary Tree

题目Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.解答求二叉树的最大深度。递归:a.若二叉树为空,
原创
博文更新于 2014.12.20 ·
1368 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Binary Tree Level Order Traversal II

题目Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For example:Given binary tree {3,9,20,#,#
原创
博文更新于 2014.12.19 ·
1042 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Binary Tree Level Order Traversal

题目Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree {3,9,20,#,#,15,7}, 3 / \
原创
博文更新于 2014.12.19 ·
1256 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多