Velotio interview question

2 Easy-Medium DSA Questions :- 1)- Two Sum 2)- Search Minimum in a Rotated Sorted Array