Casting in Java refers to converting a variable from one data type to another. Java supports both implicit (automatic) and explicit (manual) casting. Implicit Casting (Automatic) Implicit casting happens when you assign…
Category: Tech Interviews
Database Schema Migration
Database schema migration refers to the management of incremental, reversible changes to relational database schemas. A series of migrations written in code can upgrade a database schema to a new version or…
Power of 2[Leetcode231]
You can check if a number is a power of 2 using recursion in Java by repeatedly dividing the number by 2 and checking if it eventually becomes 1. If it does,…
Coin Change problem [Leetcode322]
The Coin Change problem can be solved using various algorithms such as Dynamic Programming, Recursion, or even Greedy algorithms for specific scenarios. Below is a Java implementation using Dynamic Programming: The problem…
strings.Builder in Go lang
strings.Builder type in Go’s standard library provides several methods to help build and manipulate strings efficiently. The following are the primary methods available:
Free Java Tutorials Video Course – 2023
Learn Java – Free Java Courses for Beginners https://www.freecodecamp.org/news/learn-java-free-java-courses-for-beginners/ W3 Schools Java Tutorials https://www.w3schools.com/java/ Java Full Course Learn Java Online https://www.learnjavaonline.org/ Java Tutorial for Complete Beginners https://www.udemy.com/course/java-tutorial/ 1
Compare git fetch and git pull
git fetch and git pull are both commands used in the Git version control system to update the local repository with data from a remote repository. They serve similar purposes but have…
Java tutorial – 5 Java OOD
Class in Java In Java, a class is a blueprint for creating objects. A class can contain variables and methods. When an object is created from a class, we say an instance…
Java tutorial – 4 Java data structure
Java Strings Strings in Java are objects of the String class, and they are immutable, which means once a String is created, it cannot be changed. If you perform an operation that…
How to prepare interviews from Amazon
This guide is designed to help you prepare for behavioral interview questions during your Amazon interview process. Our suggestions are grounded in our extensive experience conducting thousands of candidate interviews and coaching…