current location:Home > Technical Articles > Java
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- 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 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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