Login
Discover
Waves
Communities
Login
Signup
Topics
#leetcode
Global
Trending
Hot
New
Top
#leetcode
New
Top communities
Create your community
latest #leetcode created topics | Ecency
simplestack
leetcode
1y
!
Low reputation account with an unverified outbound link, Reveal content
F*ck Leetcode! Why Roy’s Story Matters
A 21 year old exposing how broken the hiring system is, at least for the Big Boys
$ 0.000
6
lochard
coding
3y
Published via Ecency
Leetcode - 139. Word Break
Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequence of one or more dictionary words. Note that the same word in the dictionary may be
$ 0.000
0
lochard
programming
3y
Published via Ecency
Leetcode - 1089. Duplicate Zeros
Given a fixed-length integer array arr, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond the length of the original array are not written. Do the
lilacse
Programming & Dev
4y
Published via Ecency
Little Leetcode Adventures 3: Pow(x, n)
What do you do when the power is over 9000?
asterkame
Hive Diy
7d
Published via Ecency
Promoted
Unique and Beautiful Flower Wall Decor
Hello Everyone! This is a paper wall decor. I made this wall decor by adding two flower vases and the word `HOME´ on black paper frame that looks like a ladder. For this one, I need to make flower sticks,
life-hacker
Programming & Dev
4y
Published via Ecency
LeetCode Challenge (Python3). Problem#3
Source Introduction of this challenge: I recently decided to improve my programming skills, so I started using LeetCode to achieve this goal. However, since I don't have much programming experience and
life-hacker
Programming & Dev
4y
Published via Ecency
LeetCode Challenge (Python3). Problem 2
Source Introduction of this challenge: I recently decided to improve my programming skills, so I started using LeetCode to achieve this goal. However, since I don't have much programming experience and
life-hacker
Programming & Dev
4y
Published via Ecency
LeetCode Challenge (Python3). Problem#1
Source I recently decided to improve my programming skills, so I decided to use LeetCode to achieve this goal. However, since I don't have much programming experience and this is my first time using LeetCode,
shiziwen
python
6y
!
Low reputation account with an unverified outbound link, Reveal content
one simple implementation of trie in python3
This is the implementation of trie in python3, you can get the question from implement-trie-prefix-tree. class Trie: def __init__(self): """ Initialize your data structure here.
discoverireland
Team Ukraine
2d
Published via Ecency
Promoted
Чому PIN-код має саме чотири цифри?
Коли я вперше прочитала цю історію, не повірила. Не тому, що так розрахували криптографи. Не тому, що чотири цифри — якийсь ідеальний стандарт безпеки. А тому, що дружина винахідника сказала: шість цифр
gaottantacinque
coding
7y
JavaScript interview questions [with solutions]
I have been a software engineer for almost 5 years now but (for one reason or another) only today for the first time I interviewed another developer for a position in my company. Here is the simple exercise
blackanger
rust
8y
【Rust每日新闻】 2018-12-20
Rust Quiz 解读: Quiz 20 #quiz Read More LeetCode already supports Rust @rustlang @LeetCode #leetcode 中国版和美国版都支持了,另外了解到的消息是,目前是基于Rust stable 1.31版,而且还会持续跟进Rust Stable版本。在未来会逐渐加入常用的crate,这个看使用者反馈来持续改进。 刷Leetcode
jacobyu
kr-dev
8y
[Coding study (leetcode)] Tree problems. 105, 106
이야기 Leetcode에서 트리관련 문제를 이어서 풀고 있습니다. Leetcode와 유사한 서비스로 Hackerank도 있는데요. Hackerank도 잘 되어있어 둘다 활용하여 코딩테스트 공부를 하고있습니다. 문제 Given inorder and postorder traversal of a tree, construct the binary tree. Given
jacobyu
kr-dev
8y
[Leetcode] 94, 144, 145. binary tree traversal
서론 Leetcode를 아시나요? Leetcode는 여러 프로그래밍 언어로 자료구조를 공부할 수 있고, 코딩문제들을 풀어볼 수 있습니다. Leetcode에서는 easy, medium, hard로 분류되는 총 804개의 코딩 문제가 있습니다. 804개에서 자신이 원하는 키워드를 검색해서 풀 수도 있으며, 자료구조에 대해 공부하고, 문제를 풀 수 있게도 해줍니다.
oneplanet
Finance and Economy
11h
Published via Ecency
Promoted
Economics 101: Why Do Central Banks Raise Interest Rates When Inflation Is High?
Economics 101: Why Do Central Banks Raise Interest Rates When Inflation Is High? In our previous lesson, we talked about supply, demand, and the way they affect prices. We learned that prices may rise
jacobyu
jjangjjangman
8y
[Leetcode] 100.same-tree
문제 [100] Same Tree Easy (47.95%) Total Accepted: 270.6K Total Submissions: 564.2K 두 개의 트리가 있을 때, 같은 트리인지 확인하라. 풀이 과정 같은 트리인지 어떻게 확인하지? 트리 구조가 같은지 체크한다. 두 개의 트리에서 특정 노드의 value가 같은지 체크한다. 탐색 순서는? preorder로
juneepa
kr
8y
!
Low reputation account with an unverified outbound link, Reveal content
[LeetCode] 677. Map Sum Pairs (Python3)
Implement a MapSum class with insert, and sum methods. Check the website above for more details Medium, 44ms, 100% class MapSum: ## Initialize the dictionary def __init__(self): self.wdict = {} ## Insert
elsyr
leetcode
9y
!
Low reputation account with an unverified outbound link, Reveal content
LeetCode 1. Two Sum: CPP Solution
Problem Statement Given an integer array of size N, return indices of the two numbers such that they add up to a specific target. Function Signature: C++ vector<int> twoSum(vector<int> input,
nbfuhao
programming
9y
[LeetCode] Objective C — Reverse a NSString
[LeetCode: reverse a string] ( NSString* reverseString(NSString *originalString) { // use a new string to append the chars from the old one NSString *newString = @""; for (int i =
loveleenwrites
SciFi Multiverse
10h
Published via Ecency
Promoted
Simple Money saving tricks that works for me
Let me tell you one of the funniest things about saving money in Nigeria: sometimes, the best way to save your money is to give it to someone else first. Sounds crazy, right? But think about it. When ₦20,000
nbfuhao
programming
9y
[LeetCode] Objective C — Check If a String Has Duplicate Characters
BOOL checkDuplicates(NSString *str) { NSMutableArray *storageArray = [NSMutableArray array]; for (int i = 0; i < str.length; i++) { NSString *charStr = [str substringWithRange:NSMakeRange(i,1)]; if
nbfuhao
programming
9y
[LeetCode] Convert Sorted Array to Binary Search Tree in Objective C
LeetCode Convert Sorted Array to Binary Search Tree in Objective C typedef struct { int value; struct TreeNode *left; struct TreeNode *right; } TreeNode; -(TreeNode *)sortedArrayToBST:(NSArray *array)
nbfuhao
programming
9y
[LeetCode] Validate Binary Search Tree in Objective C
LeetCode: Validate Binary Search Tree in Objective C typedef struct { int value; struct TreeNode *left; struct TreeNode *right; } TreeNode; -(BOOL)isValidBST:(TreeNode *)node { return (valid:node
nbfuhao
programming
9y
[LeetCode] Balanced Binary Tree in Objective C
LeetCode: Balanced Binary Tree in Objective C typedef struct { int value; struct TreeNode *left; struct TreeNode *right; } TreeNode; - (BOOL)isBalanced:(TreeNode *)node { if (!node) return true; return
Older →