Eamon Magdeamonmagd.hashnode.dev·Jul 26, 2024Using Python in QGIS to scale up London's cycle infrastructure to match Amsterdam.I’ve created a tutorial that shows you how to use code to scale up roads, and cycle paths, or even modify highway types between cities! Bonus: There’s also a separate video diving deeper into a more advanced method specifically for modifying cycle pa...DiscussPython
Vineeth Chivukulavineethchivukula.hashnode.dev·Jun 30, 2024Solving Linked List CycleTo see the question, click here. Naive Approach The idea is to use a HashSet to keep track of the nodes we've visited. We know there is a cycle if we encounter a node we've already seen. // TC: O(n) // SC: O(n) import java.util.HashSet; class ListN...Discusslinked list