https://leetcode.com/problems/validate-stack-sequences/ find out an element in the given sorted row and coloumn matrix. https://leetcode.com/problems/linked-list-cycle/ Top view of a binary Tree psuedo code for Topological sort Again two interviewers started from intro and explain one of yo...
ViewPager 2676 827 Java 39 An easy to use ViewPager that adds an awesome set of custom swiping animations. Justchange your ViewPagers to JazzyViewPagers, two more steps, and you're good to go! 201508-30T23:33:20Z 7 Wheel 2651 723 Java 9 A progress wheel for android, intended ...
https://leetcode.cn/problems/number-of-ways-to-reconstruct-a-tree 这道题曾经在周赛难度分top1呆了几年,如今已经不在难度分top5了。破局的关键是父节点的邻居数肯定不少于子节点,而根节点的邻居数一定是n-1。所以应该先找到根节点,然后逐层向下建树,子节点的邻居一定是父节点的子集,否则就是非法;如果子...
Interview 6.2k Interview = 简历指南 + LeetCode + Kaggle tensorlayer 6.2k Deep Learning and Reinforcement Learning Library for Scientists and Engineers 🔥 generative-models 6.1k Collection of generative models, e.g. GAN, VAE in Pytorch and Tensorflow. machine-learning-yearning-cn 6.1k Machine Lear...
LeetCode Top 100 Liked Questions 105. Construct Binary Tree from Preorder and Inorder Traversal (Java版; Medium) 题目描述 Given preorder and inorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. ...
LeetCode Top 100 Liked Questions 236. Lowest Common Ancestor of a Binary Tree (Java版; Medium) 题目描述 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 lowest common ancestor is defined betw...
Given a binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to any node in the tree along the parent-child connections. The path does not need to go through the root. ...
6700 850 147 11 months ago gobot/193 Golang framework for robotics, drones, and the Internet of Things (IoT) 6694 639 25 a month ago cheat/194 cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of ...
Create 65--serialize-and-deserialize-binary-tree.java May 7, 2023 66--subtree-of-another-tree.java Rename 67--subtree-of-another-tree.java to 66--subtree-of-another-tre… May 7, 2023 67--construct-binary-tree-from-preorder-and-inorder-traversal.java ...
pix2code 10.9k pix2code: Generating Code from a Graphical User Interface Screenshot facenet 10.8k Face recognition using Tensorflow DeOldify 10.7k A Deep Learning based project for colorizing and restoring old images (and video!) python-machine-learning-book 10.7k The "Python Machine Learning (1st...