Skip to content

Commit

Permalink
Add discriptive comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sangaryousmane committed Jun 14, 2023
1 parent 4bb84cd commit 33cf778
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/intermediate/Searching.java
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ public static int[] intersectionOfArrays(int[]nums1, int[]nums2){
return ans;
}

// This check if the target element is found in the array
private static boolean isFound(int[]nums, int target){
int start = 0, end = nums.length - 1;

Expand Down

0 comments on commit 33cf778

Please sign in to comment.