Code Monkey home page Code Monkey logo

oops's Introduction

#Google

  1. Given an array of int, two people can only pick at the beginning or end, if you go first how to get maximum sum. code link
  2. 给一个删除树节点的函数,和root,怎么遍历删除整棵树 code link
  3. Given a sorted array,find occuring time more than n/4 times popular number. code link
  4. 输出任意permutation使得List中的相同element的间距要小于minDistance code link
  5. 给一个词典和一个target word,问这个word是不是smashable. smashable的定义是这个词在字典里并且它不停地任意删除一个字母得到的单词也在词典里. code link

#Linkin

  1. Update a set of (upto) K elements, when you see a new element from an incoming stream, to ensure that every element seen so far, has an equal chance of making it into the set of K elements that we are maintaining. code
  2. Sparse matrix multiplication. code

#Yahoo

  1. 给一个链表8->2->4 表示时间1,8号叶子浮上来,时间2,2号叶子浮上来,时间3,4号叶子浮上来;叶子一旦浮上来,就一直在。有一个青蛙从起点开始,最远能跳k步,河岸宽是width. 青蛙在叶子间跳跃不需要时间. 问青蛙最快什么时候能过河. code

oops's People

Watchers

James Cloos avatar Charles Neau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.