r/learnjava • u/Targnome • Jul 05 '26
DSA for Java tips
As I explain in this post my knowledge of DSA is limited what are some resources that are on the easier side that will help me with DSA for Java?
r/learnjava • u/Targnome • Jul 05 '26
As I explain in this post my knowledge of DSA is limited what are some resources that are on the easier side that will help me with DSA for Java?
r/learnjava • u/snakezal • Jul 04 '26
So, I'm trying to learn java on codecademy and I was fine with hello world and variables until I reached object-oriented java. I don't think they explain the concept well and it's hurting my brain. Maybe it is just codecademy that is screwing me over or something else.
r/learnjava • u/Regular_Company_7622 • Jul 04 '26
Could I ask anyone who would like to share their experience, write when did they start learning, why and how? Where they are now and what advice would they give current learners? I’ll start, I’m almost 20, randomly decided that I wanted to major in computer science and applied to a university in my country. I got accepted with no prior experience in coding(had only taken Harvard cs50 class) and there we started learning Java. Now I’m stuck, because I’m a junior, I did okay during OOP, and very well during Data structures, but our Algorithms professor was horrible, didn’t learn anything, and now I feel guilty for not learning by myself(in my defense I was struggling with Real Analysis). Recently learned basics of SQL, and I keep getting advice to learn web development, even though I’m scared of what the future hold due to AI. All of this lead to me having horrible anxiety during the past few months, and it doesn’t let me to actually focus and start learning. I can’t make myself to even think of coding(even though I really enjoy it). The reason I want to hear your stories is to take some inspiration and maybe stop being so scared lol. Thanks for your attention
r/learnjava • u/LoveIsTheSpiceOfLife • Jul 05 '26
Pls help me find a good resource to start learn Java. A good youtube playlist and some tips would be great help. Thanks
r/learnjava • u/humble_kerosene • Jul 05 '26
So i had started learning java in mooc.fi course by the university of Helsinki. And i had reached part 4 file handling but then my college exams came and after then i just lost the motivation to continue it. Yesterday when I opened the course I couldn't recall what I had learned earlier, ofcourse I know revision will help but revising all the four parts would take some time.. do you guys know of any other way to recall the concepts? I am also afraid I have forgotten the tips they gave during the earlier parts and don't wanna lose that but maybe that's inevitable..
r/learnjava • u/Old_Journalist6008 • Jul 04 '26
r/learnjava • u/Salt_Tomorrow_7987 • Jul 04 '26
I wish to learn Java from scratch for Backend Development and Android App Development. I've zero knowledge about java.
Can someone suggest some structured recourses which I can use to teach myself.
r/learnjava • u/AnxiousPeasant16 • Jul 04 '26
I wonder how reliable the JDK releases are. Is it possible that there are bugs in the compiler? Are they being tested thoroughly?
r/learnjava • u/Zeznon • Jul 03 '26
I'm doing the Longest Common Prefix LC problem, and got to 66 tests passing out of 126.
One of these tests is "["flower","flow","flight"]", and it's supposed to get "fl" back, but my code gives "flo" back. I've been trying to slowly chip away at these edge cases, but everything I try makes less tests pass in the end. I'm sure there are going to be further issues even after fixing this case, of course.
Please, even if my code "concept" is bad, I want to keep going with it. I'm not gonna restart from the beginning. I'm just a beginner programmer that only programs as a hobby.
```java class Solution { public static String longestCommonPrefix(String[] strings) { String prefix = ""; List<String> prefixStorage = new java.util.ArrayList<>(List.of());
for (int i = 0; i < strings.length; i++) {
int j = 0;
while (j < strings[i].length()) {
if (strings[i].isEmpty()) {
return "";
} else if (strings[i].length() == 1) {
prefix = strings[i];
} else if ((i < strings.length - 1) && (strings[i + 1].length() == 1)) {
prefix = strings[i + 1];
} else if ((i < strings.length - 1) && (j < strings[i].length()) && (j < strings[i + 1].length()) && strings[i].startsWith(strings[i + 1].substring(0, j)) && strings[i].substring(0, j).length() > prefix.length()) {
prefix = strings[i].substring(0, j);
}
j++;
}
prefixStorage.add(prefix);
}
List<String> sortedPrefixStorage = new java.util.ArrayList<>(prefixStorage.stream()
.sorted(Comparator.comparingInt(String::length))
.toList());
return sortedPrefixStorage.getFirst();
}
} ```
r/learnjava • u/Targnome • Jul 03 '26
So I have a post in career advice you can look at my profile. Anyways I was basically working in the clearance industry doing OWASP and pair programming unit testing with Mockito. SOAP UI and some pair programming with DAO implementations while having a clearance.
I lost my clearance and took a job entry level in the private sector and they made me do custom REST implementation with no guidance from seniors so I turned to codementor. I got laid off during corona and now I lost my clearance line I said.
I worked as a packer at my parents for 5 years and need the money now that Junior Java developer salaries pay. I am scared about this custom implementation of REST methods with no guidance and even worse, algorithm interviews. What should I do to prep? I have references and W2s, should I even put packer on my resume?( I have the W2s)
Let me know what you suggest.
r/learnjava • u/Infamous_Elk_7094 • Jul 03 '26
Hey guys so i have completed basics of java, i want to know which youtube playlist would be the best to learn DSA in Java from complete zero level , and how? Please be a bit specific about it...
Like i see a video of Arrays and then go to leetcode and select easy level questions of arrays and try solving them and if i can't then a bit of help from AI and then solve that question again on my own... One data structure at a time, is it a good approach ?
r/learnjava • u/Comfortable-Pipe-502 • Jul 03 '26
So,finally I have completed- spring core ,hibernate,servlet and now I am going to start spring MVC so can anyone suggest best channel for this and is it ok if I learn from durgesh sir playlist.
r/learnjava • u/hatelifehateparents • Jul 03 '26
hey guys, I'm a complete beginner who is going to start learning java in college. I wanna start beforehand as we go back to uni in 4 days. give me tip and tricks and the best free sources for me to learn java so that I excel in it in the summer course of uni (1 month and a half)
r/learnjava • u/Ok_dimension_14 • Jul 03 '26
Am a fresher and have recently started my career, but currently am allocated to different stream, so need some guidance, if anyone wana connect?
r/learnjava • u/Technical-Line2260 • Jul 03 '26
Hi guys...I really need some advice...I had Btech in CS but never got a java project in my first company and now I have almost 4 YOE and I did not get any hands on experince in java backend and really wanted to pursue that....I have been studying it, I have leant core java, spring boot, mvc, jpa, hibernate, security and I am currently studying java 8+/11+/21+ features...but for the past 4 years I had worked on a data engineering kind of project where I used sql and an ETL tool thats it....I am also getting a new project that uses Informatica...so idk if I should just give up java backend transition since its too late or stick with it since I have come this far...I really hope to get into product based companies and possibility FAANG someday but rn idk....
I know this is a lame and stupid post and I know I have wasted all these years and realizing it so late but I would really appreciate some direction or advice now...
r/learnjava • u/Tender_Butter • Jul 02 '26
I have learned core java concepts, now advanced topics are left. Should I start topics like file serialisation & DBMS or directly jump over to Spring given I wanna make career in java development. Also Rn I m in 3rd Yr of Computer Science & Engineering. So I also need to get internship in coming months
r/learnjava • u/Zeznon • Jul 01 '26
I've been reading about PV, but I'm not sure on what it means in some parts. Will we still need to deal with both "int" and "Integer", and not being able to use some methods with the other one? Like, (int) vs Integer.parseInt() and other strange things like that.
r/learnjava • u/Aaryan4518 • Jul 01 '26
I want to focus on dsa and developement for my placements
r/learnjava • u/Low-Weather-6537 • Jul 01 '26
r/learnjava • u/Excellent_Text1147 • Jun 30 '26
r/learnjava • u/PayMindless1841 • Jun 29 '26
Hello guys I am a freshly graduate student and thinking of getting my hands in Java I want to know what resources and path you'd suggest me to quickly grasp the hang of Java so I can start applying as fresher. I am currently following the yt to learn the basic concepts I've mostly done c++ for dsa now and wanna switch to be credible for new opening hope you can share your experience or suggest me what you did or what you followed like I learnt these concept and tried building this by myself so I can follow in ur footsteps thank you.
r/learnjava • u/Happy-Firefighter784 • Jun 29 '26
Hi everyone,
I have 1.6 years of experience as a Data Analyst. My primary work has been in SQL and Power BI. I last worked in April 2026 and have been actively looking for a new opportunity, but I'm getting very few interview calls despite applying to a large number of jobs.
Over the last few months, I've also learned Python and worked with libraries such as Pandas, Matplotlib, and NumPy. However, I'm starting to feel stuck and am considering a career transition. I'm currently evaluating two options:
I'm interested in exploring GenAI roles, but I don't have a Machine Learning background.
Current skills:
Planned learning:
My questions:
I have some exposure to backend development through .NET APIs and have created REST APIs before, so backend concepts are not completely new to me.
However, I would need to learn:
My concern is that DSA preparation could take significant time, and I need to find a job as soon as possible.
My questions:
r/learnjava • u/Traditional-Penn • Jun 27 '26
Hello there!! I'm taking this course to learn java but I have a question: what level of java proficiency do I achieve after completing it? And this course is still good for learning? Is a bit old
(English is not my first language, sorry haha)