| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/githubfordipesh/javaprogram/master/SortColors.java | [Back] [Original] |
package com.sanket.Array;
/*
Problem Link - https://leetcode.com/problems/sort-colors/
Status - Accepted
*/
public class SortColors {
public void sortColors(int[] nums) {
int size = nums.length;
int low = 0, high = size - 1;
int i = low;
while (i
| Web Proxy Viewer | New URL | Original Page |