Write some Software

Using Clojure programming language write:[url removed, login to view]

Counting and combining:

Write a Clojure program to count and combine sequences. For example

let v = [:a :a :a :b :b :c :c :c].

Write a function that finds the first sequence, so given v it outputs [(:a :a :a) (:b :b :c :c :c :c)]. (possibly using split-with)

Write a second function that uses the first function to break up the sequence into contiguous parts. On input of v it outputs [(:a :a :a) (:b :b) (:c :c :c :c)]. (possibly using iterate)

Write a third function to count each sequence. It uses the map function on the result of the second function so that on input of v, for example, it outputs ([:a 3] [:b 2] [:c 4]).

End result:

(program1 [:a :a :a :b :b :c :c :c])

->([:a 3] [:b 2] [:c 3])

Beceriler: Mühendislik, Java

Daha fazlasını gör: programming clojure, clojure programming language, clojure programming, write some software java, online reservation system using front end, using jsf end, using sharepoint end access front end, using front end backend, java function language, using sharepoint end access database, combine java, using sharepoint end database, parts software, map count, snake game coding using front end access end, erp using sql end visual basic front end, salary structure using front end, database application netbeans using front end java

İşveren Hakkında:
( 1 değerlendirme ) Westwood, United States

Proje NO: #6493188



Hi there, I have been working in Java since last 6 years and during my professional career I have done so many projects in Java. and Now I came up with new language that is Groovy extended version of Java. If you Daha Fazla

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(2 Değerlendirme)

Bu iş için 2 freelancer ortalamada $30 teklif veriyor


A proposal has not yet been provided

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)