Adonais's notebook


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Search

[Leetcode] Segment Tree

Posted on 2021-07-19 | In Leetcode , Segment Tree |
Segment TreeVideo: https://www.youtube.com/watch?v=rYBtViWXYeI Discrete version of a Segment Tree: A balanced binary tree. O(logn) height given n elem ...
Read more »

[Leetcode] Min-max problem (Game Theory)

Posted on 2021-07-15 | In Leetcode , Min-Max |
Min-max problemHow to tell if it’s a min-max problem: 2 players Take turns Both play optimally (note: optimally doesn’t mean greedy, optminally is fo ...
Read more »

[Leetcode] Binary Search

Posted on 2021-07-11 | In Leetcode , Binary Search |
Binary Search In ArrayGreat variants: https://www.geeksforgeeks.org/variants-of-binary-search/ https://leetcode-cn.com/problems/binary-search/solution ...
Read more »

[Leetcode] Monotonic Stack/Queue

Posted on 2021-07-01 | In Interview , Monotonic Stack |
Monotonic StackVideo: https://www.youtube.com/watch?v=7QEIZy1pp2o Target problems: Find smaller/greater element to the right/left of the current elem ...
Read more »

[Interview] Google

Posted on 2021-06-03 | In Interview , Google |
Topic: Bipartite GraphVideo: https://www.youtube.com/watch?v=HqlUbSA9cEY Vertices in one group doesn’t have edges within the group members. For every ...
Read more »

[Interview] Stripe

Posted on 2021-06-03 | In Interview , Stripe |
Phone InterviewHTTP HeaderLink: https://www.1point3acres.com/bbs/thread-777968-1-1.html Part I Accept-Language: en-US, fr-CA, fr-FR means that the rea ...
Read more »

[System Design] Front End Optimization

Posted on 2021-03-08 | In System Design , Front End Optimization |
FEO focuses on reducing file sizes and minimizing the number of requests needed for a given page to load. Perceived load time is considered because it ...
Read more »

[Leetcode] Fancy Algorithm

Posted on 2021-02-25 | In Leetcode , Algorithm |
Eulerian Cycle & Hierholzer’s AlgorithmVideo: https://www.youtube.com/watch?v=8MpoO2zA2l4 In graph theory, an Eulerian trail (or Eulerian path) is ...
Read more »

[iOS] Swift introduction

Posted on 2021-02-16 | In iOS |
Limited resources: Power limitation CPU limitation 1234567891011121314151617181920// ContentView.swiftimport SwfitUIstruct ContentView: View { ...
Read more »

[iOS] Swift Views

Posted on 2021-02-16 | In iOS |
ViewsProgressiveView Indicate percentage of the complete task 12var progressBar: UIProgressView!progressBar.progress = 1.0
Read more »
1234…14

Adonais0

140 posts
131 categories
112 tags
GitHub Twitter
© 2024 Adonais0
Powered by Hexo
|
Theme — NexT.Mist v7.8.0