Click here to Skip to main content
15,882,376 members
Home / Discussions / Java
   

Java

 
QuestionHash Table implementation Pin
Member 156289598-May-22 18:52
Member 156289598-May-22 18:52 
AnswerRe: Hash Table implementation Pin
Richard Deeming8-May-22 21:27
mveRichard Deeming8-May-22 21:27 
AnswerRe: Hash Table implementation Pin
Richard MacCutchan8-May-22 21:43
mveRichard MacCutchan8-May-22 21:43 
QuestionHi guys my code is not compiling as its showing cannot find symbol please help Pin
Member 1561125322-Apr-22 4:48
Member 1561125322-Apr-22 4:48 
AnswerRe: Hi guys my code is not compiling as its showing cannot find symbol please help Pin
Dave Kreskowiak22-Apr-22 4:53
mveDave Kreskowiak22-Apr-22 4:53 
AnswerRe: Hi guys my code is not compiling as its showing cannot find symbol please help Pin
zemiak1231-May-22 13:06
zemiak1231-May-22 13:06 
QuestionDevelopment of Wiki functionality in JSF project Pin
Dev Learning22-Apr-22 2:25
Dev Learning22-Apr-22 2:25 
QuestionRelated to resolve my error(Rearranging an array) Pin
Prateek Bajpai10-Apr-22 4:49
Prateek Bajpai10-Apr-22 4:49 
This is Parteek Bajpai, BE COMP student of Bharati Vidyapeeth College of Engineering, Lavale, Pune. I am here to post my problem so that anyone can resolve my problem.

import java.util.ArrayList;
import java.util.List;
public class Solution {
public static int first(List<integer> arr, int low, int high, int x, int n){
if(high >= low){
int mid = low+(high+low)/2;

if(mid == 0 || x>arr.get(mid-1) && arr.get(mid) == x){
return mid;
}
if(x > arr.get(mid)){
return first(arr, (mid+1), high, x, n);
}
else{
return first(arr, low, (mid-1), x, n);
}
}
return -1;
}
public static List<integer> relativeSorting(List<integer> arr, List<integer> brr, int n, int m) {
// Write your code here
List<integer> temp = new ArrayList<integer>(m);
List<integer> visited = new ArrayList<integer>(m);
for(int i=0; i
AnswerRe: Related to resolve my error(Rearranging an array) Pin
Richard MacCutchan10-Apr-22 5:53
mveRichard MacCutchan10-Apr-22 5:53 
QuestionHOW TO USE JTABLE TO DISPLAY ALL RECORDS DATA FROM DATABASE USING JDBC Pin
Member 1558267928-Mar-22 21:48
Member 1558267928-Mar-22 21:48 
AnswerRe: HOW TO USE JTABLE TO DISPLAY ALL RECORDS DATA FROM DATABASE USING JDBC Pin
Richard MacCutchan29-Mar-22 1:31
mveRichard MacCutchan29-Mar-22 1:31 
GeneralRe: HOW TO USE JTABLE TO DISPLAY ALL RECORDS DATA FROM DATABASE USING JDBC Pin
Member 155826795-Apr-22 21:49
Member 155826795-Apr-22 21:49 
QuestionWhiteSpace Character Pin
Sudhanshu_India5-Mar-22 23:26
Sudhanshu_India5-Mar-22 23:26 
AnswerRe: WhiteSpace Character Pin
Richard MacCutchan6-Mar-22 1:22
mveRichard MacCutchan6-Mar-22 1:22 
GeneralRe: WhiteSpace Character Pin
Sudhanshu_India7-Mar-22 15:04
Sudhanshu_India7-Mar-22 15:04 
GeneralRe: WhiteSpace Character Pin
Victor Nijegorodov7-Mar-22 20:12
Victor Nijegorodov7-Mar-22 20:12 
GeneralRe: WhiteSpace Character Pin
Richard MacCutchan7-Mar-22 21:16
mveRichard MacCutchan7-Mar-22 21:16 
GeneralRe: WhiteSpace Character Pin
Sudhanshu_India8-Mar-22 3:45
Sudhanshu_India8-Mar-22 3:45 
GeneralRe: WhiteSpace Character Pin
Dave Kreskowiak8-Mar-22 4:47
mveDave Kreskowiak8-Mar-22 4:47 
GeneralRe: WhiteSpace Character Pin
Sudhanshu_India8-Mar-22 14:54
Sudhanshu_India8-Mar-22 14:54 
GeneralRe: WhiteSpace Character Pin
Victor Nijegorodov8-Mar-22 4:55
Victor Nijegorodov8-Mar-22 4:55 
GeneralRe: WhiteSpace Character Pin
Craig Robbins8-Mar-22 5:01
Craig Robbins8-Mar-22 5:01 
QuestionJava Pin
GJ AVAIYA5-Mar-22 7:51
GJ AVAIYA5-Mar-22 7:51 
AnswerRe: Java Pin
Dave Kreskowiak5-Mar-22 10:29
mveDave Kreskowiak5-Mar-22 10:29 
AnswerRe: Java Pin
Richard MacCutchan5-Mar-22 21:17
mveRichard MacCutchan5-Mar-22 21:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.