What is the time complexity of get and put operations when HashMap has String as both key and value.
HashMap<String, String> map = new HashMap<>();
Can anyone help me out with this. Thanks in advance.