nums = [1, 2, 3, 4, 5]
print(nums[2] + nums[-1])
What is 8
The official school color of NYU
What is violet
Originally created as a project to improve search engine technology on Stanford's website, this company's name is a play on the word for a mathematical term representing 10 to the power of 100
What is Google
The computer scientist who developed on-board flight software for NASA's Apollo space program
Who is Margaret Hamilton
The algorithm that calls itself into subproblems in order to solve the original problem
What is recursion
The name of ACM-W's faculty advisor and a machine learning professor at Tandon
Who is Linda Sellie
print('.'.join(['NYU', 'Tandon'][::-1]))
What is "Tandon.NYU"
NYU Tandon is neighbors with this famous financial news company's headquarters
JPMorgan Chase
This company, known for its electric vehicles and renewable energy products, was originally founded by Martin Eberhard and Marc Tarpenning
What is Tesla
The mathematician often credited as the world's first computer programmer
Who is Ada Lovelace
The algorithm that efficiently searches through sorted items by repeatedly dividing itself
What is Binary Search Algorithm
The name of Sanjida's youngest, most ginger-y, cat
What is Kirby
def mystery(x):
return x * 2 + 1
print(mystery(mystery(2)))
What is 11
The name of the NYU professor who received the Turing Award, often referred to as the "Nobel Prize of Computing"
Who is Yann LeCun
This workplace messaging app was originally designed as an internal tool for a now-defunct online game called "Glitch"
What is Slack
The influential business executive who served as the COO at Facebook and wrote "Lean In: Women, Work, and the Will to Lead."
Who is Sheryl Sandberg
The search algorithm that is referred to as an improved selection sort
What is Heapsort
The name of Olivia's new baby niece <3
What is Darlia
items = [1, 2, 3, 4, 5]
rotated_items = items[-2:] + items[:-2]
print(rotated_items.count(1))
What is 1
The full name of the people Tandon School of Engineering is named after
Who is Chandrika and Ranjan Tandon
This website was initially conceptualized as a video-based dating service named "Tune In Hook Up."
What is YouTube
The computer scientist known for her work on the Spanning Tree Protocol (STP) and for winning a Turing Award in 2004
Who is Radia Perlman
The algorithm that searches through a tree by starting at the root and exploring the neighbor nodes before moving on to the next level of nodes
What is Breadth-First Search
The title of the job Nisha worked for 2 years during high school
What is Juicerista
lambda_fun = lambda x, func: x + func(x)
result = lambda_fun(2, lambda x: x * x)
print(result)
What is 6
Jasper Kane (Polytechnic '28) was famous for...
What is creating the process that Pfizer used to mass produce penicillin
This company, originally named Cadabra, Inc., was renamed after its founder read about the fire-driven energy concept in a book about the creation of the universe
What is Amazon
The English computer scientist who was a key figure in the development of the Raspberry Pi microcomputer
Who is Sophie Wilson?
The algorithm that computes the shortest paths from a single source vertex to all of the other vertices in a weighted digraph thats slower than Dijkstra's algorithm
What is Bellman-Ford algorithm