Check if the current list data item is equal to the search value, Move to the next item in the list, Display where the search value is found, Set the index of the list to the first item, Initialise the Boolean variable that tells us if the search value has been found, Create a list, Display that the search value was not found, Find the length of the list of data

Linear Search - explain the code

ลีดเดอร์บอร์ด

ขณะนี้เรากําลังดําเนินการปรับปรุงฟังก์ชันการกระดานผู้นํา โปรดช่วยเราด้วยการเสนอข้อเสนอแนะของคุณ

ให้คําติชม

สไตล์ภาพ

ตัวเลือก

ขณะนี้เรากําลังปรับปรุงการตั้งค่ากิจกรรมโปรดช่วยเราโดยให้ข้อเสนอแนะของคุณ

ให้คําติชม

สลับแม่แบบ

คืนค่าการบันทึกอัตโนมัติ: ใช่ไหม