{"id":8518,"topics":[{"id":702,"name":"Algorithms and Data Structures","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/algorithms-and-data-structures"},{"id":710,"name":"Computer Science","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/computer-science"},{"id":698,"name":"Data Science, Analytics & Computer Technology","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/data-science-analytics-computer-technology"},{"id":747,"name":"Engineering","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/engineering"},{"id":700,"name":"Programming & Coding","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/programming-coding"}],"position":null,"offered_by":{"code":"ocw","name":"MIT OpenCourseWare","channel_url":"https://learn.mit.edu/c/unit/ocw","display_facet":true},"platform":{"code":"ocw","name":"MIT OpenCourseWare"},"course_feature":[],"departments":[],"certification":false,"certification_type":{"code":"none","name":"No Certificate"},"prices":[],"resource_prices":[],"runs":[],"image":{"id":6787,"url":"https://i.ytimg.com/vi/a1RaIqkdG0c/hqdefault.jpg","description":null,"alt":null},"views":109,"delivery":[{"code":"online","name":"Online"}],"free":true,"resource_type_group":"learning_material","format":[{"code":"asynchronous","name":"Asynchronous"}],"pace":[{"code":"self_paced","name":"Self-paced"}],"children":[],"best_run_id":null,"learn_url":"https://learn.mit.edu/video/8518/puzzle-2-the-best-time-to-party?playlist=8516","url_slug":"puzzle-2-the-best-time-to-party","resource_type":"video","video":{"id":2057,"caption_urls":[],"streaming_url":null,"cover_image_url":null,"duration":"PT26M50S"},"playlists":[8516],"content_files":[{"id":17017381,"run_id":2450,"direct_learning_resource_id":8518,"run_title":"Programming for the Puzzled","run_slug":"courses/6-s095-programming-for-the-puzzled-january-iap-2018","departments":[{"department_id":"6","name":"Electrical Engineering and Computer Science","channel_url":"https://learn.mit.edu/c/department/electrical-engineering-and-computer-science","school":{"id":2,"name":"School of Engineering","url":"https://engineering.mit.edu/"}}],"semester":"January IAP","year":2018,"topics":[{"id":702,"name":"Algorithms and Data Structures","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/algorithms-and-data-structures"},{"id":710,"name":"Computer Science","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/computer-science"},{"id":698,"name":"Data Science, Analytics & Computer Technology","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/data-science-analytics-computer-technology"},{"id":747,"name":"Engineering","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/engineering"},{"id":700,"name":"Programming & Coding","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/programming-coding"}],"key":"courses/6-s095-programming-for-the-puzzled-january-iap-2018/resources/puzzle-2-the-best-time-to-party/","uid":null,"title":"Puzzle 2: The Best Time to Party","description":"","require_summaries":false,"url":"https://ocw.mit.edu/courses/6-s095-programming-for-the-puzzled-january-iap-2018/resources/puzzle-2-the-best-time-to-party/","content_feature_type":["Lecture Videos"],"content_type":"video","content_title":"Puzzle 2: The Best Time to Party","content_author":null,"content_language":null,"checksum":"732e56859007691364534be5ab3659c0","image_src":"https://i.ytimg.com/vi/a1RaIqkdG0c/hqdefault.jpg","resource_id":"3810","resource_readable_id":"6.S095+january-iap_2018","source_path":null,"course_number":["6.S095"],"file_type":"","file_extension":".mp4","offered_by":{"code":"ocw","name":"MIT OpenCourseWare","channel_url":"https://learn.mit.edu/c/unit/ocw","display_facet":true},"platform":{"code":"ocw","name":"MIT OpenCourseWare"},"run_readable_id":"6fcf1744bf7b3aca9ade08566aa93c60","edx_module_id":null,"youtube_id":"a1RaIqkdG0c"}],"description":"","created_on":"2024-03-13T13:01:42.778316Z","readable_id":"a1RaIqkdG0c","title":"Puzzle 2: The Best Time to Party","full_description":"MIT 6.S095 Programming for the Puzzled, IAP 2018\nView the complete course: https://ocw.mit.edu/6-S095IAP18\nInstructor: Srini Devadas\n\nEver wanted to go to a party at just the right time so you can hang out with all the cool people? Prof. Devadas describes an efficient, algorithmic way of finding this time and explains how you can write a program that computes the best time.\n\nLicense: Creative Commons BY-NC-SA\nMore information at https://ocw.mit.edu/terms\nMore courses at https://ocw.mit.edu","last_modified":"2018-05-10T15:31:40Z","published":true,"languages":null,"url":"https://ocw.mit.edu/courses/6-s095-programming-for-the-puzzled-january-iap-2018/resources/puzzle-2-the-best-time-to-party/","resource_category":"Lecture Video","ocw_topics":[],"professional":false,"next_start_date":null,"availability":"anytime","completeness":1.0,"license_cc":true,"test_mode":false,"continuing_ed_credits":null,"location":"","duration":"","min_weeks":null,"max_weeks":null,"time_commitment":"","min_weekly_hours":null,"max_weekly_hours":null,"require_summaries":false}