Geometric Algorithms

Implementing a Geometric Algorithm:

Scenario

Objectives:

  • Check if two line segments intersect.

Exercise 1:

  • On the Jupyter Index page, click File > New Notebook > Python 3.
  • Copy the following code into the notebook
  1. To run the code, click Run.
  2. View the results.

--

--

--

Passionate author, strategic investor, financial advisor

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Using Hashnode as a Source for Gatsby

How to build a Mail API on the GCP with GAE and Python

Google App Engine

Snowflake’s Cloud Data Warehouse — Zero copy cloning

Google / Amazon Interview Question — LeetCode 1345

Uniqly Project Update #2

How To Define A Module In Elixir

TONIC — LandingTrack Integration

You can see that fish has an in-line autosuggestion feature that the two other shells lack.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aditya B

Aditya B

Passionate author, strategic investor, financial advisor

More from Medium

Clean Code

Buffer Overflow || Binary Exploitation || CTF — EASY BUFFER

Bias In Algorithms

Pair Programming