Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

How to Calculate Shortest Paths in a Grid

423.5K views
•
July 22, 2015
by
Infinity Learn NEET
YouTube video player
How to Calculate Shortest Paths in a Grid

TL;DR

To calculate the number of different shortest paths in a rectangular grid, you can use combinations. If there are 5 columns and 4 rows, Zara can take 126 distinct paths by selecting 5 moves to the right out of a total of 9 moves, represented mathematically as '9 C 5'. Alternatively, this can be viewed as arranging 5 'R's and 4 'U's.

Transcript

We have been given this rectangular grid of paths with this being the starting point and this being the destination. Zara's at the starting point and wants to reach the cake shop which is at the destination. Think of these lines as paths Zara can take to travel to the cake shop. With this, we have been asked for the number of different shortest pat... Read More

Key Insights

  • 🍰 The problem involves finding the number of different shortest paths in a rectangular grid.
  • 🫱 Shortest paths only involve moving rightwards or upwards.
  • 💌 Both combinations and arranging letters can be used to calculate the number of shortest paths.
  • 🤨 The number of columns and rows in the grid determines the total units traveled.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How do we define a shortest path in the given problem?

In this problem, a shortest path consists of moving only rightwards or upwards in the rectangular grid.

Q: What is not considered a shortest path?

A path that involves moving leftwards or downwards at any point is not considered a shortest path.

Q: How can we calculate the number of shortest paths using combinations?

By using the formula for combinations, specifically "NCR," where N represents the total units traveled and R represents the number of units moved rightwards or upwards.

Q: Are there alternative methods to calculate the number of shortest paths?

Yes, arranging the letters "R" (for right) and "U" (for upwards) in all possible combinations can also give the number of different shortest paths.

Summary & Key Takeaways

  • The problem involves finding the number of different shortest paths a person can take in a rectangular grid to reach their destination.

  • The shortest path consists of moving only upwards or rightwards.

  • The number of shortest paths can be calculated using combinations or arranging letters in a word.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Infinity Learn NEET 📚

Divisibility Rules (2, 4 and 8) | Don't Memorise thumbnail
Divisibility Rules (2, 4 and 8) | Don't Memorise
Infinity Learn NEET
Female Reproductive System | Infinity Learn NEET thumbnail
Female Reproductive System | Infinity Learn NEET
Infinity Learn NEET

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.