#leetcode

Ғылым және технология

Here is the solution to "Poor Pigs" leetcode question. Hope that you will like the way I have explained the solution.
Poor Pigs solution
leetcode Poor Pigs solution
Facebook Coding Interview question,
google coding interview question,
leetcode solution
Poor Pigs solution Golang
******* Table of content *******
00:00 Understanding the problem statement
04:08 Understanding question with example
05:22 Brute force approach
07:26 optimized approach
14:36 algo
19:26 Final code in Golang
23:25 Thank you
#leetcode #leetcodesolution #458 #PoorPigs #Amazon #Facebook #CodingInterview #Google #golang #go #golangprogramming #dsa #theexceptionhandl

Пікірлер: 3

  • @sarojcs3535
    @sarojcs3535 Жыл бұрын

    This problem statement I am able to understand. But nowhere the solution is given with proper explanation. This video explains the background and fundamentals of the problem statement. Then explains with 1 pig i.e. 1 dimensional. Then explains with 2 pigs i.e. 2 dimensional . Then it explains with 3 pigs i.e. 3 dimensional. Iske baad mein hi concept clear hota hai. Next, 4 dimensional is not easy to explain. It is only understandable given the fundamentals are clear. Thank you Sir, for this explanation. Someone needs to have patience for going through the video and understand the solution. Otherwise, ratta mar ke fayada toh hoga nahi. Concept clear hona hi chahiye.

  • @TheExceptionHandler

    @TheExceptionHandler

    Жыл бұрын

    Thanks for watching If you like it please share it with someone who needs it Also we will appreciate it if you can mention any specific problem statement that you want us to help you with.

  • @TheExceptionHandler
    @TheExceptionHandler Жыл бұрын

    github.com/architagr/leetcode_solutions/tree/main/hard_problems/poor_pigs

Келесі