Take a Test

Adaptive quizzes to evaluate your skillset

Ask a Question

Enagage the community to ask and learn

Create a Collection

Archive content for future reference


223
views
0
votes
0
answers
Split the digits in a number
  • Created: 3 months ago
  • Tags: xya
2.44k
views
0
votes
2
answers
Find two elements from an array whose sum equals a given element
  • Created: 2 years ago
  • Tags: timecomplexity linearithmictime array
534
views
0
votes
0
answers
How many comparisons are required to find the maximum element in an integer array?
  • Created: 9 months ago
  • Tags: sorting numberofcomparisons noOfComparisons
538
views
1
votes
1
answer
Remove duplicate characters in a string
  • Created: 10 months ago
  • Tags: duplicate character string
982
views
0
votes
1
answer
Check whether an arithmetic expression has balanced parentheses
  • Created: 1 year ago
  • Tags: stack stackqueuelinkedlist
2.13k
views
0
votes
1
answer
Find next higher key in Binary Search Tree with parent pointer given
  • Created: 1 year ago
  • Tags: node binarysearchtree binarytree
897
views
0
votes
1
answer
Find next higher key in Binary Search Tree when the parent pointer is not given
  • Created: 1 year ago
  • Tags: node binarysearchtree binarytree
1.54k
views
0
votes
1
answer
Print Binary Tree level by level with new line
  • Created: 1 year ago
  • Tags: node queue root
1.14k
views
0
votes
1
answer
Print Binary Tree level by level
  • Created: 1 year ago
  • Tags: node queue root
686
views
0
votes
1
answer
Check whether a number is Ugly Number or not
  • Created: 1 year ago
  • Tags: uglynumber dynamicprogramming
1.15k
views
0
votes
1
answer
Find nth Ugly Number
  • Created: 1 year ago
  • Tags: uglynumber dynamicprogramming
537
views
0
votes
1
answer
2.84k
views
0
votes
1
answer
Divide the elements of an array into group of 3 or 7, instead of 5 in Deterministic Selection algorithm
  • Created: 2 years ago
  • Tags: timecomplexity deterministicselection sorting
2.58k
views
0
votes
1
answer
Find all subsets of a fixed size k of the set [1, 2, 3... n]
  • Created: 2 years ago
  • Tags: subset set general
709
views
0
votes
1
answer
Derive an algorithm from two given algorithms
  • Created: 2 years ago
  • Tags: timecomplexity general
544
views
0
votes
1
answer
Design a function in a sequence (part 2)
  • Created: 2 years ago
  • Tags: inversion remove general
577
views
0
votes
1
answer
Number of comparisons to search an element in a bitonic array
  • Created: 2 years ago
  • Tags: searching sortedarray array
1.03k
views
0
votes
1
answer
Number of comparisons in Nuts and bolts problem
  • Created: 2 years ago
  • Tags: sorting quicksort matching
1.27k
views
0
votes
1
answer
Remove duplicates in a sorted integer array
  • Created: 2 years ago
  • Tags: sortedarray array searching
1.22k
views
0
votes
1
answer
Remove duplicates in an integer array using additional data structure
  • Created: 2 years ago
  • Tags: timecomplexity array searching
763
views
5
votes
1
answer
780
views
0
votes
1
answer
618
views
0
votes
1
answer
Stack depth of the modified Quicksort algorithm
  • Created: 2 years ago
  • Tags: recursion array sorting
672
views
0
votes
1
answer
Sort the characters of a String
  • Created: 1 year ago
  • Tags: sorting character string
678
views
0
votes
1
answer
Find duplicates in a String
  • Created: 1 year ago
  • Tags: duplicate character string
223
views
0
votes
0
answers
Split the digits in a number
  • Created: 3 months ago
  • Tags: xya
534
views
0
votes
0
answers
How many comparisons are required to find the maximum element in an integer array?
  • Created: 9 months ago
  • Tags: sorting numberofcomparisons noOfComparisons
582
views
0
votes
0
answers
Find the missing number from a sorted list
  • Created: 1 year ago
  • Tags: sortedarray searching logarithmictime
638
views
0
votes
0
answers
Sort and merge two large data streams
  • Created: 1 year ago
  • Tags: mergesort sorting bigdata
555
views
0
votes
0
answers
Print the order of letters in sorting a list of sorted words
  • Created: 1 year ago
  • Tags: soting string
555
views
0
votes
0
answers
Longest subsequence with uniform frequency distributon
  • Created: 1 year ago
  • Tags: array searching
603
views
0
votes
0
answers
Find k^th largest element in a sorted matrix
  • Created: 1 year ago
  • Tags: lineartime sorting searching
490
views
0
votes
0
answers
Find Taxicab Numbers
  • Created: 1 year ago
  • Tags: general
534
views
0
votes
0
answers
How many comparisons are required to find the maximum element in an integer array?
  • Created: 9 months ago
  • Tags: sorting numberofcomparisons noOfComparisons
2.84k
views
0
votes
1
answer
Divide the elements of an array into group of 3 or 7, instead of 5 in Deterministic Selection algorithm
  • Created: 2 years ago
  • Tags: timecomplexity deterministicselection sorting
577
views
0
votes
1
answer
Number of comparisons to search an element in a bitonic array
  • Created: 2 years ago
  • Tags: searching sortedarray array
1.03k
views
0
votes
1
answer
Number of comparisons in Nuts and bolts problem
  • Created: 2 years ago
  • Tags: sorting quicksort matching
1.27k
views
0
votes
1
answer
Remove duplicates in a sorted integer array
  • Created: 2 years ago
  • Tags: sortedarray array searching
763
views
5
votes
1
answer
780
views
0
votes
1
answer
618
views
0
votes
1
answer
Stack depth of the modified Quicksort algorithm
  • Created: 2 years ago
  • Tags: recursion array sorting
672
views
0
votes
1
answer
Sort the characters of a String
  • Created: 1 year ago
  • Tags: sorting character string
593
views
0
votes
1
answer
Time complexity of a datastructure by number of operations
  • Created: 2 years ago
  • Tags: sortedarray array general
609
views
0
votes
1
answer
Order the sequence in an array
  • Created: 2 years ago
  • Tags: array sorting general
642
views
0
votes
1
answer
Search in partial sorted matrix
  • Created: 2 years ago
  • Tags: searching sorting matrix
642
views
0
votes
1
answer
Count number of occurence in a sorted array
  • Created: 2 years ago
  • Tags: sortedarray array searching
571
views
0
votes
1
answer
Search in a sorted array by value vs. index
  • Created: 2 years ago
  • Tags: sortedarray array searching
600
views
0
votes
1
answer
Find three elements from three sorted arrays
  • Created: 2 years ago
  • Tags: sortedarray array searching
638
views
0
votes
0
answers
Sort and merge two large data streams
  • Created: 1 year ago
  • Tags: mergesort sorting bigdata
1.93k
views
0
votes
1
answer
Recursive version of Insertion Sort
  • Created: 2 years ago
  • Tags: basicsorting sorting recursion
1.03k
views
1
votes
1
answer
Linear time algorithm to sort an array of two distinct elements
  • Created: 2 years ago
  • Tags: lineartime sorting basicsorting
513
views
0
votes
1
answer
Searching for an element in a 2-d sorted array
  • Created: 2 years ago
  • Tags: sortedarray array searching
1.11k
views
0
votes
1
answer
Find smallest number greater than a given integer in an array
  • Created: 2 years ago
  • Tags: sortedarray array searching
2.31k
views
0
votes
1
answer
Search in a bitonic array
  • Created: 2 years ago
  • Tags: sortedarray array searching
984
views
0
votes
1
answer
Find intersection of two sorted integer arrays
  • Created: 2 years ago
  • Tags: sortedarray array searching
1.05k
views
0
votes
1
answer
Number of comparisons to find an element in a sorted array
  • Created: 2 years ago
  • Tags: sortedarray array searching
678
views
0
votes
1
answer
Sort 100 thousand integers (range given) in linear time
  • Created: 2 years ago
  • Tags: sorting lineartime bigdata
987
views
0
votes
1
answer
2.44k
views
0
votes
2
answers
Find two elements from an array whose sum equals a given element
  • Created: 2 years ago
  • Tags: timecomplexity linearithmictime array
2.13k
views
0
votes
1
answer
Find next higher key in Binary Search Tree with parent pointer given
  • Created: 1 year ago
  • Tags: node binarysearchtree binarytree
897
views
0
votes
1
answer
Find next higher key in Binary Search Tree when the parent pointer is not given
  • Created: 1 year ago
  • Tags: node binarysearchtree binarytree
577
views
0
votes
1
answer
Number of comparisons to search an element in a bitonic array
  • Created: 2 years ago
  • Tags: searching sortedarray array
1.27k
views
0
votes
1
answer
Remove duplicates in a sorted integer array
  • Created: 2 years ago
  • Tags: sortedarray array searching
1.22k
views
0
votes
1
answer
Remove duplicates in an integer array using additional data structure
  • Created: 2 years ago
  • Tags: timecomplexity array searching
763
views
5
votes
1
answer
593
views
0
votes
1
answer
Time complexity of a datastructure by number of operations
  • Created: 2 years ago
  • Tags: sortedarray array general
744
views
0
votes
1
answer
Maximum Sum subarray
  • Created: 2 years ago
  • Tags: subarray array searching
539
views
0
votes
1
answer
Find element occurring k2 times in an array sized (n x k1)+k2
  • Created: 2 years ago
  • Tags: timecomplexity lineartime array
690
views
0
votes
1
answer
Find k normalizing the elements greater than k in an array
  • Created: 2 years ago
  • Tags: timecomplexity array searching
1.45k
views
0
votes
1
answer
Find heavy integers
  • Created: 2 years ago
  • Tags: heavyinteger searching
723
views
0
votes
1
answer
Find the smallest element not in an array
  • Created: 2 years ago
  • Tags: array searching
1.01k
views
0
votes
1
answer
Check if a given number is the sum of two numbers from two arrays
  • Created: 2 years ago
  • Tags: array searching matching
1.38k
views
0
votes
1
answer
Find highest and lowest element in an array with minimum comparisons
  • Created: 2 years ago
  • Tags: array searching noOfComparisons
642
views
0
votes
1
answer
Search in partial sorted matrix
  • Created: 2 years ago
  • Tags: searching sorting matrix
1.86k
views
0
votes
1
answer
Find 2nd largest number in an array with minimum comparisons
  • Created: 2 years ago
  • Tags: array searching noOfComparisons
743
views
0
votes
1
answer
Search smallest number in a binary matrix
  • Created: 2 years ago
  • Tags: binary searching matrix
2.12k
views
0
votes
1
answer
Check if two arrays are permutation of each other
  • Created: 2 years ago
  • Tags: array searching permutation
805
views
0
votes
1
answer
Search the next highest number with same set of digits
  • Created: 2 years ago
  • Tags: searching
1.6k
views
0
votes
1
answer
Remove duplicates in an integer array
  • Created: 2 years ago
  • Tags: array searching remove
642
views
0
votes
1
answer
Count number of occurence in a sorted array
  • Created: 2 years ago
  • Tags: sortedarray array searching
571
views
0
votes
1
answer
Search in a sorted array by value vs. index
  • Created: 2 years ago
  • Tags: sortedarray array searching
600
views
0
votes
1
answer
Find three elements from three sorted arrays
  • Created: 2 years ago
  • Tags: sortedarray array searching
513
views
0
votes
1
answer
Searching for an element in a 2-d sorted array
  • Created: 2 years ago
  • Tags: sortedarray array searching
538
views
1
votes
1
answer
Remove duplicate characters in a string
  • Created: 10 months ago
  • Tags: duplicate character string
672
views
0
votes
1
answer
Sort the characters of a String
  • Created: 1 year ago
  • Tags: sorting character string
678
views
0
votes
1
answer
Find duplicates in a String
  • Created: 1 year ago
  • Tags: duplicate character string
665
views
0
votes
1
answer
Print permutation of a string
  • Created: 1 year ago
  • Tags: recursion character string
555
views
0
votes
0
answers
Print the order of letters in sorting a list of sorted words
  • Created: 1 year ago
  • Tags: soting string
1.62k
views
0
votes
1
answer
Huffman coding problem
  • Created: 1 year ago
  • Tags: array huffmancoding string
1.45k
views
0
votes
1
answer
Check whether one string is a rotation of another
  • Created: 1 year ago
  • Tags: rotation character string
498
views
0
votes
1
answer
Check whether string is palindrome or not
  • Created: 1 year ago
  • Tags: palindrome character string
1.03k
views
0
votes
1
answer
Check whether two strings are anagram
  • Created: 1 year ago
  • Tags: anagram character string
769
views
0
votes
1
answer
Reverse words in a sentence
  • Created: 1 year ago
  • Tags: character string reverse
439
views
0
votes
1
answer
Reverse a string in place
  • Created: 1 year ago
  • Tags: character string reverse
856
views
0
votes
1
answer
First non-repeating character in a string
  • Created: 1 year ago
  • Tags: character string
2.13k
views
0
votes
1
answer
Find next higher key in Binary Search Tree with parent pointer given
  • Created: 1 year ago
  • Tags: node binarysearchtree binarytree
897
views
0
votes
1
answer
Find next higher key in Binary Search Tree when the parent pointer is not given
  • Created: 1 year ago
  • Tags: node binarysearchtree binarytree
1.54k
views
0
votes
1
answer
Print Binary Tree level by level with new line
  • Created: 1 year ago
  • Tags: node queue root
1.14k
views
0
votes
1
answer
Print Binary Tree level by level
  • Created: 1 year ago
  • Tags: node queue root
657
views
0
votes
1
answer
Unique binary search tree from n distinct nodes
  • Created: 1 year ago
  • Tags: node noofedges binarysearchtree
4.18k
views
1
votes
1
answer
Check binary tree balanced or not
  • Created: 1 year ago
  • Tags: balancedtree binarytree
888
views
0
votes
1
answer
Sorted array to BST
  • Created: 1 year ago
  • Tags: sortedarray array binarysearchtree
1.9k
views
0
votes
1
answer
Count smaller elements on right side in an array
  • Created: 1 year ago
  • Tags: array binarysearchtree binarytree
984
views
0
votes
1
answer
Find Lowest Common Ancestor in a binary tree
  • Created: 1 year ago
  • Tags: node binarytree
1.01k
views
0
votes
1
answer
Inorder traversal of BST without extra space
  • Created: 1 year ago
  • Tags: binarysearchtree binarytree inordertraversal
613
views
0
votes
1
answer
Compute height of a tree at root
  • Created: 1 year ago
  • Tags: node root binarytree
601
views
0
votes
1
answer
Check if a pair of vertices have common neighbor
  • Created: 1 year ago
  • Tags: node binarytree
1.11k
views
0
votes
1
answer
Check whether a binary tree is a binary search tree
  • Created: 1 year ago
  • Tags: node binarysearchtree pointer
1.02k
views
0
votes
1
answer
In-order traversal : Binary search tree vs. Heap
  • Created: 1 year ago
  • Tags: binarysearchtree heap inordertraversal
755
views
0
votes
1
answer
Difference between binary search tree and heap
  • Created: 1 year ago
  • Tags: binarysearchtree tree heap
982
views
0
votes
1
answer
Check whether an arithmetic expression has balanced parentheses
  • Created: 1 year ago
  • Tags: stack stackqueuelinkedlist
1.54k
views
0
votes
1
answer
Print Binary Tree level by level with new line
  • Created: 1 year ago
  • Tags: node queue root
1.14k
views
0
votes
1
answer
Print Binary Tree level by level
  • Created: 1 year ago
  • Tags: node queue root
780
views
0
votes
1
answer
618
views
0
votes
1
answer
Stack depth of the modified Quicksort algorithm
  • Created: 2 years ago
  • Tags: recursion array sorting
1.64k
views
0
votes
1
answer
Merge sort on LinkedList
  • Created: 2 years ago
  • Tags: mergesort array sorting
502
views
0
votes
1
answer
Doubly Linked list to a Singly Linked list
  • Created: 1 year ago
  • Tags: timecomplexity doublylinkedlist stackqueuelinkedlist
1.08k
views
0
votes
1
answer
Delete a node in a singly Linked List having access to that node
  • Created: 1 year ago
  • Tags: node singlylinkedlist linkedlist
727
views
0
votes
1
answer
Find 'n' th last element in a singly Linked list
  • Created: 1 year ago
  • Tags: node linkedlist stackqueuelinkedlist
685
views
0
votes
1
answer
Stack using queue
  • Created: 1 year ago
  • Tags: queue stack stackqueuelinkedlist
981
views
0
votes
1
answer
Queue using stack
  • Created: 1 year ago
  • Tags: queue stack stackqueuelinkedlist
1.38k
views
0
votes
1
answer
Reverse a doubly Linked List
  • Created: 1 year ago
  • Tags: node doublylinkedlist linkedlist
715
views
0
votes
1
answer
Reverse a Linked List with recursion
  • Created: 1 year ago
  • Tags: node recursion reverse
1.33k
views
0
votes
1
answer
Remove duplicates in an unsorted Linked List
  • Created: 1 year ago
  • Tags: node stackqueuelinkedlist linkedlist
594
views
0
votes
1
answer
Create a Linked List
  • Created: 1 year ago
  • Tags: node linkedlist stackqueuelinkedlist
709
views
0
votes
1
answer
Detect a loop in a Linked List
  • Created: 1 year ago
  • Tags: node stackqueuelinkedlist linkedlist
531
views
0
votes
1
answer
Delete last link of a Linked List
  • Created: 1 year ago
  • Tags: node linkedlist stackqueuelinkedlist
1.67k
views
0
votes
1
answer
Delete a node in a Singly Linked List
  • Created: 1 year ago
  • Tags: node singlylinkedlist linkedlist
686
views
0
votes
1
answer
Check whether a number is Ugly Number or not
  • Created: 1 year ago
  • Tags: uglynumber dynamicprogramming
1.15k
views
0
votes
1
answer
Find nth Ugly Number
  • Created: 1 year ago
  • Tags: uglynumber dynamicprogramming
3.76k
views
0
votes
1
answer
Find maximum sum subarray (non-contiguous)
  • Created: 1 year ago
  • Tags: subarray array dynamicprogramming
605
views
0
votes
1
answer
Find maximum sum subarray
  • Created: 1 year ago
  • Tags: subarray array dynamicprogramming
634
views
0
votes
1
answer
Compute binomial coefficient
  • Created: 1 year ago
  • Tags: recursion binomial dynamicprogramming