Answer:
def isAnagram(s1, s2):
list1=s1
list2=s2
sortedlist1 = sorted(list1)
sortedlist2 = sorted(list2)
if sortedlist1 == sortedlist2:
print(list1+ " and "+list2+ " are anagram")
else:
print(list1+ " and "+list2+ " are not anagram")
Explanation:
Here is a call to the function isAnagram():
list1 =input("Enter String1 ")
list1 =input("Enter String2 ")
isAnagram(list1,list2)
Attached is the run and output for this program
A data structure called a binary search tree makes it simple to keep track of a sorted list of numbers.
<h3>What is a binary search tree?</h3>
A binary search tree, also known as an ordered binary tree or a sorted binary tree in computer science, is a rooted binary tree data structure where each internal node's key is higher than all the keys in its left subtree and less than all the keys in its right subtree.
A data structure called a binary search tree makes it simple to keep track of a sorted list of numbers. Because each tree node has a maximum of two offspring, it is known as a binary tree. It can be used to search for the presence of a number in O(log(n)) time.
A binary search tree (BST) is a specific type of binary tree in which every node has a comparable key and a connected or associated value.
To learn more about binary search trees refer to:
brainly.com/question/28295292
#SPJ4
Answer:
Router
Explanation:
Routers have something called a WAN link, which can be used to connect 2 local area networks
Similar data ...hope it helped
Answer:
B, Mini-ITX
Explanation:
According to my research on information technology and it's hardware, I can say that based on the information provided within the question the technician is most likely to use a Mini-ITX case. This is because an HTPC is a A Home Theater PC which does not need all the hardware that a regular PC needs, just the minimum specs, and these devices are usually hidden away in a drawer or behind the TV. Therefore he needs the smallest PC case which is a Mini-ITX.
I hope this answered your question. If you have any more questions feel free to ask away at Brainly.