Given an array **A** of size **N**, your task is to do some operations, i.e., search an element, insert an element, and delete an element by completing the functions. Also, all functions should return a boolean value.

**Input Format:**

The first line of input consists of **T**, the number of test cases. T testcases follow. Each testcase contains 3 lines of input. The first line of every test case consists of an integer **N**, denotes the number of elements in an array. The second line of every test cases consists of **N** spaced integers **A _{i}**. The third line of every test case consists of four integers

**Output Format:**

For each testcase, return 1 for each operation if done successfully else 0.

**Your Task:**

Since this is a function problem, you only need to complete the provided functions.

**Constraints:**

1 <= T <= 100

1 <= N <= 100

1 <= A_{i} <= 100

**Example:
Input:**

1

5

2 4 1 0 6

1 2 2 0

1 1 1

Author: saksham seth

If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.

cs_abhi | 62 |

kya_bolti_public | 56 |

Shubhankar Sharma | 44 |

vermaankush14291 | 42 |

coderquill | 40 |

PiyushPandey4 | 856 |

john_wick | 757 |

ASWATHAMA | 565 |

akhyasharma01 | 547 |

UsfShilpa | 536 |

blackshadows | 5362 |

Ibrahim Nash | 5242 |

akhayrutdinov | 5111 |

mb1973 | 4929 |

Quandray | 4598 |

Login to report an issue on this page.