+
No of question in each topic
+
+ """, unsafe_allow_html=True)
+ data = {
+ "Arrays": 106,
+ "String": 35,
+ "HashMap and Set": 30,
+ "Dynamic Programming": 28,
+ "Sorting": 26,
+ "Math": 22,
+ "Two Pointers": 21,
+ "Matrix": 16,
+ "Binary Search": 16,
+ "Trees": 14
+ }
+ st.table(pd.DataFrame(data, index=["Count"]))
+ # Convert data to a Pandas DataFrame
+ df = pd.DataFrame.from_dict(data, orient='index', columns=['Count'])
+
+ # Create the bar graph with custom colors
+ fig, ax = plt.subplots()
+ df.plot(kind='bar', color=['red','blue'], ax=ax) # Set color to 'skyblue'
+ ax.set_title('Topic Counts', color='darkblue')
+ ax.set_xlabel('Topic', color='gray')
+ ax.set_ylabel('Count', color='gray')
+ ax.tick_params(axis='x', rotation=45) # Rotate x-axis labels for better readability
+
+ linkedin_embed_code = """
+