K Closest Points to OriginArraysK Closest Points to OriginProblem 🤔 We have a list of points on the plane. Find the K closest points to the origin (0,…Omer GoldbergDecember 20, 2020 11 min
Find Course ScheduleGraphsFind Course ScheduleProblem 🤔 There are a total of n courses you have to take labelled from 0,...,n - 1 . Some courses…Omer GoldbergDecember 20, 2020 22 min
Find Cycle in Undirected GraphGraphsFind Cycle in Undirected GraphProblem 🤔 Given an undirected graph, write a function to detect whether a cycle exists in a graph…Omer GoldbergDecember 20, 2020 11 min
Find Cycle in Directed GraphGraphsFind Cycle in Directed GraphProblem 🤔 Given a directed graph, write a function to detect whether a cycle exists in a graph…Omer GoldbergDecember 20, 2020 11 min
Topological SortGraphsIs Course Schedule Possible?Problem 🤔 There are a total of numCourses courses you have to take, labeled from 0 to numCourses-…Omer GoldbergDecember 20, 2020 19 min
Merge K Sorted ListsSorting and SearchingMerge K Sorted ListsProblem 🤔 You are given an array of k linked-lists lists, each linked-list is sorted in ascending…Omer GoldbergDecember 20, 2020 14 min