Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Quantitiative Aptitude
  • Logical Reasoning
  • Verbal Ability
  • Aptitude Quiz
  • Quantitiative Aptitude Quiz
  • Verbal Ability Quiz
  • Aptitude For Placements
  • Interview Corner
  • Practice Sets
Open In App
Next Article:
Puzzle - Two Creepers Climbing a Tree
Next article icon

Puzzle - Two Creepers Climbing a Tree

Last Updated : 18 Jan, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

Question:

Jasmine and rose creepers are two creepers (climbing plants) that are both climbing up and around a cylindrical tree trunk. Both jasmine and rose begin at the same spot on the ground and twist both clockwise and counterclockwise. The rose had done three complete twists and the jasmine had made five before they reached the tree's first branch. How many times do they cross, excluding the bottom and top?

Solution:

The vertical component of the problem is somewhat of an illusion, which is the first thing to realize. Let us assume that they both travel vertically at the same position and finish the journey at the same undetermined time, but this is for convenience regardless of whether the times are the same.

Let us consider their motion as being restricted to the outside edge of a circle in the horizontal plane. The problem now resembles a riddle involving overlapping clock hands, although the hands are going in opposing directions.

The creepers will move at 5 and 3 wpm, respectively. Where 'w' is some arbitrary angular velocity in degrees per second. We may simply illustrate Total as a function of w if we know that the total distance travelled is 360 degrees times 5 revolutions or 3 revolutions (time = distance/speed), i.e., Total = 360 * 5 / (5w) or 360 * 3 / (3w) 

Hence, Total = 360 / w 

The First Coincidence:
Now, we have two movements around a circle that begin at the same position and go in opposing directions with speeds of 3w and 5w, respectively. We want to tackle this for time.

 

We know that two objects travelling at speeds of 5w and 3w cover a total distance of 360 degrees. Based on our equations of motion, we can:

360 = 5wt + 3wt = 8wt
t = 360 / 8w

As a result, our first overlap occurs at t = 360 / 8w. In terms of successive overlaps, the problem is reset in certain respects. Right now, they are moving in opposing directions while coexisting. Calculating the subsequent overlap would get the same results. We now know that an overlap happens every 360 / 8w.

Total Coincidence
An overlap happens every 360 / 8w for a total duration of 360 / w, resulting in a total number of coincidences of

= Total/time between coincidence
= (360 / w) / (360 / 8w)
= 8

Since the division is accurate, we know that the last coincidence occurs at t = Total, implying that there are 7 overlaps excluding the top and bottom.


Next Article
Puzzle - Two Creepers Climbing a Tree

S

swathi23trl7
Improve
Article Tags :
  • Aptitude
  • Analytical Mathematical Puzzles

Similar Reads

    Hungry Worm and Old Tree Riddle | Puzzle
    Problem Statement: A very hungry worm reaches a tree and eats the leaves in the following sequence: DAY 1: The worm eats 1 leafDAY 2: TWICE( DAY 1)= 2 leavesDAY 3: TWICE( DAY 2)= 4 leavesDAY 4: TWICE( DAY 3)= 8 leaves and so on.....(up to 30 days) The above eating sequence continues for 30 days and
    2 min read
    Extra Edge in an Undirected Tree
    Given an undirected tree of N vertices and N-1 edges. But now a friend has added an extra edge to the tree. You have to find an edge that your friend could have added. If there are multiple such possible edges then Print any. Examples: Input: N = 3, edges:[[1 2], [1 3], [2 3]]Output: [2 3]Explanatio
    8 min read
    Find the Distance Between Two Nodes in the Binary Tree using JavaScript
    Given two nodes, our task is to find the distance between two nodes in a binary tree using JavaScript, no parent pointers are given. The distance between two nodes is the minimum number of edges to be traversed to reach one node from another. Examples: Input: Binary Tree as described above in diagra
    5 min read
    Maximizing Robbery in Binary Tree Houses without Alerting Police
    There are Houses arranged in the form of a Binary tree. There is only one entrance to the houses which is the root of a tree. It will automatically contact the police if two directly linked houses are broken into on the same night. Given the root of the binary tree, return the maximum amount of mone
    11 min read
    Extra Edge in a Directed Rooted Tree
    Given a Directed rooted tree of N vertices and N-1 edges. But now your friend has added an extra edge in the tree. You have to find an edge that could have been added by your friend. If there are multiple such possible edge then Print any. Examples: Input: N=3 edges = [[1,2],[1,3],[2,3]]Output: [2,3
    9 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences