15,968,278 members
Home / Discussions / Java

# Java

 Re: Operator precedence jeron112-Jul-23 6:15 jeron1 12-Jul-23 6:15
 Re: Operator precedence Richard MacCutchan11-Jul-23 5:24 Richard MacCutchan 11-Jul-23 5:24
 Re: Operator precedence darek2902198812-Jul-23 5:46 darek29021988 12-Jul-23 5:46
 Re: Operator precedence Richard MacCutchan12-Jul-23 6:15 Richard MacCutchan 12-Jul-23 6:15
 Re: Operator precedence Andre Oosthuizen14-Jul-23 1:36 Andre Oosthuizen 14-Jul-23 1:36
 Re: Operator precedence Richard MacCutchan14-Jul-23 1:52 Richard MacCutchan 14-Jul-23 1:52
 Sign a PDF document in PAdeS format using a CNS (National Services Card) or a SmartCard. Antonio20238-Jul-23 19:45 Antonio2023 8-Jul-23 19:45
 Relative Sorting Harriet Muduwa26-Jun-23 6:42 Harriet Muduwa 26-Jun-23 6:42
 Relative Sorting Ramesh is given two arrays, arr1 and arr2. He wants to sort arr1 in such a way that the relative order of arr2 is maintained in arr1. For elements that are not present in arr2, he wants to add the these elements at the end of the array in sorted fashion. Can you help Ramesh achieve this task? Input Format First line contains two integers n and m denoting size of arrays arr1 and arr2 respectively. Second line contains n space separated integers denoting the array arr1. Third line contains m space separated integers denoting the array arr2. Output Format Print the relatively sorted arr1 Example 1 Input 11 4 2 1 2 5 7 1 9 3 6 8 8 2 1 8 3 Ramesh is given two arrays, arr1 and arr2. He wants to sort arr1 in such a way that the relative order of arr2 is maintained in arr1. For elements that are not present in arr2, he wants to add the these elements at the end of the array in sorted fashion. Can you help Ramesh achieve this task? Input Format First line contains two integers n and m denoting size of arrays arr1 and arr2 respectively. Second line contains n space separated integers denoting the array arr1. Third line contains m space separated integers denoting the array arr2. Output Format Print the relatively sorted arr1 Example 1 Input 11 4 2 1 2 5 7 1 9 3 6 8 8 2 1 8 3
 Re: Relative Sorting Pete O'Hanlon26-Jun-23 7:12 Pete O'Hanlon 26-Jun-23 7:12
 Re: Relative Sorting Victor Nijegorodov26-Jun-23 7:13 Victor Nijegorodov 26-Jun-23 7:13
 Re: Relative Sorting jimakoskx28-Jun-23 23:34 jimakoskx 28-Jun-23 23:34
 Re: Relative Sorting jimakoskx28-Jun-23 23:54 jimakoskx 28-Jun-23 23:54
 Given an array arr of size N. Member 1603793426-Jun-23 6:40 Member 16037934 26-Jun-23 6:40
 Re: Given an array arr of size N. Victor Nijegorodov26-Jun-23 7:12 Victor Nijegorodov 26-Jun-23 7:12
 Re: Given an array arr of size N. Richard MacCutchan26-Jun-23 8:18 Richard MacCutchan 26-Jun-23 8:18
 How to make "upload video" in web application ? Noor Fatima BSSE202111-Mar-23 6:39 Noor Fatima BSSE2021 11-Mar-23 6:39
 Re: How to make "upload video" in web application ? jschell27-Mar-23 7:08 jschell 27-Mar-23 7:08
 Client can't connect to server when client/server are different projects Valentinor17-Feb-23 20:50 Valentinor 17-Feb-23 20:50
 Re: Client can't connect to server when client/server are different projects Valentinor17-Feb-23 21:53 Valentinor 17-Feb-23 21:53
 Re: Client can't connect to server when client/server are different projects englebart26-Apr-23 16:14 englebart 26-Apr-23 16:14
 Re: Client can't connect to server when client/server are different projects Richard MacCutchan17-Feb-23 21:58 Richard MacCutchan 17-Feb-23 21:58
 Re: Client can't connect to server when client/server are different projects Valentinor17-Feb-23 22:13 Valentinor 17-Feb-23 22:13
 Re: Client can't connect to server when client/server are different projects Richard MacCutchan17-Feb-23 22:46 Richard MacCutchan 17-Feb-23 22:46
 Re: Client can't connect to server when client/server are different projects Valentinor17-Feb-23 23:05 Valentinor 17-Feb-23 23:05
 full answer with code pls Member 159126962-Feb-23 12:06 Member 15912696 2-Feb-23 12:06
 Last Visit: 31-Dec-99 18:00     Last Update: 14-Aug-24 18:54 Refresh ᐊ Prev1234567891011 Next ᐅ

General    News    Suggestion    Question    Bug    Answer    Joke    Praise    Rant    Admin

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