Useful tips for everyday
How is exception handling handled in Spring Boot? Before proceeding with exception handling, let us gain an understanding on the following annotations. The @ControllerAdvice is…
What is balanced binary tree in data structure? A balanced binary tree is a binary tree structure in which the left and right subtrees of…
What are the implementations of queue? Now, some of the implementation of queue operations are as follows: Enqueue: Addition of an element to the queue.…
Can you sort a list based on another list? Sorting a list based on another list sorts the elements of the first list by the…
How do you generate a random hex color in python? Random hex Color code generate in python random_number = random. randint(0,16777215) hex_number = str(hex(random_number)) hex_number…
How do you find the convex hull? An intuitve definition is to pound nails at every point in the set S and then stretch a…
How to quickly search through a very large list of strings? But you may still make at least 100+ grep (worst case 2 million) before…
How do you do DFS in adjacency matrix? Approach: Create a matrix of size n*n where every element is 0 representing there is no edge…
On what date is the second Saturday of the month? When is Saturday the 2nd? Saturday the 2nd occurrences Year Date Month 2019 Saturday, November…
What are the parts of kanban? David Anderson established that kanban boards can be broken down into five components: Visual signals, columns, work-in-progress limits, a…