LearnYard - Free Programming & DSA Blogs | Read, Code, Excel
  • C++ Course
  • DSA Course
  • Online Assessment DSA Questions
  • DSA for Frontend Interview
  • Frontend Interview Experience
  • Low Level Design
  • High Level Design
  • Java Course
  • About
  • Feedback
Sign in Subscribe

Nancy

Arrays: Practice Problems IV

Hey! So, we have finally reached to the last article of arrays practice. Excited about the same? Let's conquer it together! Problem 1: Write a java program to merge two sorted array to third array. Input Array 1: 1, 4, 6, 9, 15 Array 2: 2, 5, 8,
04 Feb 2024 7 min read

Arrays: Practice Problems III

Time for taking it to the next level! Problem1: Write a java program to insert an element in an array. Note: Position provided in the input is 1-indexed. Input Number of elements: 5 Elements: 10 20 30 40 50 Element to be added: 25 Position where to insert: 3 Output
28 Jan 2024 5 min read

Arrays: Practice Problems II

What's up, buddies? Feeling confident with the knowledge of arrays you have gained! So, it's time for some warm-up. Program1: Write a java program to print all negative elements in an array. Input 10 -1 -10 100 5 61 -2 -23 8 -90 51 Output -1
25 Jan 2024 4 min read
Page 1 of 1
LearnYard - Free Programming & DSA Blogs | Read, Code, Excel © 2026
Powered by Ghost