Persistent Systems Interview Question

Stack implementation using database,what is the most complex problem you have ever solved etc.