current location:Home > Technical Articles > Java

  • Binary Search
    Binary Search
    Median of two sorted arrays class Solution { public double findMedianSortedArrays(int[] nums1, int[] nums2) { //merge these two arrays and find the median of the newly sorted array int arr[] = new int[nums1.length + nums2.length
    javaTutorial 971 2024-07-24 10:46:41
  • Understanding the Factory Method Design Pattern
    Understanding the Factory Method Design Pattern
    Understanding the Factory Method Design Pattern Problem The Factory Method pattern addresses the need to create objects without specifying the exact class of object that will be created. This is useful when you have multiple subclass
    javaTutorial 677 2024-07-23 17:37:20
  • Understanding the Singleton Design Pattern
    Understanding the Singleton Design Pattern
    Problem The Singleton pattern addresses two primary problems simultaneously, which can lead to violating the Single Responsibility Principle: Single Instance Requirement: Sometimes, you need to ensure that a class has only one instance. Thi
    javaTutorial 1138 2024-07-23 13:32:23
  • Asynchronous Non-Blocking REST API Using Java and its impact in Financial Services
    Asynchronous Non-Blocking REST API Using Java and its impact in Financial Services
    In the realm of financial services, handling large traffic, ensuring high performance, and maintaining application responsiveness are critical. Implementing an asynchronous non-blocking REST API using Java can achieve these objectives, enabling finan
    javaTutorial 811 2024-07-23 13:00:24
  • Sort the given LinkedList
    Sort the given LinkedList
    problem note: the sort() method can be used to merge to sorted linked list /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode() {} * ListNode(int val) { this.val = val; } * ListNode(int
    javaTutorial 435 2024-07-23 12:43:43
  • Exploring Java Agent Programming
    Exploring Java Agent Programming
    Java Agent Programming is a powerful feature that allows developers to instrument Java bytecode at runtime. This capability is incredibly useful for profiling, monitoring, logging, and many other advanced functionalities that require altering the beh
    javaTutorial 1091 2024-07-23 12:38:50
  • Data API for Amazon Aurora Serverless vith AWS SDK for Java - Part omparing cold and warm starts: Data API vs DynamoDB
    Data API for Amazon Aurora Serverless vith AWS SDK for Java - Part omparing cold and warm starts: Data API vs DynamoDB
    Introduction In the part 7 of the series Data API for Amazon Aurora Serverless v2 with AWS SDK for Java - Data API meets SnapStart we measured the cold and warm start times of the Lambda function connecting to the Amazon Aurora Serverless v2 Po
    javaTutorial 958 2024-07-23 11:17:43
  • Finding the Median of Two Sorted Arrays in Java
    Finding the Median of Two Sorted Arrays in Java
    JAVA Tutorial Java File Introduction The problem of finding the median of two sorted arrays is a classic coding interview question. The challenge is to find the median efficiently, with a time complexity of O(log(min(m, n))), where m and n
    javaTutorial 1035 2024-07-22 17:46:23
  • Level up your Karate Testing with Spring Boot DI
    Level up your Karate Testing with Spring Boot DI
    For a few years I've used Cucumber for higher level testing, and only more recently started using Karate. While Cucumber is a great tool, I think Karate really shines in reducing the boilerplate that comes along with step definitions and making it ea
    javaTutorial 558 2024-07-22 16:44:47
  • Pokemon Battle Simulator/Showdown Clone Devlog#0
    Pokemon Battle Simulator/Showdown Clone Devlog#0
    Intro This is a random devlog that I use to keep track of random things, and also as a time capsule for idk The project is, as the title suggests, is a Pokemon Battle Simulator written in Java. It will be an offline one, only using AI as th
    javaTutorial 541 2024-07-22 16:36:33
  • Tips for Using Java Streams for File Input/Output
    Tips for Using Java Streams for File Input/Output
    What is Java Input/Output? Java Input/Output (I/O) is used to process input and generate output in the form of files. Java uses the concept of streams, which allows for fast I/O operations. With the java.io package, all input and output operations c
    javaTutorial 856 2024-07-21 15:06:38
  • Odd-even LinkedList
    Odd-even LinkedList
    Problem We have to keep index i tracking the node values if i is odd then put them in a different say odd, else put them in a list say even. At the end connect the last node of the odd list to head of even list /** * Definition for singly-linked
    javaTutorial 1056 2024-07-21 12:18:09
  • Intersection of two LinkedLists
    Intersection of two LinkedLists
    Problem Brute force approach: Time complexity: O(N+M) where N and M are length of two LinkedLists given. Intuition Find length of both the nodes and get the length difference Travel ahead in the longest list by length differe
    javaTutorial 778 2024-07-21 08:54:58
  • Interview questions for a java developer with ear of experience
    Interview questions for a java developer with ear of experience
    Here are some relevant interview questions for a java developer with 3 year of experience. Technical Skills: Can you describe your experience with Java, particularly in developing with Spring Boot and Kafka? How have you used RESTful APIs in your
    javaTutorial 772 2024-07-21 01:15:11
  • Introduction to Classes, Objects and Methods
    Introduction to Classes, Objects and Methods
    Essence of Java: Class is the basis of object-oriented programming in Java. Class Definition: Defines the nature of an object, including data and methods. Importance of Classes: Understanding classes, objects and methods is crucial to writing pr
    javaTutorial 334 2024-07-20 09:21:29

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!