Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
LuciferCoding
/
Algorithm
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 6, 2017
从上往下打印二叉树
tony
committed
5d180fa
View commit details
Copy full SHA for 5d180fa
Browse repository at this point
Commits on Sep 9, 2016
输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字,例如,如果输入如下矩阵: 1 2 3 4 5 6 7 8 9 10 11 12
Show description for 7d568ec
LuciferCoding
committed
7d568ec
View commit details
Copy full SHA for 7d568ec
Browse repository at this point
操作给定的二叉树,将其变换为源二叉树的镜像。
Show description for 914a994
LuciferCoding
committed
914a994
View commit details
Copy full SHA for 914a994
Browse repository at this point
输入一个整数数组,实现一个函数来调整该数组中数字的顺序,使得所有的奇数位于数组的前半部分,所有的偶数位于位于数组的后半部分,并保证奇数和奇数,偶数和偶数之间的相对位置不变。
LuciferCoding
committed
1c27959
View commit details
Copy full SHA for 1c27959
Browse repository at this point
Commits on Aug 27, 2016
修改为utf-8
LuciferCoding
committed
05afdb0
View commit details
Copy full SHA for 05afdb0
Browse repository at this point
Merge branch 'master' of https://github.com/AlohaTT/Algorithm.git
LuciferCoding
committed
cc7bf11
View commit details
Copy full SHA for cc7bf11
Browse repository at this point
输入n个整数,找出其中最小的K个数。例如输入4,5,1,6,2,7,3,8这8个数字,则最小的4个数字是1,2,3,4,。
LuciferCoding
committed
f0aeec6
View commit details
Copy full SHA for f0aeec6
Browse repository at this point
Commits on Aug 7, 2016
修改为utf-8格式
LuciferCoding
committed
2f25521
View commit details
Copy full SHA for 2f25521
Browse repository at this point
Commits on Aug 6, 2016
小明很喜欢数学,有一天他在做数学作业时,要求计算出9~16的和,他马上就写出了正确答案是100。但是他并不满足于此,他在想究竟有多少种连续的正数序列的和为100(至少包括两个数)。没多久,他就得到另一组连续正数和为100的序列:18,19,20,21,22。现在把问题交给你,你能不能也很快的找出所有和为S的连续正数序列?
Show description for 15b863d
LuciferCoding
committed
15b863d
View commit details
Copy full SHA for 15b863d
Browse repository at this point
Merge branch 'master' of https://github.com/AlohaTT/Algorithm.git
LuciferCoding
committed
0731b3c
View commit details
Copy full SHA for 0731b3c
Browse repository at this point
need fix
LuciferCoding
committed
f2342e6
View commit details
Copy full SHA for f2342e6
Browse repository at this point
一个整型数组里除了两个数字之外,其他的数字都出现了两次。请写程序找出这两个只出现一次的数字。
LuciferCoding
committed
6a31d32
View commit details
Copy full SHA for 6a31d32
Browse repository at this point
Show description for 54009e6
LuciferCoding
committed
54009e6
View commit details
Copy full SHA for 54009e6
Browse repository at this point
Show description for 6af445a
LuciferCoding
committed
6af445a
View commit details
Copy full SHA for 6af445a
Browse repository at this point
Commits on Aug 2, 2016
有一个XxY的网格,一个机器人只能走格点且只能向右或向下走,要从左上角走到右下角。请设计一个算法,计算机器人有多少种走法。
Show description for 1094a8a
LuciferCoding
committed
1094a8a
View commit details
Copy full SHA for 1094a8a
Browse repository at this point
Commits on Aug 1, 2016
编写一个函数,确定需要改变几个位,才能将整数A转变成整数B。
Show description for d6f61f1
LuciferCoding
committed
d6f61f1
View commit details
Copy full SHA for d6f61f1
Browse repository at this point
现在有一个数组,请找出数组中每个元素的后面比它大的最小的元素,若不存在则为-1。
Show description for 0cbf535
LuciferCoding
committed
0cbf535
View commit details
Copy full SHA for 0cbf535
Browse repository at this point
现在我们有一个int数组,请你找出数组中每个元素的下一个比它大的元素。
Show description for fe5f6d3
LuciferCoding
committed
fe5f6d3
View commit details
Copy full SHA for fe5f6d3
Browse repository at this point
Commits on Jul 31, 2016
请编写一个程序,按升序对栈进行排序(即最大元素位于栈顶),要求最多只能使用一个额外的栈存放临时数据,但不得将元素复制到别的数据结构中。
Show description for 92a7650
LuciferCoding
committed
92a7650
View commit details
Copy full SHA for 92a7650
Browse repository at this point
Commits on Jul 29, 2016
请编写一个函数,检查链表是否为回文。
Show description for 58ada66
LuciferCoding
committed
58ada66
View commit details
Copy full SHA for 58ada66
Browse repository at this point
有两个用链表表示的整数,每个结点包含一个数位。这些数位是反向存放的,也就是个位排在链表的首部。编写函数对这两个整数求和,并用链表形式返回结果。
Show description for e730d1c
LuciferCoding
committed
e730d1c
View commit details
Copy full SHA for e730d1c
Browse repository at this point
Show description for 054fc11
LuciferCoding
committed
054fc11
View commit details
Copy full SHA for 054fc11
Browse repository at this point
假定我们都知道非常高效的算法来检查一个单词是否为其他字符串的子串。请将这个算法编写成一个函数,给定两个字符串s1和s2,请编写代码检查s2是否为s1旋转而成,要求只能调用一次检查子串的函数。
Show description for 0fbfa16
LuciferCoding
committed
0fbfa16
View commit details
Copy full SHA for 0fbfa16
Browse repository at this point
Show description for d58cbb5
LuciferCoding
committed
d58cbb5
View commit details
Copy full SHA for d58cbb5
Browse repository at this point
Commits on Jul 28, 2016
7月28
LuciferCoding
committed
4c6068e
View commit details
Copy full SHA for 4c6068e
Browse repository at this point
from mac
tony
committed
927ec7d
View commit details
Copy full SHA for 927ec7d
Browse repository at this point
new
LuciferCoding
committed
951bbd6
View commit details
Copy full SHA for 951bbd6
Browse repository at this point
You can’t perform that action at this time.