ALGODAILY
  • All Courses
  • Premium 50% Off
  • Testimonials
  • Company
    Learn About Us Sample Newsletter AlgoDaily Blog Youtube Channel Contact Us Privacy Policy Terms and Conditions
  • Login
  • Sign Up
  • Resources
    AlgoDaily Video Library Company Interview Reports All Interview Challenges Tech Interview Flash Cards Generate a Custom Course AlgoDaily Book: Core Essentials Latest Additions

Community

Start a Thread
Filters
All Threads
Answered
Unanswered

By Category
All
Career
Challenges
Feedback
General

Treats Distribution (Main Thread)

Challenges • Last reply from Benji Haller at June 7, 2020 at 12:00AM UTC

This is the main discussion thread generated for Treats Distribution .

3 posts

Find The Intersection Of Two Linked Lists - Python Question

Challenges • Last reply from Yovel Cohen at May 11, 2020 at 12:00AM UTC

You don't specify what list1 and list 2 are. Are they regular lists? or linked list, and if so, What's their implementation, is it class? Link to problem: Find The Intersection Of Two Linked Lists .

1 post

Linked List To Binary Search Tree - Javascript Question

Challenges • Last reply from Anonymous at April 26, 2020 at 12:00AM UTC

// 9 -> -2 -> 3 -> 5 -> 9 Missing first - sign! Should be: // -9 -> -2 -> 3 -> 5 -> 9 Link to problem: Linked List To Binary Search Tree .

1 post

Next Larger In A Circular Array - Javascript Question

Challenges • Last reply from Anonymous at April 10, 2020 at 12:00AM UTC

The array in the diagram contains chars as well as numbers. This is confusing. Link to problem: Next Larger In A Circular Array .

1 post

Split Set To Equal Subsets - Javascript Question

Challenges • Last reply from Anonymous at April 10, 2020 at 12:00AM UTC

"Both subsets sum to 19 and are equal." - sure this should be 21? Link to problem: Split Set To Equal Subsets .

1 post

Sorted Two Sum - Javascript Question

Challenges • Last reply from Anonymous at April 10, 2020 at 12:00AM UTC

Could this also be implemented as a binary search in O) time? Link to problem: Sorted Two Sum .

1 post

Treats Distribution - Javascript Question

Challenges • Last reply from Anonymous at April 9, 2020 at 12:00AM UTC

Why do we need to sort the array? Just keep adding the values into a set and then take the min of the size of the set and n /2 . Should be O time complexity - no? Link to problem: Treats Distribution .

1 post

Least Missing Positive Number - Javascript Question

Challenges • Last reply from Anonymous at April 9, 2020 at 12:00AM UTC

So, what happens when the array contains a value greater than the length of the array? It would be useful if the problem statement actually specified that. Similarly, that there could be many missing positive integers, or only one. Link to problem...

1 post

Lonely Number - Python Question

Challenges • Last reply from Anonymous at April 9, 2020 at 12:00AM UTC

Stritcly speaking ins't the hasmap solution also O space complexity? The unique values in the array are the numbers base 10 so there are only max 10 entries in the map. Space complexity of O is the same as O as it doesn't vary with the length of t...

1 post

Majority Element - Python Question

Challenges • Last reply from Anonymous at April 9, 2020 at 12:00AM UTC

Is it not possible to create a O solution? By creating a hashmap where the keys are the digits and the values are the number of times that the digits appear, and then looking for the hashmap value that is greater than n / 2? By using a sort you a...

1 post
  • ← Previous
  • 1
  • 2
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • …
  • 20
  • 21
  • Next →