Skip to content

Crack SDE

Most of the content are generated by AI, with human being reviewed, edited, and revised

Menu
  • Home
  • Daily English Story
  • Tech Interviews
  • Cloud Native
  • DevOps
  • Artificial Intelligence
Menu

Category: Java

Fisher-Yates algorithm in Java

Posted on 10/03/202311/04/2023 by user

The Fisher-Yates algorithm is a method for generating a random permutation of a finite sequence. Here is how you can integrate the Fisher-Yates shuffle algorithm in the existing Java class: Here is…

Data Type Casting in Java

Posted on 10/03/202310/03/2023 by user

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…

Power of 2[Leetcode231]

Posted on 09/13/202309/13/2023 by user

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]

Posted on 09/13/202309/13/2023 by user

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…

Free Java Tutorials Video Course – 2023

Posted on 08/17/2023 by user

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

Java tutorial – 5 Java OOD

Posted on 06/08/202306/08/2023 by user

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

Posted on 06/08/2023 by user

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…

Java tutorial – 3 Java methods

Posted on 06/01/202306/08/2023 by user

Methods in Java In Java, a method is a block of code that only runs when it is called, you can put some parameters as input, and it returns the value as…

Java tutorial – 2 data types

Posted on 05/31/202305/31/2023 by user

Java Data Types Primitive Data Type  In Java, there are two types of data types: Primitive data type and Non-primitive data type.  Primitive Data Types: These are the built-in data types in…

Java tutorial – 1 introduction

Posted on 05/31/202305/31/2023 by user

Overview of Java Java is a popular programming language developed by Sun Microsystems (now owned by Oracle), to develop mobile apps, web apps, desktop apps, games, and much more. Java is a…

Recent Posts

  • LC#622 Design Circular Queue
  • Started with OpenTelemetry in Go
  • How Prometheus scrap works, and how to find the target node and get the metrics files
  • How to collect metrics of container, pods, node and cluster in k8s?
  • LC#200 island problem

Recent Comments

  1. another user on A Journey of Resilience

Archives

  • May 2025
  • April 2025
  • February 2025
  • July 2024
  • April 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • June 2023
  • May 2023

Categories

  • Artificial Intelligence
  • Cloud Computing
  • Cloud Native
  • Daily English Story
  • Database
  • DevOps
  • Golang
  • Java
  • Leetcode
  • Startups
  • Tech Interviews
©2025 Crack SDE | Design: Newspaperly WordPress Theme
Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}