Add office photos
Employer?
Claim Account for FREE

Brillio

3.4
based on 941 Reviews
Filter interviews by

Gypr Interview Questions and Answers

Updated 9 Apr 2024
Popular Designations

Q1. Create table view for different profile and can have more then 60 column. How to implement dynamically

Ans.

Use dynamic SQL to create table view with more than 60 columns for different profiles

  • Use dynamic SQL to generate the CREATE VIEW statement based on the profile requirements

  • Iterate through the profile columns and add them to the CREATE VIEW statement dynamically

  • Consider using a loop or a mapping function to handle the large number of columns efficiently

Add your answer

Q2. Difference between with sharing, without sharing and inherited sharing.

Ans.

with sharing enforces sharing rules, without sharing doesn't enforce sharing rules, inherited sharing uses the sharing rules of the parent class

  • with sharing keyword enforces sharing rules specified in the organization-wide defaults

  • without sharing keyword doesn't enforce sharing rules, allowing access to all records

  • inherited sharing keyword uses the sharing rules of the parent class

Add your answer

Q3. How do you share record using owd

Ans.

Sharing records using Organization Wide Defaults (OWD) in Salesforce

  • Set OWD to Public Read Only to allow all users to view records but only the owner can edit

  • Set OWD to Private to restrict access to only the record owner and users above in the role hierarchy

  • Use Sharing Rules to extend access to specific groups of users

  • Use Manual Sharing to grant access to individual users or groups on a case-by-case basis

Add your answer

Q4. Update account with count of contact.

Ans.

Update account with count of contact involves updating the account with the number of contacts associated with it.

  • Create a function to update the account with the count of contacts

  • Retrieve the contacts associated with the account

  • Calculate the count of contacts

  • Update the account with the count of contacts

Add your answer
Discover Gypr interview dos and don'ts from real experiences

Q5. How to handle recursion

Ans.

Recursion is a programming technique where a function calls itself in order to solve a problem.

  • Identify the base case to stop the recursion

  • Ensure the recursive call moves towards the base case

  • Optimize recursion by using memoization or tail recursion

  • Examples: factorial calculation, Fibonacci sequence

Add your answer

Q6. Explain async process in Salesforce

Ans.

Async process in Salesforce allows for executing tasks in the background without blocking the main thread.

  • Async processes in Salesforce are used to perform time-consuming operations without affecting the user experience.

  • Apex provides @future annotation for asynchronous processing.

  • Batch Apex is used for processing large data sets asynchronously.

  • Queueable Apex allows chaining of asynchronous jobs.

  • Platform Events can be used for real-time asynchronous processing.

Add your answer

Q7. Find duplicate character and count of given string

Ans.

Find duplicate characters and their count in a given string.

  • Create an empty dictionary to store character count

  • Iterate through the string and add characters to the dictionary

  • If character already exists in the dictionary, increment its count

  • Return the dictionary with character count

Add your answer

Q8. Integer array sort without Arrays methods

Ans.

Sorting an integer array without using built-in array methods.

  • Implement a sorting algorithm such as bubble sort, insertion sort, or selection sort.

  • Loop through the array and compare adjacent elements to swap them if necessary.

  • Repeat the loop until the array is sorted in ascending or descending order.

Add your answer

Q9. Different trigger pattern

Ans.

Different trigger patterns are used in software development to initiate actions based on specific events.

  • Triggers can be based on time, user input, system events, etc.

  • Examples include event-driven programming, polling triggers, and scheduled triggers.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Gypr

based on 4 interviews in the last 1 year
Interview experience
4.5
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

3.3
 • 35 Interview Questions
3.4
 • 21 Interview Questions
3.6
 • 17 Interview Questions
4.1
 • 17 Interview Questions
2.9
 • 13 Interview Questions
3.7
 • 11 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter