Back to Browse

Place Positives at Even & Negatives at Odd | Simple Java Logic

48 views
Nov 27, 2025
6:38

Github repo link: https://github.com/Udaya-Krishna/zoho-interview-questions/tree/main/round-1/jul-7 Place positives at even indices and negatives at odd indices — without using Collections or ArrayList. Includes sorting, alternation logic, and leftover handling. What you’ll learn: ✔ Array manipulation ✔ Bubble sort ✔ Even/Odd index logic ✔ Handling unequal count of positives & negatives ✔ Clean Java code for interviews SEO tags: coin change problem java, minimum coins java, java greedy algorithm, placement coding questions, zoho coding round questions, tcs coding question, indian coin change problem, coin change greedy method, java coin change program, coding interview preparation, minimum coins problem explained, java array programs, campus placement preparation #codinginterviewquestions #zoho #zohojobs #zohointerview #freshers #fresherinterview #codinginterview #javatutorial #javacodinginterview Timestamps: 0:00 Problem statement 0:15 Explanation 1:12 Approach 1:25 Coding 4:54 Execution 6:18 Outro 👍 Like, Share & Subscribe for more coding interview questions! 💬 Comment your doubts or the next question you want me to solve

Download

0 formats

No download links available.

Place Positives at Even & Negatives at Odd | Simple Java Logic | NatokHD