摘要: 题目描述: Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The 阅读全文
posted @ 2019-05-25 22:37 mingyu02 阅读(154) 评论(0) 推荐(0)
摘要: words: conceptually adv 概念地 training end-to-end from scratch 从头开始训练 meta-learning 元学习 unified adj 统一的 scalability n 可扩展性 emerging 作adj时 新出现的 stripy ad 阅读全文
posted @ 2019-05-25 16:14 mingyu02 阅读(524) 评论(0) 推荐(0)
摘要: 题目描述: Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Given linked list -- head = [4,5,1, 阅读全文
posted @ 2019-05-25 16:05 mingyu02 阅读(134) 评论(0) 推荐(0)
摘要: 题目描述: Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums ex 阅读全文
posted @ 2019-05-25 11:10 mingyu02 阅读(156) 评论(0) 推荐(0)
摘要: 题目描述: You are playing the following Nim Game with your friend: There is a heap(堆) of stones on the table, each time one of you take turns to remove 1 阅读全文
posted @ 2019-05-25 08:45 mingyu02 阅读(111) 评论(0) 推荐(0)