Sarthak Kulkarnicombustrrr.hashnode.dev·Dec 1, 2024Solving the 'Amazing Subarrays' Problem in JavaProblem: Count substrings starting with a vowel in a given string, modulo 10003. Solution: public class Solution { public int solve(String A) { int count = 0; char vowels[] = {'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'}; ...DiscussEdge Case Handling
Sarthak Kulkarnicombustrrr.hashnode.dev·Dec 1, 2024Solving String Permutation Problems in JavaQuestion: Given two strings A and B, check if they can be rearranged to match (i.e., check if they are permutations of each other). Solution: import java.util.Arrays; public class Solution { public int permuteStrings(String A, String B) { ...DiscussAlgorithm Solutions
Bittu Sharmabittublog.hashnode.dev·Nov 25, 2024The Beginner's Guide to Maven: Learn and ImplementMaven is a powerful build automation and dependency management tool used primarily for Java projects, although it can be used for projects in other programming languages as well. It provides a comprehensive set of features to help manage the software...Discussmaven
TechEazy Consultingblog.techeazyconsulting.com·Nov 16, 2024🚗 Understanding Classes & Objects in Java: A Drive Through the Basics 🚗Programming can sometimes feel abstract, but with the right analogy, it all clicks! One of the most fundamental concepts in Java is classes and objects, and here’s a relatable way to think about it: cars. 🛠 What’s a Class? Imagine a class as a blue...DiscussJava Interview Focused SeriesJava Programming
Ganesh NethulaforCode With Ganeshcodewithganesh.hashnode.dev·Nov 14, 2024Comprehensive List of String Programming QuestionsWrite a program that checks if a given string is a palindrome. Ignore case and spaces. For example, "A man a plan a canal Panama" should return true Write a program that finds the most frequently occurring character in a string. Ex: in "programming"...DiscussCore JavaJava string manipulation
Vaishnavi Dwivedivaishd.hashnode.dev·Nov 11, 2024Patterns unravelledCode this pattern. This is a question I have never heard in any of my interviews, but it is the starting point of DSA. Why? The main reason is that it helps us better understand loops and conditions. Without this, we can't build optimal logic or unde...DiscussLearn DSA - JAVACodingPatterns
Gowtham Muthuvelgowthammuthuvel.hashnode.dev·Nov 10, 2024Mastering Concurrency in Java: From Traditional Multithreading to Virtual ThreadsJava has long been a preferred language for building high-performance applications, thanks in part to its powerful concurrency capabilities. As demands for responsiveness and scalability grow, understanding Java’s concurrency model especially with th...Discuss·32 readsJava
Bhadreshkumar Ghevariyablog.bhadreshghevariya.com·Nov 10, 2024I wrote the first leetcode program after a Year and made simple mistakes.Today, I tried to use my problem-solving muscle and tried solving easy-level problems on leetcode. At first, this problem looked very easy to me, So I noted down important pieces of information and started to solve the problem on paper. Still, I took...Discuss·1 likeFirst leetcode
Dilip Pateljavamastery.hashnode.dev·Nov 5, 2024Java ConcurrencyJava Threads Introduction Concurrency vs. Parallelism Processes and Threads Thread Management Creating and Starting Java Threads Pausing a Thread Joining a Thread Interrupting a Thread Java Virtual Threads Thread Safety Race Conditions an...DiscussJava ConcurrencyJava
Sanjeet Singhtechnologs.hashnode.dev·Oct 19, 2024Java-Based Big Data Processing: A Comprehensive GuideIntroduction Java, a versatile and widely used programming language, has found its place in the realm of big data processing. Its robust ecosystem, abundant libraries, and strong performance make it a compelling choice for handling massive datasets. ...DiscussJavaScript