Amazon Coding Interview Question - K Closest Points to the Origin

Become a FullStackDeveloper and Architect - https://github.com/in28minutes/learn/blob/master/readme.md Download Presentation and Notes - https://courses.in28minutes.com/p/in28minutes-course-guide Java, Spring Boot, REST, Microservices Learning Path - https://www.youtube.com/watch?v=jf6doctfxWQ All Spring Boot Articles - http://www.springboottutorial.com/spring-boot-projects-with-code-examples The in28Minutes Way - https://github.com/in28minutes/in28minutes-initiatives/tree/master/The-in28Minutes-Way Troubleshooting Guide - https://github.com/in28minutes/in28minutes-initiatives/tree/master/The-in28Minutes-TroubleshootingGuide-And-FAQ JSP interview questions and answers. Reference * Interview Guide Github: https://github.com/in28minutes/interview-guide * https://github.com/in28minutes/RealWorldWebApplicationWithServletsAndJspIn28Minutes/blob/master/Java%20JEE%20Web%20Applicaiton%20In28Minutes.pdf * Code : https://github.com/in28minutes/JavaWebApplicationStepByStep * 60 Minute Video on JSP Servlets : https://www.youtube.com/watch?v=Vvnliarkw48 Questions * Why do we need JSPs? * Explain JSP Lifecycle? * What is difference in roles of jsp in model 1 and model 2 architectures? * What are different types of comments in JSP? * What is Scriptlet, Expression and Declaration in JSP? * What are JSP implicit objects? * What are the disadvantages of Scriptlets? * What is difference between include directive and jsp:include action? * What is JSP Expression Language? * What are JSP EL implicit objects? * What is JSTL? * What happens if an exception is thrown from a JSP? * JSP Best Practices RECOMMENDED COURSES * Spring MVC : https://www.udemy.com/spring-mvc-tutorial-for-beginners-step-by-step/?couponCode=SPRNGMVC-UTUBE-1 * JSP Servlets : https://www.udemy.com/learn-java-servlets-and-jsp-web-application-in-25-steps/?couponCode=JSPSRVLT-UTUBE-1 * Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1 * Maven : https://www.udemy.com/learn-maven-java-dependency-management-in-20-steps/?couponCode=MAVEN-UTUBE-1