Skip to content

imakshat47/Code-in-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code-in-Java

A java based competitive programming codes repo

Folders

Miscellaneous

  1. Asked in Google, Amazon Interview:

Find the sorted triplet in an array

  • SortedTripletNaive O(n2)

  • SortedTriplet O(n) Using Extra Space

  • [] SortedTriplets (using Triple class) O(n) Using Extra Space

  • [] SortedTriplets (using ArrayList) O(n) Using Extra Space

  • IndexEqualSumNaive O(n2)

  • IndexEqualSum O(n)

About

A java based competitive programming codes repo

Topics

Resources

License

Stars

Watchers

Forks

Languages