This website uses cookies to ensure you get the best experience on our website. Learn more

How To Solve Amazon's Hanging Cable Interview Question

x

How To Solve Amazon's Hanging Cable Interview Question

A cable of 80 meters (m) is hanging from the top of two poles that are both 50 m from the ground. What is the distance between the two poles, to one decimal place, if the center of the cable is (a) 20 m above ground? (b) 10 m above ground?

Chatterjee, Neil, and Bogdan G. Nita. The hanging cable problem for practical applications. Atlantic Electronic Journal of Mathematics 4.1 (2010).


Careercup Amazon question


Subscribe:

Send me suggestions by email (address in video). I consider all ideas though can't always reply!

Why are there comments before the video is published? Get early access and support the channel on Patreon


If you buy from the links below I may receive a commission for sales. This has no effect on the price for you.

Show your support! Get a mug, a t-shirt, and more at Teespring, the official site for Mind Your Decisions merchandise:


My Books
Mind Your Decisions: Five Book Compilation

A collection of 5 books:
The Joy of Game Theory rated 4.1/5 stars on 44 reviews

The Irrationality Illusion: How To Make Smart Decisions And Overcome Bias rated 3.5/5 stars on 4 reviews

40 Paradoxes in Logic, Probability, and Game Theory rated 4.4/5 stars on 13 reviews

The Best Mental Math Tricks rated 4.7/5 stars on 8 reviews

Multiply Numbers By Drawing Lines rated 4.3/5 stars on 6 reviews


Mind Your Puzzles: Collection Of Volumes 1 To 3

A collection of 3 books:
Math Puzzles Volume 1 rated 4.4/5 stars on 13 reviews

Math Puzzles Volume 2 rated 4.5/5 stars on 6 reviews

Math Puzzles Volume 3 rated 4.1/5 stars on 7 reviews


Connect with me
My Blog:
Twitter:
Newsletter (sent only for big news, like a new book release):

2017 Shorty Awards Nominee. Mind Your Decisions was nominated in the STEM category (Science, Technology, Engineering, and Math) along with eventual winner Bill Nye; finalists Adam Savage, Dr. Sandra Lee, Simone Giertz, Tim Peake, Unbox Therapy; and other nominees Elon Musk, Gizmoslip, Hope Jahren, Life Noggin, and Nerdwriter.

How To Solve Amazon's Red Ball Lottery Interview Puzzle

Companies like Amazon have asked this question during interviews. This problem involves 100 red balls, 100 blue balls, and 2 urns. First you distribute all the balls between the 2 urns, placing at least 1 ball in each urn. Next, you select an urn at random, and then draw a ball at random from the urn. You win $100 if you draw a red ball. What is your best strategy for distributing the balls, and what is your winning percentage? The video presents the solution and a proof of its optimality. Do you like the music in this video? Let me know what you think! I'm deciding whether to add music to videos I make. If you don't want music, I made a version of this video without background music just for you:

Blog post:

Asked at Amazon


Music is Air Hockey Saloon by Chris Zabriskie, licensed under a Creative Commons Attribution license (
Source:
Artist:


If you like my videos, you can support me at Patreon:

Connect on social media. I update each site when I have a new video or blog post, so you can follow me on whichever method is most convenient for you.

My Blog:
Twitter:
Facebook:
Google+:
Pinterest:
Tumblr:
Instagram:
Patreon:

Newsletter (sent about 2 times a year):

My Books

The Joy of Game Theory shows how you can use math to out-think your competition. (rated 4/5 stars on 23 reviews)

The Irrationality Illusion: How To Make Smart Decisions And Overcome Bias is a handbook that explains the many ways we are biased about decision-making and offers techniques to make smart decisions. (rated 5/5 stars on 1 review)

Math Puzzles Volume 1 features classic brain teasers and riddles with complete solutions for problems in counting, geometry, probability, and game theory. Volume 1 is rated 4.5/5 stars on 11 reviews.

Math Puzzles Volume 2 is a sequel book with more great problems.

Math Puzzles Volume 3 is the third in the series.

40 Paradoxes in Logic, Probability, and Game Theory contains thought-provoking and counter-intuitive results. (rated 4.9/5 stars on 7 reviews)

The Best Mental Math Tricks teaches how you can look like a math genius by solving problems in your head (rated 4.7/5 stars on 3 reviews)

Multiply Numbers By Drawing Lines This book is a reference guide for my video that has over 1 million views on a geometric method to multiply numbers. (rated 5/5 stars on 1 review)
x

Can You Solve Amazon's Hanging Cable Interview Question with SolidWorks?

soluzione catenaria con Solidworks
The Hanging Cable Problem from Amazon's Interview Questions

How To Solve Amazon's Pair Of Socks Interview Puzzle

This problem was part of a written interview test for Amazon in India. A drawer contains 12 identical black socks and 12 identical white socks. If you pick 2 socks at random, what is the probability of getting a matching pair?

My blog post for this video


Source of puzzle


Support me on Patreon:

Connect on social media. I update each site when I have a new video or blog post, so you can follow me on whichever method is most convenient for you.

My Blog:
Twitter:
Facebook:
Google+:
Pinterest:
Tumblr:
Instagram:
Patreon:

Newsletter (sent about 2 times a year):

My Books

The Joy of Game Theory shows how you can use math to out-think your competition. (rated 3.8/5 stars on 30 reviews)

The Irrationality Illusion: How To Make Smart Decisions And Overcome Bias is a handbook that explains the many ways we are biased about decision-making and offers techniques to make smart decisions. (rated 5/5 stars on 2 reviews)

Math Puzzles Volume 1 features classic brain teasers and riddles with complete solutions for problems in counting, geometry, probability, and game theory. Volume 1 is rated 4.4/5 stars on 13 reviews.

Math Puzzles Volume 2 is a sequel book with more great problems. (rated 5/5 stars on 3 reviews)

Math Puzzles Volume 3 is the third in the series. (rated 3.8/5 stars on 4 reviews)

40 Paradoxes in Logic, Probability, and Game Theory contains thought-provoking and counter-intuitive results. (rated 4.3/5 stars on 12 reviews)

The Best Mental Math Tricks teaches how you can look like a math genius by solving problems in your head (rated 4.7/5 stars on 4 reviews)

Multiply Numbers By Drawing Lines This book is a reference guide for my video that has over 1 million views on a geometric method to multiply numbers. (rated 5/5 stars on 3 reviews)
x

Amazon Coding Interview Question - Recursive Staircase Problem

Amazon coding interview question and answer - recursive staircase problem!

For daily coding problems like this one, I’d recommend this website called Daily Coding Problem. You can find it here:
(That’s a referral link, and you can get a 10% discount through that link. Their free option and blog articles are good, too, though.)

Outline (check my comment for the clickable outline):
0:07: Problem description
1:14: A variation of the problem
2:15: Thinking about simple cases
4:18: Finding a pattern
5:24: Relabeling the steps
6:41: Revisiting the pattern with the new labels
7:53: The pattern we’ve found - recap.
8:11: The recursive relationship we’ve found
8:50: What about when N = 0?
9:40: Writing a naive recursive solution
10:39: Why this solution is not efficient
11:24: How to fix it with dynamic programming (bottom-up)
12:27: The bottom-up solution in code
13:34: How to make it more efficient in terms of space
14:19: Solution to the variation of the problem
14:49: The recursive relationship for this problem (the variation)
15:08: A naive, INCORRECT recursive solution to this problem
15:50: A naive, CORRECT recursive solution to this problem
16:17: A naive, correct recursive solution in code
17:11: A dynamic programming / bottom-up approach
19:17: How to get daily coding problems like this one (go to

Also, keep in touch on Facebook:

Two Poles and Cable PUZZLE || Tricky Puzzle || Interview Question

2 poles of 15 meters have a 16 meters long cable hanging in between them.
Puzzle : At what distance between the two poles, the height of the center of the cable from earth would be 7 meter.

The video has complete explanation of the answer.

Please comment below your answers and suggestions. Also LIKE the video and SUBSCRIBE to my channel if you are new.
x

The Catenary Problem and Solution

In this video, I solve the catenary problem. A catenary is a curve that describes the shape of a string hanging under gravity, fixed on both of its ends. Here, I determine the equation of the catenary for a uniform string with both ends fixed at the same height using the techniques of Variational Calculus (with constraints).

I begin by deriving the two integrals necessary to solve the constrained variation problem. The first integral is the constraint integral, according to which the length of the string is fixed. The second integral is formed by evaluating the total gravitational potential energy of the entire string (the functional to minimize).

After setting up the integrals, I create a composite functional K which includes my potential energy + (Lagrange multiplier)*(constraint integral). Applying the Euler-Lagrange equation/Beltrami Identity to K and solving the resulting differential equation gives me the equation for my catenary. Finally, I compute the 3 unknown constants in the catenary equation using the constraint and the two boundary conditions, and I show that the equation of a catenary takes the form of a hyperbolic cosine.

Questions/requests? Let me know in the comments!

Pre-reqs: This playlist (especially the video on constraints + multiple dependent variables):

Lecture Notes:
Patreon:
Twitter:

Special thanks to my Patrons for supporting me at the $5 level or higher:
- Jose Lockhart
- Yuan Gao
- Justin Hill
- Marcin Maciejewski
- Jacob Soares
- Yenyo Pal
- Chi
- Lisa Bouchard

Amazon Coding Interview Question - K Closest Points to the Origin

Amazon coding interview question and answer.

If you liked this video, I would also recommend my Udemy course, 11 Essential Coding Interview Questions:


(You'll get a discount through the link above.)

Solving Amazon's Mystery Dice Interview Question

This is a nice probability question asked in an interview for a job at Amazon. Learn two ways to solve it!

Source


Paper by Dr. Gleb Yakubov
Dolan, Grace K., et al. “Probing adhesion between nanoscale cellulose fibres using AFM lateral force spectroscopy: The effect of hemicelluloses on hydrogen bonding.” Carbohydrate polymers 208 (2019): 97-107. ( See the footnote on page 102.

Subscribe:

Send me suggestions by email (address in video). I consider all ideas though can't always reply!

Why are some comments before the video is published? Get early access and support the channel on Patreon


If you buy from the links below I may receive a commission for sales. This has no effect on the price for you.

Show your support! Get a mug, a t-shirt, and more at Teespring, the official site for Mind Your Decisions merchandise:


My Books
Mind Your Decisions: Five Book Compilation

A collection of 5 books:
The Joy of Game Theory rated 4.1/5 stars on 44 reviews

The Irrationality Illusion: How To Make Smart Decisions And Overcome Bias rated 3.5/5 stars on 4 reviews

40 Paradoxes in Logic, Probability, and Game Theory rated 4.4/5 stars on 13 reviews

The Best Mental Math Tricks rated 4.7/5 stars on 8 reviews

Multiply Numbers By Drawing Lines rated 4.3/5 stars on 6 reviews


Mind Your Puzzles: Collection Of Volumes 1 To 3

A collection of 3 books:
Math Puzzles Volume 1 rated 4.4/5 stars on 13 reviews

Math Puzzles Volume 2 rated 4.5/5 stars on 6 reviews

Math Puzzles Volume 3 rated 4.1/5 stars on 7 reviews


Connect with me
My Blog:
Twitter:
Newsletter (sent only for big news, like a new book release):

2017 Shorty Awards Nominee. Mind Your Decisions was nominated in the STEM category (Science, Technology, Engineering, and Math) along with eventual winner Bill Nye; finalists Adam Savage, Dr. Sandra Lee, Simone Giertz, Tim Peake, Unbox Therapy; and other nominees Elon Musk, Gizmoslip, Hope Jahren, Life Noggin, and Nerdwriter.

Rene Rodriguez - Amazon Interview

Supply Chain Management - Carrie Kemmer By: Nicole Salem, Mariajose Ochoa, Camila Bueso, Daniella Valiente, Adriana Munguia
x

The interview - Problem Solving

There are many things, specially issues, that we might come across. Therefore we have to know how to solve them. Unit 9 - Passages 1.

Amazon interview puzzle

This is a very interesting, easy and yet tricky interview question faced in top company interviews like amazon, microsoft, google etc. Try to listen to the question carefully and try it yourself first and then only come back and see my solution. If you have any ALTERNATIVE solution then please comment below so that everyone can benefit from your answer. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
x

Google/Microsoft/Amazon Technical Interview Question - Solved by hand

This video is to walk through the process of a technical interview / coding question that companies like Google, Microsoft, and Amazon give during Software Engineering interviews.

The vast majority of the time, you will be coding on a whiteboard during their interviews, which is why I chose to solve this on paper instead of in an IDE. I want to give a realistic walkthrough of how to solve one of these problems.

I'd love to hear if people would be interested in seeing more interview questions solved like this, or if there was anything unclear during my explanation and solving.

Here's the full question if you'd like to try solving on your own before watching:

You are given an array of integers that are partially sorted, such that all of the integers in the array are in ascending order starting at index X and wrapping back around. For example, [4,5,6,1,2,3]. Write a method to solve for index X. In the example, X == 3.

int getStartIndex(int[] numbers) {
//implementation
}

'numbers' will not be null or empty.

Amazon Interview Questions with Answers

These 6 puzzles were part of Amazon Interview. Watch this amazon interview questions and answers asked in Amazon placement drive.

Amazon Interview Questions and answers.


Like, Share & Subscribe.
Give your feedback in the comment section. Would love to hear it from you.


You will love to watch our popular videos:

1. Shoes, Boy and Popcorn Puzzle - Only For Genius:


2. Shoes, Man and Strap Puzzle - Only For Genius:


3. For Geniuses Only || 99.99% people will fail to solve this puzzle:


4. Fill The Boxes Using 1, 3, 5, 7, 9, 11, 13, 15 - Gaurav Agarwal's IAS Exam Question:


5. Only 1 Out of 7 Will Get This Right:



-----------------------------------------------------
For Business inquiry, reach out to us at:
puzzleadda4@gmail.com

Puzzle Adda:


Facebook:


Twitter:

-----------------------------------------------------
#PuzzleAdda #Puzzle #OnlyForGenius

-~-~~-~~~-~~-~-
Please watch: Can You Find The Odd Object Out in these Pictures

-~-~~-~~~-~~-~-

Amazon Coding Interview (2019) - Most Common Word (LeetCode)

DISCORD CHANNEL
----------------------------------------------------------------------------------------------------------------
To join the Discord channel use the following link and join the Member tier:
In this Discord channel, you will be able to...
1. Ask me questions directly (as well as other members)
2. Ask about and discuss previous interview experiences
3. Find mock interview partners
4. Share helpful videos for interview preparation, and more!

Most Common Word LeetCode coding solution. This is one of Amazon's most commonly asked interview questions according to LeetCode!

Coding Interviews Most Common Word (LeetCode) question and explanation.

This question is a commonly asked by the following companies: Amazon and Microsoft

Link to problem:

Intuition behind solution: Add all banned words to a hash set. Create a hash map that will store the number of occurrences of each word that is not banned. Iterate through all the words in the paragraph parameter, ignoring things like case and punctuation. For every word, if it doesn't exist in the list of banned words, add it to the hash map or increment its count in the hash map. Once you have gone through all the words in the paragraph, iterate through all keys in your hash map updating a return variable to key that maps to the largest value. Once you have iterated through all the keys and updated your return value accordingly, return your return value.

SOCIAL
----------------------------------------------------------------------------------------------------------------
Support me on Patreon:
Follow me on Twitter:
Follow me on Instagram:
Follow me on GitHub:

MUSIC
----------------------------------------------------------------------------------------------------------------
xo bored llif3 by KORONADOH
x

Amazon Coding Interview - Overlapping Rectangles - Whiteboard Wednesday

Brought to you by Interview Accelerator at

For weekly coding practice, check out

Welcome to Whiteboard Wednesday where I do software engineering interview problems on the whiteboard in a real interview setting.

Today's problem is asked at Amazon as well as other big companies. It's about finding the area of the overlap between two rectangles.

Leave a comment on which company you want us to cover next!

New video every Thursday. Please like, subscribe and share!

Amazon Interview Questions - 2 | GeeksforGeeks

Find Complete Interview Experience at :
This video is contributed by Ishant Periwal.

Please Like, Comment and Share the Video among your friends.

Install our Android App:


If you wish, translate into local language and help us reach millions of other geeks:


Follow us on Facebook:


And Twitter:



Also, Subscribe if you haven't already! :)

Microsoft Interview Question | 3 Bugs Puzzle

Which box has defective balls? Puzzle Link:

3 bugs problem was made famous by being frequently asked in microsoft interviews. The problem goes like this.
There is an equilateral triangle and three bugs are sitting on the three corners of the triangle. Each of the bugs picks up a random direction and starts walking along the edge of the equilateral triangle.
What is the probability that none of the bugs crash into each other?

Epic IQ is a place to sharpen your logical and lateral thinking skills. Here you will find well explained and well presented famous interview puzzles and other riddles, brain teasers and math tricks.

Amazon Interview (12 of 10): The Writing Assignment

Amazon Interview Coaching: In this episode I talk about the essay that Amazon asks all applicants for senior roles to prepare before the onsite.

Also interesting:
Amazon's 14 Principles in 2 minutes:
27 FAQs about the Amazon Interview:
How Amazon Works (best experience is at 1.5X speed):
Winning the Amazon HQ2 Interview:

Complete Amazon Interview playlist:

All Shareholder Letters:

How To Solve Google's 25 Horses Interview Question

There are 25 mechanical horses and a single racetrack. Each horse completes the track in a pre-programmed time, and the horses all have different finishing times, unknown to you. You can race 5 horses at a time. After a race is over, you get a printout with the order the horses finished, but not the finishing times of the horses. What is the minimum number of races you need to identify the fastest 3 horses?

I was suggested this puzzle via email by Terry Stickels. This is also a popular interview question at tech companies like Google. See a list of all sources in my blog post for this video:


Subscribe:

Send me suggestions by email (address in video). I consider all ideas though can't always reply!

Why are there comments before the video is published? Get early access and support the channel on Patreon


If you buy from the links below I may receive a commission for sales. This has no effect on the price for you.

Show your support! Get a mug, a t-shirt, and more at Teespring, the official site for Mind Your Decisions merchandise:


My Books
Mind Your Decisions: Five Book Compilation

A collection of 5 books:
The Joy of Game Theory rated 4.1/5 stars on 44 reviews

The Irrationality Illusion: How To Make Smart Decisions And Overcome Bias rated 3.5/5 stars on 4 reviews

40 Paradoxes in Logic, Probability, and Game Theory rated 4.4/5 stars on 13 reviews

The Best Mental Math Tricks rated 4.7/5 stars on 8 reviews

Multiply Numbers By Drawing Lines rated 4.3/5 stars on 6 reviews


Mind Your Puzzles: Collection Of Volumes 1 To 3

A collection of 3 books:
Math Puzzles Volume 1 rated 4.4/5 stars on 13 reviews

Math Puzzles Volume 2 rated 4.5/5 stars on 6 reviews

Math Puzzles Volume 3 rated 4.1/5 stars on 7 reviews


Connect with me
My Blog:
Twitter:
Newsletter (sent only for big news, like a new book release):

2017 Shorty Awards Nominee. Mind Your Decisions was nominated in the STEM category (Science, Technology, Engineering, and Math) along with eventual winner Bill Nye; finalists Adam Savage, Dr. Sandra Lee, Simone Giertz, Tim Peake, Unbox Therapy; and other nominees Elon Musk, Gizmoslip, Hope Jahren, Life Noggin, and Nerdwriter.

Shares

x

Check Also

x

Menu