File size: 1,821 Bytes
e427796
bcf9fc0
d34674e
bb2ed69
 
 
 
 
 
6129da6
bb2ed69
dc76ac3
 
 
6129da6
 
 
 
 
bb2ed69
6129da6
bb2ed69
6129da6
bb2ed69
6129da6
dc76ac3
bb2ed69
171f4e5
bb2ed69
 
 
dc76ac3
 
2c6acc8
dc76ac3
 
 
bb2ed69
 
2c6acc8
 
bb2ed69
 
 
 
 
 
19e3403
d34674e
 
19e3403
d34674e
bb2ed69
 
 
 
 
 
 
 
d34674e
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import streamlit as st

def main():
    st.set_page_config(page_title="Popular Data Structures")
    
    st.markdown(
        """
        <style>
            body {
                background-color: #c98fbc;
                text-align: center;
                font-size: 50px;
                margin-top: 50px;
                font-family: 'Comic Sans MS', cursive, sans-serif;

            }

            .stApp {
                background-color: #c98fbc;
            }
            
            .stButton>button {
                background-color: #9e3e88;
                color: white;
                font-size: 21px;
                border-radius: 15px;
                width: 300px;
                height: 80px;
                display: block;
                margin: auto;
            }

            .stButton>button:hover {
                background-color: #834985;
                color: white;
            }
            
            .stMarkdown {
                text-align: center;
                font-family: 'Comic Sans MS', cursive, sans-serif;
                margin-top: 30px;
            }
        </style>
        """,
        unsafe_allow_html=True
    )
    
    st.markdown('<div class="main-container" style="font-family:Comic Sans MS, cursive, sans-serif;">', unsafe_allow_html=True)
    st.title("Popular Data Structures")
    
    
    if st.button("What are the most popular data structures?"):
        st.markdown("**Here are some of the most popular data structures:**")
        st.markdown("- Arrays")
        st.markdown("- Linked Lists")
        st.markdown("- Stacks")
        st.markdown("- Queues")
        st.markdown("- Hash Tables")
        st.markdown("- Trees (e.g., Binary Trees, BST, AVL Trees)")
        st.markdown("- Graphs")
        
if __name__ == "__main__":
    main()