Questions tagged [bottom-up]
84 questions
0
votes
1 answer
From recursive algorithm to bottom up dynamic programming approach
I have a recursive algorithm in which I calculate some probability values. The input is a list of integers and a single integer value, which represents a constant value.
For instance, p([12,19,13], 2) makes three recursive calls, which…

fnisi
- 1,181
- 1
- 14
- 24
0
votes
1 answer
Row of first cell with text, search from bottom
If have texts in column A, with empty cells
In B20, I 'd like to get the row number of the first non empty cell above A20, without VBA.
I found some examples with "LOOKUP" function but I get "DIV/0" error. Perharps because I have text and not…

John DT
- 7
- 1
- 5
0
votes
0 answers
android gridview entries starts from bottom to up
I have a gridview which height is half of the phone's height and aligned to parent's bottom like below images, (numofcolums=1 i need it that way of other reasons)
But i also need the items in the gridview starts from bottom to up like second…

Tutcugil
- 358
- 4
- 11
0
votes
1 answer
Tarjan's top down red black tree efficiency
I am wondering how Tarjan's Top-Down red black tree algorithm fares against other red black tree algorithms (e.g. the one by Robert Sedgewick). Has anyone compared the results of various top-down and bottom-up algorithms?
Please let me know as it…

Shreyas Gokhale
- 13
- 1
- 8
0
votes
1 answer
Identify data warehouse design methodologies in the following diagram
Can someone help me identify the top-down, bottom-up, and hybrid data warehouse design methodologies as mentioned here in Wikipedia in the following diagram? I am interested in understanding how the diagram differs depending on each design…

Hahnemann
- 4,378
- 6
- 40
- 64
0
votes
0 answers
Spacial partitionning bottom up tree
I was wondering, because I can't find anything about a spacial partionning tree that would be bottom up built:
Is it possible (I guess yes but with what efficiency?)
Does it exist in practical case?
Any documentation about this?
Is this question…

Krapow
- 611
- 6
- 26
0
votes
1 answer
adview not showing with bottom on linearlayout
I want to add applications to the ad. But I fail I want to add about the position advertised. Codes are as follows:

Mehmet Özay
- 185
- 3
- 12
0
votes
2 answers
Sliding bottomsheet like redbus
I want to implement a search feature similar to the redbus app. The screenshots are shown below. When I click on editbox, it should slide the sheet(from bottom) with the name of the cities as shown in screenshot2 and when I select any one of them,…

Devs
- 286
- 2
- 5
- 16
0
votes
1 answer
Compiler Design First and follow
I have i doubt in a problem,trying to calculate FOLLOW(S) which needs FOLLOW(A) in it,but as A production is after S production,we have not calculated FOLLOW(A) yet.So,should we add FOLLOW(A) too inf FOLLOW(S)???

Omkar
- 791
- 1
- 9
- 26
0
votes
1 answer
How to fix the footer to bottom of the page?
I want to fixed a image to bottom relate with size of monitoring. I
want to show in just main page.
0
votes
1 answer
Dynamic Programming for sub sum elements in a matrix
Given a chess board with 4 rows and n columns. On every cell there's an integer. Given 2n discs that part of them, or all of them you can put on a different cell on the board so the total sum is maximal. The only limitation is that 2 discs can't be…

itorra
- 13
- 4
0
votes
1 answer
How to start a scrollable object from bottom, using HTML/CSS?
I've seen a lot of solutions using JavaScript, but I'm trying to do this just using HTML/CSS/PHP.
I have a table where the content is loaded with php from a database, and I made it scrollable. Now I want the scrolling to start at the bottom.
Here…

swallis1
- 99
- 1
- 13
0
votes
2 answers
How to make a list view populate from the bottom up
right now i have a list view that populates like
[top]
1
2
3
4
[bottom]
I want it to populate like
[top]
4
3
2
1
[bottom]
. android:stackFromBottom="true" is not giving me what i want

Wildblue09
- 337
- 1
- 3
- 13
0
votes
2 answers
Get size of JFrame from inside JPanel
I am making a small library that lets me make some graphs for a different project I'm working on (I don't want to download another library), and I set it up so each type of graph (pie, bar, line) extends JPanel, and everything inside those graphs…

Totalllyrandomguy
- 139
- 2
- 17
0
votes
1 answer
Bottom-up approach to minimum number of coins for change
I am constructing a bottom-up approach to the coin change problem. I have to give the minimum number of coins needed to give the change requested. It may be possible that the change could not be given because the given denominations cannot form the…

Mohideen Imran Khan
- 833
- 6
- 25