Community Discussions

Search and explore discussions about coding challenges

D
david_lee 1 month ago

Edge case question

What happens when the input is empty? Should we handle this case?

5 upvotes 0 replies Score: 3
L
lisa_garcia 1 month ago

Need help with this challenge

I'm stuck on this problem. Can someone give me a hint on the approach?

8 upvotes 0 replies Score: 7
L
lisa_garcia 1 month ago Solution

Solution approach

Here's how I solved this challenge: 1. First, I analyzed the problem 2. Then I implemented the solution 3. Finally, I optimized it Hope this helps!

2 upvotes 0 replies Score: 1
M
mike_wilson 1 month ago Solution

Optimization tips

You can optimize this solution by using a hash map instead of nested loops. This reduces time complexity from O(n²) to O(n).

3 upvotes 0 replies Score: 1
A
admin 1 month ago Solution

Optimization tips

You can optimize this solution by using a hash map instead of nested loops. This reduces time complexity from O(n²) to O(n).

2 upvotes 0 replies Score: 0
J
jane_smith 1 month ago

Edge case question

What happens when the input is empty? Should we handle this case?

5 upvotes 0 replies Score: 5
D
devabusayed 1 month ago Solution

Solution approach

Here's how I solved this challenge: 1. First, I analyzed the problem 2. Then I implemented the solution 3. Finally, I optimized it Hope this helps!

10 upvotes 0 replies Score: 8
A
admin 1 month ago Solution

Solution approach

Here's how I solved this challenge: 1. First, I analyzed the problem 2. Then I implemented the solution 3. Finally, I optimized it Hope this helps!

8 upvotes 0 replies Score: 8
S
sarah_jones 1 month ago

Need help with this challenge

I'm stuck on this problem. Can someone give me a hint on the approach?

4 upvotes 0 replies Score: 2
E
emma_brown 1 month ago

Need help with this challenge

I'm stuck on this problem. Can someone give me a hint on the approach?

0 upvotes 0 replies Score: -1