Login
Discover
Waves
Decks
Upgrade
Login
Signup
Topics
New
Trending
Hot
New
New
Trending
Hot
New
Controversial
Rising
Promoted
leetcode
simplestack
leetcode
Friday, March 28, 2025 8:21 PM
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
Saturday, August 5, 2023 7:56 AM
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
Tuesday, August 1, 2023 6:03 PM
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
$ 0.212
2
lilacse
Programming & Dev
Sunday, June 26, 2022 9:14 AM
Little Leetcode Adventures 3: Pow(x, n)
What do you do when the power is over 9000?
$ 0.713
13
1
godfish
Worldmappin
Saturday, August 2, 2025 2:33 PM
Promoted
Wandering Brazil XIV: Sugarloaf Mountain
Sugarloaf Mountain
Doing a bit of these touristy things is sometimes inevitable. Still, you can do it in style, which is what we did when we tackled Pão de Açúcar, or Sugarloaf Mountain. This iconic Rio de Janeiro landmark
$ 21.437
618
18
2
life-hacker
Programming & Dev
Wednesday, April 20, 2022 5:30 PM
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
$ 3.446
12
2
2
life-hacker
Programming & Dev
Saturday, April 16, 2022 5:04 PM
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
$ 3.756
22
3
1
life-hacker
Programming & Dev
Saturday, April 9, 2022 7:39 AM
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,
$ 6.194
68
3
1
shiziwen
python
Saturday, March 28, 2020 6:48 PM
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.
$ 0.000
1
ezun1
Sketchbook
Friday, August 1, 2025 1:55 PM
Promoted
The Duck's Grin!
Hello everyone, how are you feeling today? This is the drawing I made this morning of a duck who's face looks upset and he has his face set as if he has a grin on his face. Quite like he is offended. The
$ 0.013
11
3
1
gaottantacinque
coding
Saturday, December 21, 2019 7:13 AM
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
$ 2.853
32
2
3
blackanger
rust
Thursday, December 20, 2018 4:42 AM
【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
$ 0.000
1
jacobyu
kr-dev
Thursday, June 7, 2018 4:53 PM
[Coding study (leetcode)] Tree problems. 105, 106
이야기 Leetcode에서 트리관련 문제를 이어서 풀고 있습니다. Leetcode와 유사한 서비스로 Hackerank도 있는데요. Hackerank도 잘 되어있어 둘다 활용하여 코딩테스트 공부를 하고있습니다. 문제 Given inorder and postorder traversal of a tree, construct the binary tree. Given
$ 0.392
3
1
jacobyu
kr-dev
Thursday, May 24, 2018 5:22 PM
[Leetcode] 94, 144, 145. binary tree traversal
서론 Leetcode를 아시나요? Leetcode는 여러 프로그래밍 언어로 자료구조를 공부할 수 있고, 코딩문제들을 풀어볼 수 있습니다. Leetcode에서는 easy, medium, hard로 분류되는 총 804개의 코딩 문제가 있습니다. 804개에서 자신이 원하는 키워드를 검색해서 풀 수도 있으며, 자료구조에 대해 공부하고, 문제를 풀 수 있게도 해줍니다.
$ 0.580
5
1
luchyl
Amazing Drinks
Wednesday, July 30, 2025 7:47 PM
Promoted
Let's Prepare Beetroot Cucumber Smoothie!
Hello amazing drink lovers, welcome to my blog. Hope you are full of life and kicking? Seeing the varieties of flavorful and nutritious drinks shared here, I'm always inspired to try out new recipes. Few
$ 7.747
423
38
4
jacobyu
jjangjjangman
Monday, May 21, 2018 4:41 PM
[Leetcode] 100.same-tree
문제 [100] Same Tree Easy (47.95%) Total Accepted: 270.6K Total Submissions: 564.2K 두 개의 트리가 있을 때, 같은 트리인지 확인하라. 풀이 과정 같은 트리인지 어떻게 확인하지? 트리 구조가 같은지 체크한다. 두 개의 트리에서 특정 노드의 value가 같은지 체크한다. 탐색 순서는? preorder로
$ 0.894
6
1
juneepa
kr
Saturday, March 3, 2018 7:45 PM
[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
$ 0.000
1
elsyr
leetcode
Friday, December 22, 2017 12:46 AM
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,
$ 0.000
1
3
nbfuhao
programming
Monday, March 6, 2017 9:05 PM
[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 =
$ 0.000
35
3
deborahofweb3
Loving HIVE ❤
Thursday, July 24, 2025 9:02 AM
Promoted
A newbie just joined Hive.
GM GM everyone! This is my very first post on this platform. After several hurdles of trying to sign up for a while now, I'm finally here. My very good friend @abdul-qudus did a great job of signing me
$ 2.365
73
70
6
nbfuhao
programming
Monday, March 6, 2017 8:58 PM
[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
$ 0.000
33
nbfuhao
programming
Monday, March 6, 2017 8:43 PM
[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)
$ 0.000
16
nbfuhao
programming
Monday, March 6, 2017 8:31 PM
[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
$ 0.125
82
nbfuhao
programming
Monday, March 6, 2017 8:23 PM
[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
$ 0.214
90
Top communities
Create decentralized community