java


How can i to make anagram program using two character Arraylists?


this is the Code i have, what should i do ?
It's not even a String. it use Arraylist.
import java.util.ArrayList;
import java.util.Collections;
public class ArrayCheck {
public boolean isAnagram(ArrayList<Character> arr1, ArrayList<Character> arr2) {
}
}
Ok. I got the impression that you are kind of lost. Hence to get you started here how you may approach your task:
define a dictionary containing all words you will accept.
make sure the newly created string (in your case I guess arr2) is composed of the same characters as the original word (in your case I guess arr1)
if your validation succeeds, lookup the newly created string in your dictionary and if it exists, it is an anagram. Otherwise it is not.

Related Links

Change constructor arguments runtime
How recognized its Custom exception or Predefined Exception? In Java
how will I erase or to make the border invisible of the cell that I completed using table.completeRow()
Using onDraw(Canvas) in GLSurfaceView
Decrypt a video and play parallelly
NoClassDefFoundError: Failed resolution of: Lokhttp3/internal/Platform
Print all the integers from 1 to 10^n that has the unique digits in it
N-Queen Backtracking
How can I make a list of steps not repeat in a recursive method?
How to remove and print every item in an IntStack object until it is empty?
SonarLint is unable to analyze file (Null Pointer Exception) with StringBuffer
.NET Reverse Proxy Server the Right Solution?
I want my Java program to play a song?
Accessing adress,states from longitude amd lattitude with google API
Optimization of deletion nodes in 2-d array
How to make an Application for Google TV remote in Android Programming?

Categories

HOME
testing
deezer
plone
react-router
webstorm
kalman-filter
adb
jira
disassembler
enterprise-library-5
uber-api
upload
tomcat6
usergrid
event-handling
ups
circuit
carthage
jsprit
iolanguage
ghc
after-effects
jtextfield
object-detection
graphicsmagick
one-to-many
uninstall
fgetcsv
replaceall
msys2
subdomains
google-cloud-nl
delicious-api
skia
ioio
create-table
fog
winrt-xaml-toolkit
catch-all
perlin-noise
hybridauth
cloud-code
serve
multilingual
libvpx
unspecified
galen
reportingservices-2005
total-commander
babel-core
wso2carbon
font-size
akka-cluster
query-performance
pintos
instant
azure-sdk
sts-springsourcetoolsuite
fody
underscore.js-templating
django-debug-toolbar
firebaseui
fputcsv
ubuntu-10.04
yaws
design-by-contract
netmq
maven-tomcat-plugin
ora-00900
atk4
iis-arr
drawbitmap
p2
c++03
nsmutabledictionary
formatjs
android-nested-fragment
wordpress-theme-customize
markers
system.net.webexception
bundles
industrial
c18
xsockets.net
ora-00911
rabl
plasma
sabredav
enterprisedb
robotics-studio
hamiltonian-cycle
pysimplesoap
dsn
qtkit
buildr
pydot
gcj
hamachi
imac
google-friend-connect
sudzc
user-friendly
backcolor
uimenucontroller
swing-app-framework
mdac

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App