Skip to content
#

tree

Here are 1,840 public repositories matching this topic...

leetcode
azl397985856
azl397985856 commented Mar 19, 2020

有一幅以二维整数数组表示的图画,每一个整数表示该图画的像素值大小,数值在 0 到 65535 之间。

给你一个坐标 (sr, sc) 表示图像渲染开始的像素值(行 ,列)和一个新的颜色值 newColor,让你重新上色这幅图像。

为了完成上色工作,从初始坐标开始,记录初始坐标的上下左右四个方向上像素值与初始坐标相同的相连像素点,接着再记录这四个方向上符合条件的像素点与他们对应四个方向上像素值与初始坐标相同的相连像素点,……,重复该过程。将所有有记录的像素点的颜色值改为新的颜色值。

最后返回经过上色渲染后的图像。

示例 1:

输入:
image = [[1,1,1],[1,1,0],[1,0,1]]
sr = 1, sc = 1, newColor = 2
输出: [[2,2,2],[2,2,0],[2,0,1]]
解析:
在图像的正中间,(坐标(

TheSuperNoob
TheSuperNoob commented Mar 2, 2020

Is there a reason why in travis CI config the command black --check . || true is run? I don't see the point in checking if files needs to be reformatted if it's just going to be ignored anyways.

Currently running black --line-length 127 --check . -> 399 files would be reformatted, 74 files would be left unchanged.

In additio

danielchang-Z
danielchang-Z commented Sep 30, 2018

A pleasure that LinkedHashMap has been added.

While I have a different point about the iterative sequence. The sequence should order by the key last time put in instead of the first time put in.

This situation is caused by the func named LinkedHashMap.Put:

// Put inserts key-value pair into the map.
// Key should adhere to the comparator's type assertion, otherwise method panics.
fu
broot
HachimanSec
HachimanSec commented Feb 3, 2020

Hello there,
I just installed the latest version of broot 0.12.2 in iTerm Build 3.3.8 on a Mac OS Catalina 10.15.3.

It looks like a pretty amazing tool! Thanks for all the hard work*

One question, Alt+Enter is the default to bring the current windows into full size.
How can I change this? In the config file at /Users/USER/Library/Preferences/org.dystroy.broot/conf.toml, there is no Alt+

shtefcs
shtefcs commented Mar 10, 2020

I remember last year before this repo came to Alibaba hands that it had much better documentation.

Now you its hard to find, and you need to go to some not much friendly website to read unfinished documentation.

Can you guys simply upload documentation API over here like every other normal repo?

📚 collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book

  • Updated Apr 16, 2020
  • TypeScript
miraks31
miraks31 commented Feb 13, 2020

Hi,

Thank you for the component, I like it.
Today, I discovered ext-grid and the performances are now amazing for big structure.

My code is based on this code because I need a vertical scroll:
https://wwwendt.de/tech/fancytree/demo/index.html#sample-3rd-grid-scrollbar.html
Like you, I use plain-scrollbar.js.

But, I need an horizontal scroll to.
And when I move the horizontal scroll, t

felixvuo
felixvuo commented Dec 18, 2019

I think it would be nice to have the option to dump a raw graphviz DOT file instead of the sppf.png for a few reasons:

  • the file size is a lot smaller
  • it's nice to be able to "do things" with the resulting tree in its structured form, rather than navigate the rendered bitmap
  • it's only one extra (or no extra) line and could be optional, e.g. if you've turned on "debug" mode.

Any though

Joey8385
Joey8385 commented Apr 8, 2020

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] support request

Current behavior
When using DataTable with selectionMode 'multiple' a clickable checkbox occures for every row.

Expected behavior
It should be possible to disable checkboxes conditionally for certain rows by e.g. a body for the checkbox column.

Improve this page

Add a description, image, and links to the tree topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tree topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.