zeta logo
Zeta· SDE 1 Java Developer

Zeta | SDE 1 | Java Developer

Experience
1.1 years
Posted
12 Jun 2025
273 reads

Summary

I interviewed for an SDE 1 Java Developer role at Zeta, which involved two rounds focusing on data structures & algorithms, OOPs, system fundamentals, and behavioral questions. Despite solving specific problems, I was ultimately rejected.

How it went

Current Experience: 1.10 Years
College: Tier-2
Previous Organization: One of the MNCs

HR contact with me through naukri protal.

1st round:

1st question -
You are given an integer array. You have to find the length of the valley for each element.
Vally is defined as, Let i be the current index and l is the leftmost index, r is the rightmost index satisflying property a[l]>a[l+1]>…>a[i]..<a[r-1]<a[r], then length is (r-l+1) is the length of the valley.
Example,
A : [7,2,1,5,7,9]
Answer : [1,2,6,3,2,1]

2nd question -
Given two strings s1 and s2 such that S1<S2. Both strings length are equals. Find the total number of lexicographic strings between S1 and S2.
S1 = ACX
S2 = ADB

2nd round:
Past project discussion (all api's, database table, sql query etc)

car - maruti, toyota, bmw
engine - 1, 2,4
How to implement it using OOP's

Solid principles
Tcp, udp
Http, https
CAP theorem

Behavioral questions

Verdict: rejected.

Questions asked (3)

  1. 01

    Length of Valley for Each Element in Array

    Data Structures & Algorithms

    You are given an integer array. You have to find the length of the valley for each element. Vally is defined as, Let i be the current index and l is the leftmost index, r is the rightmost index satisflying property a[l]>a[l+1]>...>a[i]..<a[r-1]<a[r], then length is (r-l+1) is the length of the valley. Example, A : [7,2,1,5,7,9] Answer : [1,2,6,3,2,1]

  2. 02

    Count Lexicographic Strings Between Two Given Strings

    Data Structures & Algorithms

    Given two strings s1 and s2 such that S1<S2. Both strings length are equals. Find the total number of lexicographic strings between S1 and S2. S1 = ACX S2 = ADB

  3. 03

    OOP Design for Car and Engine System

    System Design

    Given car types (maruti, toyota, bmw) and engine types (1, 2, 4), how would you implement this using Object-Oriented Programming principles?

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Zeta recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!