Skip to content

Instantly share code, notes, and snippets.

View ulugbekrozimboyev's full-sized avatar
🎯
Focusing

Ulug'bek Ro'zimboyev ulugbekrozimboyev

🎯
Focusing
View GitHub Profile
public class JODConverter {
private static volatile OfficeManager officeManager;
private static volatile OfficeDocumentConverter converter;
public static void startOfficeManager(){
try {
officeManager = new DefaultOfficeManagerConfiguration()
.setOfficeHome(new File('libre office home path'))
package main
import "fmt"
import "math/rand"
func partition ( a * []int,start ,end int) int {
A := *a
i := start + 1;
piv := A[start] ; //make the first element as pivot element.
for j :=start + 1; j <= end ; j++ {
/*rearrange the array by putting elements which are less than pivot
package main
import "fmt"
var (
n,m int
arr [][]int
)
func calculateArea(arr *[][]int, x,y int, clear bool) int {
area := 1;