Spring boot questions

What is auto wiring? How does it work?Stereotype annotation in Spring Boot.Difference between Uri & URL?What is ResponsEntitiy?How to handle exceptions in spring boot?How to handle validations in spring boot.@ComponentScan…

Printing all the loaded beans in Springboot

@SpringBootApplication public class BlogApplication implements CommandLineRunner { @Autowired ApplicationContext applicationContext; public static void main(String[] args) { SpringApplication.run(BlogApplication.class, args); } @Override public void run(String...args) throws Exception { String[] beans = applicationContext.getBeanDefinitionNames();…

Code at tech questions

Problem Name Score Accuracy Difficulty Company arrays Cumulative Sum3067%easyPositive Cumulative Sum3057%easyIdentical Twins3075%easyEven Number of Digits3036%easyImplement Insertion Sort3078%easyMerge Two Sorted Arrays3058%easy+2Merge Sorted Subarrays3055%easyImplement Merge Sort3067%easy+4Implement Quicksort3061%easy+9Square sorted array3077%easyMax Consecutive Ones3072%easyArithmetic Sequence3073%easyLargest…

Chaos Testing

First conceived by Netflix, chaos testing is part of the practice of intentionally trying to harm an application in production.. https://netflixtechblog.com/the-netflix-simian-army-16e57fbab116 What is Chaos Testing Engineering? Chaos testing, or chaos engineering,…