Amazon Interview Question

1. Coding and DSA: Write a function to reverse a linked list. Find the first non-repeating character in a string. Merge two sorted arrays without using extra space. Detect a cycle in a linked list. 2. Testing Scenarios and Automation: How would you design a test automation framework for a web application? Write a script to scrape data from a web page. Explain the test cases for an online payment gateway. How would you test the search functionality on Amazon’s website?