• Stars
    star
    357
  • Rank 115,265 (Top 3 %)
  • Language
    Swift
  • Created about 9 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Once upon a time there was a noob of algorithms, and he knew a little about Swift.

LeetCode.swift

Language Progress

ๆ„š่€…ๅƒ่™‘๏ผŒๅฟ…ๆœ‰ไธ€ๅพ—ใ€‚

As an idiot of algorithms, I make bold to resolve the problems on LeetCode, especially, in Swift. Most of the algorithms were not figured out by myself.

let ๐Ÿ˜Ž = "Easy", ๐Ÿ˜ = "Medium", ๐Ÿ˜จ = "Hard", ใŠ™๏ธ = "require premium membership"

Unit tests

This is a test-driven project. You may press โŒ˜ + u in Xcode to invoke the tests. Or just rake in CLI.

License

Copyright (C) 2018 lexrus.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

LTMorphingLabel

[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift.
Swift
7,983
star
2

VPNOn

Turn On your VPN like a hero.
Swift
4,470
star
3

fontdiao

[ๅทฒๅบŸๅผƒ]ไธญๆ–‡ๅ›พๆ ‡ๅญ—ไฝ“๏ผŒๅฏ็”จไบŽ Web ๆˆ– iOS๏ผŒๅŒๆ—ถๆไพ›ไบ†ๅ›ฝๅ†…ๅ„็งๅธธ็”จ็ฝ‘็ซ™ใ€ๅบ”็”จ็š„ๅพฝๆ ‡ SVG ๆบๆ–‡ไปถใ€‚
CSS
617
star
4

ios-makefile

[DEPRECATED] The universal makefile for my iOS projects distributes IPAs in seconds
Shell
577
star
5

ios-dev-playbook

ไธไผš่ฟ็ปด็š„ iOS ๅผ€ๅ‘ไธๆ˜ฏๅฅฝ่ฎพ่ฎกๅธˆใ€‚่ฟ™ไธช Ansible Playbook ่ƒฝๅฟซ้€Ÿ้…็ฝฎ iOS ๅผ€ๅ‘้œ€่ฆ็š„ๆœๅŠก๏ผŒๅฎ‰่ฃ…ๅฆ‚ Gogsใ€GitLabใ€Jenkinsใ€Ghostใ€Ajenti ็ญ‰ๅธธ็”จๆœๅŠกใ€‚
Ruby
555
star
6

LTBouncyPlaceholder

A learning-by-doing UITextField extension written in Swift
Swift
490
star
7

LTJelloSwitch

A rapid prototype of UISwitch built with Swift and PaintCode.
Swift
365
star
8

LTFinderButtons

My Finder buttons collection for macOS.
Rich Text Format
305
star
9

PhoneticContacts

ไธบไฝ ็š„่”็ณปไบบๅŠ ไธŠๆ‹ผ้Ÿณๅฑžๆ€ง๏ผŒ่ฟ™ๆ ทๅณไฝฟไฝ ็š„ iPhone ่ฎพ็ฝฎๆˆ่‹ฑๆ–‡๏ผŒไนŸ่ƒฝๆœ‰ๆŒ‰ๆ‹ผ้Ÿณๅˆ†ๆฎต็š„ๅŠŸ่ƒฝใ€‚ๆš‚ๆ—ถ่ฟ˜ๆฒกๆœ‰ๆ”นๆˆ็”จ Contacts framework๏ผŒXcode 10 ๆ— ๆณ•่ฟ่กŒๅ“ฆ
Swift
294
star
10

RegExPlus

A nifty RegEx test tool built with SwiftUI
Swift
203
star
11

QLSwift

A Quick Look plugin for Swift files
Objective-C
177
star
12

Huahui

๏ฝก.๏พŸโœง:โœฟ่Šฑเผ™เพ‡็ฐเผ™เพ‡โœฟ:โœง๏พŸ.๏ฝก - ็ฐๅŒ–่‚ฅไผšๅ‘้ป‘๏ผŒ่ŠฑไผšๅŒ–็ฐใ€‚ๅˆๅใ€Žไธญๅ›ฝ็จ‹ๅบๅ‘˜ๅธธ่ฏป้”™็š„่‹ฑๆ–‡ๅ•่ฏ็š„ Appใ€
Swift
152
star
13

LTBlacklist

[DEPRECATED] The missing Blacklist app for your iOS 5/6 with private APIs. No Jailbreak Required!
Objective-C
147
star
14

SwiftyMenu

The missing Finder menu for your daily ease
Swift
128
star
15

MMDB-Swift

A tiny wrapper for libmaxminddb which allows you to lookup Geo data by IP address.
C
120
star
16

APN

[ๅทฒๅบŸๅผƒ]้€‚ๅˆ iOS 7 ็š„ APN ่ฎพ็ฝฎๅทฅๅ…ท๏ผŒๅˆไธ€ไธชๆฒก่ฟ‡ๅฎกๆ ธ็š„ๅ‘จๆœซ้กน็›ฎ
Objective-C
116
star
17

LTUpdate

[DEPRECATED] LeT'sUpdate to the new version available in the AppStore! A GCD powered, ARC/MRC compatible class with block interfaces.
Objective-C
75
star
18

LexClockWidget

Swift
73
star
19

KissDefault

[EXPERIMANTAL] ๐Ÿ’‹Keep It(UserDefaults propertyWrapper) Simple and Stupid
Swift
46
star
20

.files

Dotfiles for my Mac
Shell
34
star
21

HighlightJSON

A tiny Safari Web Extension for presenting highlighted JSON files
Swift
33
star
22

LTTabBar

[DEPRECATED] A clumsy mimic of the Chrome-style tab bar for iOS.
Objective-C
32
star
23

LexNightmare

A boring game built with SpriteKit and Swift.
Swift
23
star
24

HNAPI

Tiny HackerNews API wrapper.
Swift
21
star
25

iDevBox

Yet another learning-by-doing XcodeKit project
Swift
18
star
26

LTDribbbleAPI

Yet another Dribbble API client for iOS 6.0+ and Mac OS X 10.8+ based on AFNetworking 2.0.
Objective-C
12
star
27

XcodeAutomator

Automator services for Xcode
8
star
28

PixelPusher

Compare your app with the original design pixel-by-pixel.
Swift
7
star
29

ansible-role-docker

An Ansible role to install Docker in Debian or Ubuntu
6
star
30

GCD

GCD = Ghost + Caddy + Dropbox
Shell
6
star
31

ios_notebook

3
star
32

XcodeTemplates

My personal Xcode templates
3
star
33

lexrus

2
star
34

LibWebpXCDemo

Swift
1
star
35

lexrus.github.io

My personal Hugo website: https://lex.sh
SCSS
1
star