Posts in 2024
  • 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 …

    Read more

  • 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 …

    Read more

  • @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 …

    Read more

  • 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 …

    Read more

  • 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 …

    Read more

  • 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 …

    Read more

  • @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); } } …

    Read more

  • 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 …

    Read more

  • 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 …

    Read more

  • 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 …

    Read more