Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
Array elements that appear more than once
Given an integer array, print all repeating elements (Elements that appear more than once) in the array. The output should contain elements according to their first occurr...
Read More
Arrays
DSA
Edit distance and LCS (Longest Common Subsequence)
In standard Edit Distance where we are allowed 3 operations, insert, delete, and replace. Consider a variation of edit distance where we are allowed only two operations in...
Read More
Strings
DSA
Visa Interview Experience
First Round - Online Coding: This was an online round comprises of 4 coding questions, hosted on HackerRank. The maximum time allowed was 75 minutes.Around 1400 students f...
Read More
Interview Experiences
Experiences
How does a vector work in C++?
A Vectors in C++ can resize itself when more elements are added. It also allows deletion of elements.Below is a very basic idea when array becomes full and user wishes to ...
Read More
Misc
Goldman Sachs Interview Experience | Set 49
Content Removed...
Read More
Interview Experiences
Experiences
Salesforce Interview Experience | On-Campus
Salesforce, Hyderabad recently visited our campus for interns and FTEs. The process was quite similar for both the roles. I appeared for FTE role.Round 1: Online Round (Ho...
Read More
Interview Experiences
Experiences
Binary Search in Java
Binary search is one of the searching techniques applied when the input is sorted here we are focusing on finding the middle element that acts as a reference frame whether...
Read More
Java
Binary Search
Flipkart On-Campus Recruitment
Round 1:It was a online coding round on Hackerrank, there were three questions :1. balancing bracket problem in which you have to check whether the give string of bracket ...
Read More
Interview Experiences
Experiences
JP Morgan Chase & Co. (JPMC) Interview Experience | Set 7 (On campus for internship)
Round 1:Two programming questions, one of 40 marks and the other of 60 marks on Hackerrank- Given n sentences and q queries, for each query print the number of sente...
Read More
Interview Experiences
Experiences
Kth largest element after every insertion
Given an infinite stream of integers, find the k’th largest element at any point of time. It may be assumed that 1 = k = n.Input:stream[] = {10, 20, 11, 70, 50, 40, 100, 5...
Read More
Arrays
Heap
priority-queue
cpp-priority-queue
DSA
Longest Common Subsequence | DP using Memoization
Given two strings s1 and s2, the task is to find the length of the longest common subsequence present in both of them.Examples:Input: s1 = “ABCDGH”, s2 = “AEDFHR”Output: 3...
Read More
Strings
Dynamic Programming
LCS
Memoization
DSA
Goldman Sachs Interview Experience | Set 48
Round 1: First round consisted of an online test comprising of 10 questions. First 9 of them were MCQs (mostly based on calculating time complexity, general aptitude and d...
Read More
Interview Experiences
Experiences
Nokia Interview Experience | Set 5
Nokia interviewFirst round: Based on AMCATAfter cleared first round, we got a mail, even I got short listed for the second round.first round was held in college through w...
Read More
Interview Experiences
Computer Networks
Operating Systems
Experiences
Check if a given graph is Bipartite using DFS
Given a connected graph, check if the graph is bipartite or not. A bipartite graph is possible if the graph coloring is possible using two colors such that vertices in a s...
Read More
Graph
DFS
cpp-vector
C++
DSA
Why strcpy and strncpy are not safe to use?
strcpy() functionThe strcpy() function is used to copy the source string to destination string. If the buffer size of dest string is more than src string, then copy the sr...
Read More
C Language
C Programs
1
...
10974
10975
10976
...
11465