Array
Thursday, June 13, 2024 in LeetCode Notes
Starred by 25+ users, GitHub Repo: LeetCode Pattern 500 offers: 500 solutions for LeetCode problems in Python and Java 17 notes on essential concepts related to data structures and algorithms 130 patterns for solving LeetCode problems array array …
Abstraction
Thursday, June 13, 2024 in Java Interview Questions
Abstraction Hide complexity, show essentials abstract class vs interface abstract class interface Inheritance Supports single inheritance Supports multiple inheritances Subclass Use extends to inherit Use implements to inherit Instantiation Cannot be …
@Autowired
Thursday, June 13, 2024 in Spring Interview Questions
@Autowired @Autowired is used for automatic dependency injection in Spring. It can be applied to constructors, methods, and fields @Component public class MyService { @Autowired private MyRepository myRepository; } Use @Autowired with @Qualifier can …
Trie
Thursday, June 13, 2024 in LeetCode Notes
Starred by 25+ users, GitHub Repo: LeetCode Pattern 500 offers: 500 solutions for LeetCode problems in Python and Java 17 notes on essential concepts related to data structures and algorithms 130 patterns for solving LeetCode problems trie intro …
Polymorphism
Thursday, June 13, 2024 in Java Interview Questions
Polymorphism Same name, different execution Method Overloading Compile-Time Polymorphism Static binding Same method name, different parameter lists Different parameter lists are decided by different number/type/order of parameters Method Overriding …
Constraint
Thursday, June 13, 2024 in SQL Server Interview Questions
Constraint PRIMARY EKY Constraint A unique identifier (single col or composite cols) for a record in a database table Maintain ****entity integrity Automatically creates a clustered index Identity column is commonly used for primary key …
@SpringBootApplication
Thursday, June 13, 2024 in Spring Interview Questions
@SpringBootApplication @SpringBootApplication on main class as an entry point @SpringBootApplication public class SpringLearningApplication { public static void main(String[] args) { SpringApplication.run(SpringLearningApplication.class, args); } } …
String
Thursday, June 13, 2024 in LeetCode Notes
Starred by 25+ users, GitHub Repo: LeetCode Pattern 500 offers: 500 solutions for LeetCode problems in Python and Java 17 notes on essential concepts related to data structures and algorithms 130 patterns for solving LeetCode problems string intro …
Normalization
Thursday, June 13, 2024 in SQL Server Interview Questions
Normalization Normalization is a database design technique Normalization vs Denormalization Normalization Will divide large tables into smaller and related tables Reduce redundancy Improve data integrity Denormalization Improve read performance by …
Inheritance
Thursday, June 13, 2024 in Java Interview Questions
Inheritance Reusing code across classes (creating PARENT-CHILD relationship) extends Used in class declarations to create a subclass that inherits fields and methods from a superclass @Override Subclasses can override methods of the superclass to …