Top "Stack" questions

A stack is a last in, first out (LIFO) abstract data type and data structure.

iOS how to detect programmatically when top view controller is popped?

Suppose I have a nav controller stack with 2 view controllers: VC2 is on top and VC1 is underneath. Is there …

ios uinavigationcontroller stack
How to merge different stacks together in ImageJ?

I'm trying to find out a way to merge two stacks together. For example I'm taking some 60X images about …

merge alignment imagej stack
Is a Java array of primitives stored in stack or heap?

I have an array declaration like this: int a[]; Here a is an array of primitive int type. Where is …

java arrays stack heap primitive-types
Android App Restarts upon Crash/force close

My android app is getting restarted after force close, through my entire application which consist of 20 activities, I am relying …

android crash stack forceclose
Why I do get "Cannot find bound of current function" when I overwrite the ret address of a vulnerable program?

I want to exploit a stack based buffer overflow for education purposes. There is a typical function called with a …

c stack buffer-overflow shellcode
Stack capacity in C#

Could someone tell me what the stack capacity is in C#. I am trying to form a 3D mesh closed …

c# .net clr stack
Stack with find-min/find-max more efficient than O(n)?

I am interested in creating a Java data structure similar to a stack that supports the following operations as efficiently …

java algorithm data-structures stack big-o
Why can't structs be declared as const?

They are immutable value types on the stack. What keeps me from having them a const? References: http://msdn.microsoft.…

c# struct stack constants
I need to stack these two divs on top of each other while maintaining the content positions

I need to stack these two divs on top of each other but am having trouble finding a way to …

css html stack stacked
How to determine maximum stack usage?

What methods are available for determining the optimum stack size for embedded/memory constrained system? If it's too big then …

memory embedded stack code-analysis