PICE interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

PICE
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
My journey began with a curiosity to explore technology and a determination to master it. I started with the basics, focusing on building strong foundations in programming and data structures. Over time, I delved into projects, like developing an e-commerce platform and an ed-tech solution, which allowed me to apply my learnings practically. Balancing my academics with internships at companies like Spyne and AlgoTutor, I gained real-world exposure to full-stack development, API integration, and scalable systems. Mentoring and teaching during my stint at Internshala further honed my skills and reinforced my understanding. While preparing for interviews, I dedicated myself to solving complex DSA problems, optimizing code, and refining my projects to showcase in interviews. The process wasn’t easy, but consistency and a growth mindset kept me going. Each step contributed to where I am today, and I believe persistence is the key to achieving any goal.
Application story
I came across a LinkedIn post about Pice hiring for an SDE-1 position. I emailed the HR department my resume, expressing my interest in joining the organization. In the email, I highlighted how my skills and experience align with their requirements and how I could contribute to the organization's growth.
Why selected/rejected for the role?
I was rejected after a long waiting period, as parallel interviews were ongoing. The organization seemed uncertain about cancelling my candidature for the role, which added to the delay in communication.
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, OOPS, System Design, DBMS, SQL, Low-Level Design, Dynamic Programming, Recursion, Problem Solving
Tip
Tip

Tip 1: Must solve standard DSA
Tip 2: Minimum of 2 good projects on your resume
Tip 3: Solve LLDs for the system design round

Application process
Where: Campus
Eligibility: NA, (Salary package: 12 LPA)
Resume Tip
Resume tip

Tip 1: 0+ years of Experience
Tip 2: Impactable Work and Technology Independent

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date29 Oct 2024
Coding problem2

The round focused on Data Structures and Algorithms. It was conducted in the evening, from 5 to 6 PM. Strong DSA skills are essential, as the questions were challenging despite being based on simple topics. The environment was professional, and the interviewer maintained a focused and engaging approach.

1. Remove K Digits

Moderate
25m average time
75% success
0/80
Asked in companies
SprinklrAdobeMakeMyTrip

Given a string `num` representing a non-negative integer and an integer `k`, remove `k` digits from `num` to create the smallest possible integer.  

The resulting number should not have leading zeroes. If the resulting number is empty, return `"0"`.  

**Examples:**  
1. **Input:**  
  `num = "1432219", k = 3`  
  **Output:**  
  `"1219"`  
  **Explanation:**  
  Remove the digits `4`, `3`, and `2` to form the new number `1219`, which is the smallest.  

2. **Input:**  
  `num = "10200", k = 1`  
  **Output:**  
  `"200"`  
  **Explanation:**  
  Remove the leading `1`. The result must not contain leading zeroes.  

3. **Input:**  
  `num = "10", k = 2`  
  **Output:**  
  `"0"`  
  **Explanation:**  
  Remove all digits, leaving no number. Hence, the result is `"0"`.

Problem approach

A stack is employed to facilitate the greedy decision-making process:
We traverse each digit of num and compare it with the top of the stack (the most recent digit we've chosen to keep).
If the current digit is smaller than the top of the stack and we still have removals (k > 0) remaining, we pop digits from the stack until a suitable position for the current digit is found.
This stack-based approach allows us to maintain the order of digits while dynamically removing larger, less significant digits to form the smallest possible number.

Try solving now

2. Wiggle Sort

Moderate
0/80
Asked in companies
FacebookPICE

Given an integer array nums, reorder it such that nums[0] < nums[1] > nums[2] < nums[3]....

You may assume the input array always has a valid answer.

Example 1:

Input: nums = [1,5,1,1,6,4]
Output: [1,6,1,5,1,4]
Explanation: [1,4,1,5,1,6] is also accepted.
Example 2:

Input: nums = [1,3,2,2,3,1]
Output: [2,3,1,3,1,2]

Problem approach

By sorting the array, we can easily place smaller numbers in the even positions and larger numbers in the odd positions. This ensures that the wiggle property is satisfied: numbers at odd positions are greater than their neighbors and numbers at even positions are smaller. The key is to rearrange the array by alternating between the two halves of the sorted array.

Try solving now
02
Round
Medium
Video Call
Duration45 minutes
Interview date4 Nov 2024
Coding problem1

This round was entirely focused on Low-Level Design (LLD) and System Design, emphasizing problem-solving and designing scalable systems. It was conducted by a CTO-level person from the company. The timing was in the evening slot, between 4-8 PM. The environment was professional and engaging, with a strong focus on understanding design principles and thought processes.

1. LLD

Design the Low Level Design for URL Shortening.

Problem approach

Tip 1: Be prepared to handle synchronous calls effectively in your design. 
Tip 2: Focus on optimizing memory usage while implementing the solution. 
Tip 3: Ensure efficient caching mechanisms and avoid generating new URLs for already shortened ones.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
960 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes