It was an on-campus hiring event for the JIO Sparks Program’s Graduate Engineer Trainee (GET) Role. Pre-Placement discussions regarding the company and its requirements were followed by Round 1 of the Placement Drive. TIP: YOU CAN CONNECT WITH LINKDELIN : LINK Round 1: Aptitude exam : In JIO Spark, applicants who do not pass the aptitude test advance to
Problem StatementThis is another article in the series leetcode problem solutions and this article is a solution to leetcode 1 two sum problem. Once you have a good understanding of two sum problem, it should help you solve advanced level problems like three sum which in some ways a continuation of the two sum problem.
Given the root of a binary tree, return the level order traversal of its nodes’ values. (i.e., from left to right, level by level). Example 1: Input: root = [3,9,20,null,null,15,7] Output: [,[9,20],[15,7]] Example 2: Input: root =  Output: [] Example 3:
Given the head of a linked list, return the node where the cycle begins. If there is no cycle, return null. There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the next pointer. Internally, pos is used to denote the index of the node that tail’s next pointer is connected
Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node’s key. The right subtree of a node contains only nodes with keys greater than the node’s key. Both the left and right subtrees must also
Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums…nums[i]). Return the running sum of nums. Example 1: Input: nums = [1,2,3,4] Output: [1,3,6,10] Explanation: Running sum is obtained as follows: [1, 1+2, 1+2+3, 1+2+3+4]. Example 2: Input: nums = [1,1,1,1,1] Output: [1,2,3,4,5] Explanation: Running sum is obtained as follows: [1, 1+1,
What is the difference between inner and outer join? Explain with example. Inner Join Inner join is the most common type of Join which is used to combine the rows from two tables and create a result set containing only such records that are present in both the tables based on the joining condition (predicate).
To find GCD of two numbers To find the lcm of two numbers To find the Factorial of a non negative number To find the area of a circle (area=3.14rr), when diameter is given. To find the area of triangle when base and height is given. To print the Fibonacci series.Input=6 Output=1 1 2 3
1.The water from one outlet, flowing at a constant rate, can fill the swimming pool in 9 hours. The water from second outlet, flowing at a constant rate can fill up the same pool in approximately in 5 hours. If both the outlets are used at the same time, approximately what is the number of
All Company Wise Question Will be Available on Nileshblog.tech and Technilesh.com DIRECTIONS: Read the following given below and answer the questions that follow.i) Eleven students Anwar, Baham, Chetan, Dayal, Eshwar, Farooq, Gajendra, Hariom, Inayat,Jatin and Kishore are sitting on a bench in a lecture room facing towards the teacher.ii) Dayal is towards the left of
- Veritas (On Campus) Interview Experience -2022 | 2023
- Leet Code : Trapping Rain Water Solution Java | CPP | JS
- Leet Code : Validate Binary Search Tree Java | CPP | Python solution
- Leet Code : Maximum Score from Performing Multiplication Operations Cpp | Java | Python solution
- Leet Code : Three (3) Sum Java | CPP | Python Solution