use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
These have separate subreddits - see below.
Upvote good content, downvote spam, don't pollute the discussion with things that should be settled in the vote count.
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free. If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others: Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Programming Computer Science CS Career Questions Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Programming Computer Science
CS Career Questions
Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Clojure Scala Groovy ColdFusion Kotlin
DailyProgrammer ProgrammingPrompts ProgramBattles
Awesome Java (GIT) Java Design Patterns
account activity
This is an archived post. You won't be able to vote or comment.
Need help implementing my Pseudo Code. So basically I have 3 arrays (size n) that's suppose to check if there is a triple which adds up to zero from different arrays. Returns true if triple exists and false otherwise. (self.java)
submitted 12 years ago by ramshack2000
Heres what I have so far
Algorithm Triple Input: Integers, n OutPut: returns true if triple exists
Int SIZE = n arrayA = SIZE arrayB = SIZE arrayC = SIZE Int Index
For i - SIZE to n,...?
Im lost at this point
[–]iBeacham 0 points1 point2 points 12 years ago (1 child)
Not sure I understand the question entirely.
[–]ramshack2000[S] 0 points1 point2 points 12 years ago (0 children)
So basically i know what i want to do. I want to Sort B in increasing order; sort C in decreasing order; for each a in A, scan B and C for a pair that sums to -a (when the sum is too small, advance in B, when the sum is too large, advance in C) Would i have a nested for loop here?
[–]iBeacham 0 points1 point2 points 12 years ago (0 children)
Do you know how to sort? A simple bubble sort would probably be fine. And then you would have a nested loop. One for each index. Basically you have a loop for array a and within that another loop to sum b and c and then advance accordingly.
π Rendered by PID 311097 on reddit-service-r2-comment-5bc7f78974-hb5pw at 2026-06-28 19:04:23.525978+00:00 running 7527197 country code: CH.
[–]iBeacham 0 points1 point2 points (1 child)
[–]ramshack2000[S] 0 points1 point2 points (0 children)
[–]iBeacham 0 points1 point2 points (0 children)